This guide will show you step by step how to mine moneros on a free ubuntu server.


Step 1: Get yourself a Ubuntu 16.04 server here:

Watch the video below to find out how to set it up.

Step 2: Download Cyberduck

Step 3: Connect to the Ubuntu server through Cyberduck (username: ubuntu).

This video will help you to get started.

Step 4: When you are logged in to the server through cyberduck go to the top cyberduck menu. Click “Go” & “Open in Terminal”. Now it should open your terminal/command prompt and you should be something like: ubuntu@ec2-…#. Now type in:   sudo su   and hit enter.

Notice: Make sure that the .pem key file is on maximum security. Right click on the .pem file and check the information of the file – change the read/write rights so only you can read/write and everybody else has no rights to read/write etc. at all !

Step 5: Now you should be at root@ip-…: home/ubuntu#

Step 6: Type in the following line by line, press enter after each line and wait until you are at root@ip-…: home/ubuntu# again. At some point in the installation process you will be asked to type in for yes and hit enter.

sudo apt-get install git libcurl4-openssl-dev build-essential libjansson-dev autotools-dev automake 
git clone
apt-get update
apt-get install libcurl4-openssl-dev git
apt-get install  build-essential
apt-get install autotools-dev autoconf
apt-get install libcurl3 libcurl4-gnutls-dev
sudo apt-get update && wget -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb
cd cpuminer-multi 
CFLAGS="-march=native" ./configure 

Step 7: Register a free account here: Mining Pool (Needs a new account to work!)

Step 8: Once you have registered with the mining pool return to your server terminal again (root@ip-…:home/ubuntu/cpuminer-multi#) and use this line to start your monero mining. Remember to replace “YOUR MINING POOL EMAIL-ADDRESS” &”YOUR MINING POOL PASSWORD” with your mining pool email address or else it wont work. Once you have pressed enter you will seh the miner start to work. it will take some time before the hash rate raises. There is other free cloudserver offers on the web…

./minerd -a cryptonight -o stratum+tcp:// -u YOUR MINING POOL EMAIL-ADDRESS -p YOUR MINING POOL PASSWORD -t 4

If you want the miner to run 24/7 without your terminal/console being online use this code:

nohup ./minerd -a cryptonight -o stratum+tcp:// -u YOUR MINING POOL EMAIL-ADDRESS -p YOUR MINING POOL PASSWORD -t 4

Notice: It might take some time (up to 20 minutes) before the mining pool shows your hash rate & balance. Dont worry it will all be there.


Here are more free servers:


If you like this guide please share it with your crypto friends!

If you have problems please post them below or contact me on skype (joboffice247)


Andrew · December 19, 2017 at 10:08 am

Thank you for this wonderful, free guide. I’m studying it carefully


    monerominer · December 20, 2017 at 6:59 am

    ..your welcome. If you have any questions feel free to contact me on skype (joboffice247)

GrandNagusZek · December 21, 2017 at 6:41 am

Thank you for this guide, but how do I keep the mining programming running on the server without keeping the terminal open on my desktop?


    monerominer · December 21, 2017 at 4:02 pm

    ..try to put “nohup” in front of the line that starts the miner. it might not do anything after that in the terminal but if you check your mining pool stats it should still be running. if not contact me on skype (joboffice247)..

      GrandNagusZek · December 22, 2017 at 2:31 am

      Hello Monerominer, it looks like your suggestion has worked! Thank you very much!
      Though I would like to point out that you do not need to include the minergate password in the ./minerd command. When I included the password I would get an error and the program would not start, and when I remove the password I got no errors and the program started, and gets reported to minergate.


        monerominer · December 22, 2017 at 7:48 am

        ok…good to know. cheers and happy earning. have you seen the other free vps server? might wanna look at them too to increase your hashrate.

Christian · January 8, 2018 at 7:32 pm

Superb presentation, indeed.
Do you think you could make a similar presentation showing how to mine Moneros on a Alibabacloud server? I’ve tried to adopt your description above to this server, but I only got error messages. I have to admit that I have no experience using ubuntu/Linux servers at all.

Leave a Reply

Your email address will not be published. Required fields are marked *

Payout: 0.00004253 XMR Per 1M Hashes

Difficulty: 120.282G

Block Reward: 5.151 XMR