Last active
January 11, 2018 16:16
-
-
Save Jacke/df2f03c57d22c12c70eef80294d1fc0d to your computer and use it in GitHub Desktop.
Miner station
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update | |
| sudo apt-get dist-upgrade | |
| sudo apt-get install gcc g++ build-essential libssl-dev automake linux-headers-$(uname -r) git gawk libcurl4-openssl-dev libjansson-dev xorg libc++-dev libgmp-dev python-dev | |
| # wait | |
| wget http://us.download.nvidia.com/XFree86/Linux-x86_64/387.34/NVIDIA-Linux-x86_64-387.34.run | |
| sudo chmod +x NVIDIA-Linux-x86_64-387.34.run | |
| sudo ./NVIDIA-Linux-x86_64-387.34.run --no-install-compat32-libs | |
| # accept | |
| wget http://developer2.download.nvidia.com/compute/cuda/9.0/secure/Prod/local_installers/cuda_9.0.176_384.81_linux.run?bDLKU3ajChJIRWyhsgULZ5hMlO5L2D1KAAXmlrxHQrdAdicUFDSnuyw1bGMZruRzs4hWf5kkOMtSoEZNz46kzx4OeQcSD8OD55AeBOAR5sHGuOGkel3x5zbUWp5rW6lIfU71yDcJA7RS92A4f0BOIGPF_e1Xp-a99JqOoLfKk7wuIJJB6mg0ccVk | |
| sudo dpkg -i cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb | |
| sudo apt-get update | |
| sudo apt-get install cuda-toolkit-8-0 | |
| sudo apt-get install cuda-8-0 cuda-core-8-0 | |
| sudo usermod -a -G video $USER | |
| echo "" >> ~/.bashrc | |
| echo "export PATH=/usr/local/cuda-8.0/bin:$PATH" >> ~/.bashrc | |
| echo "export LD_LIBRARY_PATH=/usr/local/cuda8.0/lib64:$LD_LIBRARY_PATH" >> ~/.bashrc | |
| # ?????/ OPTIONAL??????/ | |
| sudo apt-get install cuda-toolkit | |
| export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}} | |
| export LD_LIBRARY_PATH=/usr/local/cuda8.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} | |
| # reebot | |
| sudo reboot | |
| cd /usr/local/cuda/samples/1_Utilities/deviceQuery | |
| sudo make | |
| # eth | |
| wget https://github.com/ethereum-mining/ethminer/releases/download/v0.12.0.dev1/ethminer-0.12.0.dev1-Linux.tar.gz | |
| tar fx ethminer-0.12.0.dev1-Linux.tar.gz | |
| ./bin/ethminer -U -F http://eth.pool.minergate.com:55751/iamjacke@gmail.com | |
| # bitcoin miner | |
| cd /home/azureuser | |
| git clone https://github.com/tpruvot/ccminer.git | |
| cd ccminer | |
| ./autogen.sh | |
| ./configure | |
| make | |
| sudo make install | |
| ccminer -a scrypt -o stratum+tcp://ltc.pool.minergate.com:3336 -u iamjacke@gmail.com -p x | |
| git clone https://github.com/benedictthompson/Azure-Ethereum-mine | |
| cd Azure-Ethereum-mine/ | |
| chmod +x run.sh | |
| sudo ./run.sh |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git clone https://github.com/benedictthompson/Azure-Ethereum-mine
cd Azure-Ethereum-mine/
chmod +x run.sh
sudo ./run.sh
ethminer -G -F http://eth.pool.minergate.com:55751/YOUREMAIL --disable-submit-hashrate