-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.sh
25 lines (25 loc) · 1019 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
sudo apt update -y
sudo apt-get install libcurl4-openssl-dev -y
sudo apt-get install libssl-dev -y
sudo apt-get install libjansson-dev -y
sudo apt-get install automake -y
sudo apt-get install autotools-dev -y
sudo apt-get install build-essential -y
sudo apt install nano -y
git clone --single-branch -b ARM https://github.com/monkins1010/ccminer.git
cd ccminer
chmod +x build.sh
chmod +x configure.sh
chmod +x autogen.sh
./build.sh
awk '{$5 = v} 1' v="stratum+tcp://verus.aninterestinghole.xyz:9998" ~/vccphone/ccminer/run > ~/vccphone/ccminer/run1
awk '{$7 = v} 1' v="RSQN6qrQ7ydaecxB4XLMurxBvRWP2k4bh9.test" ~/vccphone/ccminer/run1 > ~/vccphone/ccminer/run2
awk '{$11 = v} 1' v="8" ~/vccphone/ccminer/run2 > ~/vccphone/ccminer/run3
chmod +x ~/vccphone/ccminer/run3
ln -s ~/vccphone/ccminer/run3 ~/run
cd ~/vccphone/ccminer/
cd ~/vccphone/ccminer/
cd ~/vccphone/ccminer/
nano ~/vccphone/ccminer/run3
echo -E "Congrats, now run ./run3 to start mining. In the future, miner directory is: ~/vccphone/ccminer/ "