<html>
<p><img src="https://steemitimages.com/0x0/https://steemit-production-imageproxy-upload.s3.amazonaws.com/DQmYfmMg8XFGj3NJnkVso47E9d8cUvFQsp5N1XcxzZD5VLn" width="256" height="256"/></p>
<h2>Step1 Install docker </h2>
<p>If you haven't installed docker, following insturctions on <a href="https://docs.docker.com/install/#supported-platforms">https://docs.docker.com/install/#supported-platforms</a>, please choose your operating system(windows,linux,macOS) to install. </p>
<h2>Step2 Open terminal, we call terminal 1, and use below docker command to download muse-source docker image: </h2>
<pre><code> docker pull museblockchaindocker/muse-source </code></pre>
<p><br></p>
<h2> Step3 Run container: </h2>
<pre><code> docker run --name muse-source -itd museblockchaindocker/muse-source </code></pre>
<p><br></p>
<h2> Step4 Enter container: </h2>
<pre><code>docker exec -it muse-source /bin/bash </code></pre>
<p><br></p>
<h2>Step5 Use the following command to start mused program: </h2>
<pre><code>./mused</code></pre>
<p><br></p>
<h2>Step6 Open another terminal, we call terminal 2, and use the following command to enter same container: </h2>
<pre><code>docker exec -it muse-source /bin/bash </code></pre>
<p><br></p>
<h2>Step7 Use the following command to start cli_wallet program: </h2>
<pre><code>./cli_wallet</code></pre>
<p><br></p>
<h2>Step8 Set wallet password: </h2>
<pre><code>set_password "pass…."</code></pre>
<p><br></p>
<h2> Step9 unlock wallet:</h2>
<pre><code>unlock "pass..." </code></pre>
<p><br></p>
<h2>Step10 import WIF private key and active private key If you don’t have WIF private key and active private key, Please go to <a href="https://wallet.museblockchain.com/">https://wallet.museblockchain.com/</a> apply. </h2>
<pre><code>import_key <WIF private key> </code></pre>
<pre><code>import_key <active private key></code></pre>
<p><br></p>
<h2> Step11 use list_my_accounts, see your account.</h2>
<pre><code> list_my_accounts </code></pre>
<h2>Done, muse cli_wallet is working now. You also can type <code>about</code> check muse-source version and type <code>info</code> check blockchain sync. </h2>
<h2>If you want to set up witness, you have to edit config.ini, following below steps:<br>
Step1 In terminal 2, press ctrl+c to exit cli_wallet program and close it. </h2>
<h2>Step2 Switch terminal 1, and press ctrl+c to exit mused program. </h2>
<h2>Step3 Use the following command</h2>
<pre><code> cd witness_node_data_dir</code></pre>
<p><br></p>
<h2>Step4 Use editor to set config.ini file(witness name and WIF private key) . </h2>
<pre><code>vim config.ini</code></pre>
<p> locate these lines:</p>
<pre><code># name of witness controlled by this node (e.g. initwitness ) </code></pre>
<pre><code># witness = </code></pre>
<pre><code># WIF PRIVATE KEY to be used by one or more witnesses or miners</code></pre>
<pre><code># private-key = </code></pre>
<p>edit and look like this:</p>
<pre><code># name of witness controlled by this node (e.g. initwitness )</code></pre>
<pre><code>witness = "initwitness"</code></pre>
<pre><code># WIF PRIVATE KEY to be used by one or more witnesses or miners</code></pre>
<pre><code>private-key = 5………</code></pre>
<p>Save and exit vim. </p>
<p><br></p>
<h2>Step5 Use the following command </h2>
<pre><code>cd ..</code></pre>
<p><br></p>
<h2> Step6 Use the following command to start mused program:</h2>
<pre><code> ./mused </code></pre>
<p><br></p>
<h2>Step7 Open another terminal, we call terminal 2, and use the following command to enter same container: </h2>
<pre><code>docker exec -it muse-source /bin/bash</code></pre>
<p><br></p>
<h2>Step8 Use the following command to start cli_wallet program:</h2>
<pre><code>./cli_wallet</code></pre>
<p><br></p>
<h2>Step9 unlock wallet: </h2>
<pre><code> unlock "pass..."</code></pre>
<p><br></p>
<h2>Step10 announce yourself as a witness, use <code>update_witness</code> command,the format look like this: </h2>
<pre><code>update_witness "yourwitnessname" "witness_url" "yor_witness_pub_key" {} true </code></pre>
<h2>Done, your witness is working now.</h2>
<h2>Vote for me!!</h2>
<h3>If this post helps you, please vote for my muse witness "wallet",<br>
you can vote on MUSE Blockchain website: https://wallet.museblockchain.com<br>
or you can vote in cli_wallet:</h3>
<h3><code>vote_for_witness YOURACCOUNT wallet true true</code> </h3>
<h3>Thank you. </h3>
</html>