@@ -50,7 +50,40 @@ then you can mine mvc from nicehash.
5050 Default ports: 9882 9883
5151It is highly recommended that you use the default ports and make sure that the ports is accessible!
5252
53- ## 2.1 Automatic deployment
53+ ## 2.1 Node upgrade
54+ If you have deployed an earlier version of the node, you can upgrade as follows.
55+
56+ * Stop the node :
57+
58+ ```
59+ mvc-cli stop
60+ ```
61+ * Bakup old version of the binary file
62+
63+
64+ * Remove old version of the binary file
65+ ```
66+ cd /home/$USER/mvc
67+
68+ rm -rf bin
69+
70+ ```
71+ * Get the latest version of the binary file
72+
73+ [ v0.1.3.0] ( https://github.com/mvc-labs/mvc-mining-instruction/releases/download/v0.1.3.0/mvc.tar.gz )
74+
75+ * Unzip the node binary to user's directory
76+ ```
77+ tar zxvf mvc.tar.gz -C /home/$USER/mvc
78+ ```
79+
80+ * Restart the node
81+ ```
82+ /home/$USER/mvc/bin/mvcd -conf=/home/$USER/mvc/mvc.conf -data_dir=/home/$USER/node_data_dir
83+ ```
84+
85+
86+ ## 2.2 Automatic deployment
5487
5588This will automatically deploy the node and the mining program to your current path.
5689
@@ -65,7 +98,7 @@ sudo bash install.sh
6598if success, you will find 'cli' in your work path, in which you can run your node and start mining by run the corresponding script.
6699if it doesn't work, please try manual deployment.
67100
68- ## 2.2 Manual deployment
101+ ## 2.3 Manual deployment
69102### STEP 1:Install dependencies
70103```
71104sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
@@ -89,17 +122,26 @@ sudo apt-get install libczmq-dev
89122---
90123### node
91124
92- ` latest version ` : [ v0.1.2.0] ( https://github.com/mvc-labs/mvc-mining-instruction/releases/download/v0.1.2.0/mvc.tar.gz )
125+ ` latest version ` :
126+ [ v0.1.3.0] ( https://github.com/mvc-labs/mvc-mining-instruction/releases/download/v0.1.3.0/mvc.tar.gz )
127+
128+
129+ ` earlier version ` :
130+ [ v0.1.2.0] ( https://github.com/mvc-labs/mvc-mining-instruction/releases/download/v0.1.2.0/mvc.tar.gz )
131+
93132
94133---
95134### mining program
96135
97- [ cpuminer] ( https://github.com/mvc-labs/mvc-mining-instruction/releases/download/v0.1.2 .0/cpuminer.tar.gz )
136+ [ cpuminer] ( https://github.com/mvc-labs/mvc-mining-instruction/releases/download/v0.1.3 .0/cpuminer.tar.gz )
98137
99138---
100139
101140### configuration file
102- [ mvc.conf] ( https://github.com/mvc-labs/mvc-mining-instruction/releases/download/v0.1.2.0/mvc.conf )
141+
142+ [ mvc.conf] ( https://github.com/mvc-labs/mvc-mining-instruction/releases/download/v0.1.3.0/mvc.conf ) (for v0.1.3.0)
143+
144+ [ mvc.conf] ( https://github.com/mvc-labs/mvc-mining-instruction/releases/download/v0.1.2.0/mvc.conf ) (for v0.1.2.0)
103145
104146### STEP3: Deploy the node and mining program
1051473.1 Unzip the node binary to user's directory
0 commit comments