(MaxCoin) CPU Cloud Mining
Disclaimer: Please make sure that you create only one account at Digital Ocean. Multiple accounts violate their ToS! Furthermore, be gentle and DO NOT excessively use resources -- consuming excessive network capacity, CPU cycles, or disk IO could potentially violate the ToS and lead to account restriction or termination. Should you run into issues of this kind don't hesitate to contact DO's support team (staff is excellent!)0. Preparation:
- Windows: Download PuTTY (putty.exe) in order to be able to connect to your VPS via SSH.
- Mac/Linux Users: use Terminal
(!) Please note that this guide runs your mining droplet as root1. Sign Up for an SSD cloud server or log in if you already have an account.
2. Fund your account with some credit ($10+) to create your cloud mining instance(s).
3. Click 'Create Droplet' to get your instance running
4. Select the specifications you wish to mine on as well as the latest Ubuntu x64 image. I personally use 8 threads with the 8 Core plan. You can also consider creating several smaller ones, e.g. 4x 2 Core. Or just use one, decide as you wish. The more CPUs the more power you have.
5. Your username and password will be emailed to you within 55 seconds
6. Log in to your droplet via SSH
7. Change your root password.
passwd
8. Relocate into the home directory
cd ~
9. Create a swap file
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
10a. Install dependencies
sudo apt-get update
sudo apt-get install build-essential libcurl4-openssl-dev git zip
10b. Download the 1GH MaxCoin (SHA-3) minerd (+configure and compile)
git clone https://github.com/1gh/cpuminer
cd cpuminer
./configure CFLAGS="-O3"
make
strip minerd
Test whether your compiled minerd launches fine:
./minerd --help
It'll return all its command options.
10c. Now head over to a Pool and follow the instructions posted, for example:
./minerd -a keccak -o stratum+tcp://maxpool.1gh.com:17333 -u mRQmzB5nzqw4Lx1gvEF7uREBqPv5A6jBYJ -p x
[make sure to change this with your wallet address and pool details!]
---> Congratulations, your MAX mining operations started.Please note that it takes time until blocks are confirmed and coins payed out.
If you wish to run this process in the background so it doesn't close once you drop the SSH conncetion, go ahead and 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 -a keccak -o stratum+tcp://maxpool.1gh.com:17333 -u mRQmzB5nzqw4Lx1gvEF7uREBqPv5A6jBYJ -p x
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
All done, have fun!
POOLSHope you have a good one everybody, be well!