-
Sign Up for an SSD cloud server or log in if you already have an account.
-
Click 'Create Droplet' to get your instance running
-
Select the specifications you wish to mine (16GB/8CPU) on as well as the latest Ubuntu x64 image (Ubuntu 13.10 x64).
-
Your username and password will be emailed to you within 55 seconds
-
Log in to your droplet via SSH
ssh [email protected]
- Change your root password.
passwd
- Relocate into the home directory
cd ~
- Create a swap file
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
- Install dependencies
sudo apt-get update
sudo apt-get install build-essential libcurl4-openssl-dev git zip
- Download CPUminer
curl http://downloads.sourceforge.net/project/cpuminer/pooler-cpuminer-2.3.2-linux-x86_64.tar.gz > cpuminer.tar.gz
tar xzvf cpuminer.tar.gz
Test whether your compiled minerd launches fine: Code:
./minerd --help
It'll return all its command options.
- Now head over to a Pool and follow the instructions posted, for example:
./minerd -o stratum+tcp://pool.miner.com:3333 --userpass=username.worker:password
If you wish to run this process in the background so it doesn't close once you drop the SSH connection, use screen. When a screen session is detached, the processes that were running inside it are not stopped.
Launch screen
screen
Hit space, then launch the miner; e.g.
./minerd -o stratum+tcp://pool.miner.com:3333 --userpass=username.worker:password
ctrl+d
detatches the current screen sessions and brings you back to the normal terminal,
you can re-attach your detached session by typing
screen -r
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libdb++-dev