@@ -50,7 +50,40 @@ then you can mine mvc from nicehash.
50
50
Default ports: 9882 9883
51
51
It is highly recommended that you use the default ports and make sure that the ports is accessible!
52
52
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
54
87
55
88
This will automatically deploy the node and the mining program to your current path.
56
89
@@ -65,7 +98,7 @@ sudo bash install.sh
65
98
if success, you will find 'cli' in your work path, in which you can run your node and start mining by run the corresponding script.
66
99
if it doesn't work, please try manual deployment.
67
100
68
- ## 2.2 Manual deployment
101
+ ## 2.3 Manual deployment
69
102
### STEP 1:Install dependencies
70
103
```
71
104
sudo 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
89
122
---
90
123
### node
91
124
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
+
93
132
94
133
---
95
134
### mining program
96
135
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 )
98
137
99
138
---
100
139
101
140
### 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)
103
145
104
146
### STEP3: Deploy the node and mining program
105
147
3.1 Unzip the node binary to user's directory
0 commit comments