How to Mine Doge Coins on Digital Ocean VPS
| |Just trying to share something new and something hot but not related to how can we setup a VPS to host websites but for other purpose which in this case is how to use the VPS for mining cryptocurrency.
Been quite a hot trend recently, DOGE coin, a new cryptocurrency based on Shiba Inus aka Shibe, a popular meme character, it is now a thing. Some old cryptocurrency miners say Bitcoin is so 2013 while Dogecoin is so 2014. Can’t believe in? Try Googling “dogecoin” and you’ll see hundreds news, blogs and forums talking about it. Even someone who never know how it feels to mine Bitcoin, starts to mine Dogecoin using only a PC or Netbook.
Enough talking about what it is and how popular it is, you can simply ask Google for that or visit official Dogecoin website directly. In this page I’ll explain you how to setup your VPS to use its CPU power (computing power) to mine the new but so popular digital currency, Dogecoin.
For your information, not all VPS providers are allowing to use their service to mine cryptocurrency, so please read their ToS or ask their representatives directly. In this tutorial I’m using a cloud vps from Digital Ocean (droplet). Been read through their ToS and AUP there is no explicit statement whether they allow digital coin mining or not but (*) many people say they can use it to mine Dogecoin.
* per the time this article is posted.
A. Prerequisite
What you’ll need:
1. Dogecoin wallet
You can either use local wallet (grab it here) on Windows or Mac. Online wallet is also available too using either DogeVault.
2. Dogecoin address
You can view your Dogecoin address in your wallet at “Much Receive” section.
3. Choose a mIning pool
There are several (many) Doge mining pools you can choose. You can see complete list of it at here or here. Note: If you are using online wallet like DogeVault, do not use P2Pool, use MPOS instead.
Need recommendation? If you are a part-time miner or a newbie, use doge.net2pools.com because they charge only 1% fee with no minimum payout, their server is rocksolid and has great uptime. Also, Net2Pools’ Doge pool is a PPS model not PPLNS which is very suitable for newbie miner with small kHash/s (usually those who are mining with CPu not GPU). But however you can choose any mining pool you want.
4. Register at a pool
Picked a pool already? Then now register for an account there. In this example I use doge.netcodepool.org (PPLNS – official thread) as an example – I still prefer Net2Pools but I already have an account there.
Step 1 – Visit your favorite pool website and click on “Signup”.
or visit this page:
https://your.chosenpool.url/index.php?page=register
Step 2 – Now fill in all necessary fields in the signup form:
Once done, hit the “Register” button.
Step 3 – Next, login to your pool using username and password you’ve just created.
Once logged in, you’ll be in pool dashboard page (something like this):
Step 4 – First thing, you better enter your Dogecoin address before starting to mine it. Click on the “Edit Account” link under “My Account” menu section.
Step 5 – Now enter your Doge address in “Payment Address” field:
You may also have to re-enter the 4 digit PIN you chose when registering. Next simply hit the “Update Account” button.
Step 6 – Now lets create your first worker. Click on the “My Workers”.
Step 7 – Initially you’ll see an error message saying “You have no workers configured” but don’t worry that’s just fine. Now add one. Give your new worker a name and password. This is not an account password so I suggest you to use simple combination. In this example I use 1 as username and x as password.
Now just hit the “Add New Worker” button.
B. VPS Setup for Mining
1. Build a VPS box
This step can be so vary and depending on which provider you use but make sure to use Debian 7.0 x64 as the OS. In Digital Ocean, you can build a new droplet as following:
Step 1 – Sign up / Login to Digital Ocean member area. If you have no account yet, go ahead signup to DO via this link and use SSDCHP20 as coupon to get free $20 credit. That’s the best I can find. Expired? Check RetailMeNot for more coupons.
Step 2 – Now create a droplet.
Step 3 – In the next page, give your new droplet a hostname first. Example: host.servermom.org. Shortly saying, a hostname should be a sub-domain so put it like server.domain.tld or host.domain.tld or something your mind makes up.
Step 4 – Now move to “Select Size” section. In this part you can choose how powerful your droplet will be. Please refer to your available credit balance because the higher specs a droplet has it, the more expensive it is. But remember, the more CPU numbers you have the more powerful your virtual mining machine is. So, select the one you wish,
Step 5 – Next, select the datacenter location of where your droplet (vps) will be provisioned to.
Step 6 – Next, you have to select OS Image. Now click on the Debian logo to reveal available image versions.
Step 7 – Now select Debian 7.0 x64 OS.
Step 8 – You can simply leave the “Settings” section as it is. Finally click the “Create Droplet” button.
Wait till the droplet is created which is in no time..
Once done, you’ll be redirected to your droplet control panel:
Step 9 – Now check your mailbox to grab the root password so you can login via SSH.
2. Configuring VPS for Dogecoin Mining
So your VPS is built and now you are going to install CPU miner app on that VPS. Follow these steps:
Step 1 – Open your favorite SSH client. In Linux and Mac you can simply use Terminal and issue following command:
ssh root@123.123.123.123
While in Windows PC you can use Putty. Don’t know Putty and never used it before, read my previous guide on how to use Putty.
Step 2 – Now login to your server via SSH as root using given password in your email.
Step 3 – Next, issue these command syntax below one by one. Hit Enter per line:
sudo apt-get update sudo apt-get install yasm -y git make g++ build-essential libminiupnpc-dev sudo apt-get install -y libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix sudo apt-get install build-essential libcurl4-openssl-dev
Pic 1:
Pic 2:
Pic 3 (this a quite bit long, so wait for it):
Pic 4:
Step 4 – Now the vps is really ready to run the miner tool. Next, download the miner tool to your server. It is CPUMiner. In this example I use CPU Miner v2.3.2. The command is:
wget http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.3.2.tar.gz
pic:
Step 5 – Once the download process is done, now extract the package using this command:
tar xzf pooler-cpuminer-2.3.2.tar.gz
pic:
Step 6 – Now go to the CPU Miner directory using cd command:
cd cpuminer-2.3.2
Step 7 – Now issue this command to configure the tool before using it
./configure CFLAGS="-O3"
pic:
Step 8 – Finally, issue the make command to build it.
make
pic:
That’s it. So now you built your VPS and installed CPU Miner. What’s next?
3. The Dogecoin Mining Task
Step 1 – Go back to your browser and to the pool website. Find out a link to “Getting Started” section.
Step 2 – In that page, find out the Stratum URL and port.
p.s: If you can’t find that page and information, ask directly to the pool owner or you can find out in their official thread in most of cryptocurrency forum.
Step 3 – Finally, issue this command to run the CPU Miner:
./minerd --url=stratum+tcp://doge.poolurl.com:port --userpass=WebLogin.YourWorker:Password
Replace:
- doge.poolurl:port (ie: doge.netcodepool.org:4093)
- WebLogin : it is your username to login to pool
- YourWorker : It is your worker Name / ID
- Password: it is your worker password
Example of my command:
./minerd --url=stratum+tcp://doge.netcodepool.org:4093 --userpass=servermom.1:x
Step 4 – That’s it. Now your VPS starts to mine Dogecoin. You can also add –background/-B option in the command above so your CPU Miner can run in the background. Close putty and leave it mining Doge coins for you.
In the mean time, you can do anything else or view your Pool dashboard to see your mining statistic including your hash rates and the coins you’ve got.
The screenshot pic above only shows “thread 0” with about 2 – 3 khash/second because I picked a 512MB droplet with 1 CPU. Of course you can get more Kilo Hash power by choosing higher droplet specs. Digital Ocean provides up to 24 CPUs. Just click the arrow button in the “Select Size” section when creating your droplet.
To gain more hash rate, you can simply repeat steps above to create more mining machines (droplet). You can create 2 x 20 CPUs to gain about 500khash/s which is more Doges coming in your wallet.
Verdict
Using virtual private server is probably another method to build a mining rig. In this tutorial I explained step by step already. Please remember, discussing about “is it really profitable or not” is not the scope of this tutorial as for me, mining a cryptocurrency is fun whether it is profitable or not that depends on the time you are doing it. It is a currency after all that has dynamic exchange rates.
So, have some Doge coins already? Why don’t you try to send it to the address below. Considering a little donation for me 😉 even a couple of coins is fine.
## my doge wallet address is below ## DGKTWTcawbSrEHcKtTduV9CPybdbgyjHW6
Enjoy..
Hey i used your tutorial and in putty everything is allright i have 3kh/s, but on my pool site my workers dont mine they have 0kh/s. did i something wrong?
thanks for help 🙂
No you did not do something wrong 🙂
However the stats displayed in pool site is not actually updated. Try refreshing your Dashboard page in your pool when you see the “Yay!!” or “Boooo!” message in your server. 🙂
Here is an excellent Doge coin mining pool that pays in Euro.
They have contracts that can get you extra hash power which translates to daily income over a 6 / 12 / 18 /24 month period.
This will be a bad deal. You will be spending a lot more on your VPS compared to what you will earn in form of crypto currency. Infact, a $640/month VPS may not even get you $50 a month. Mining is more efficient on GPUs compared to CPUs. Better get a low end GPU at about $150 and mine forever instead of paying $640 every month for a 20 core VPS. A $150 GPU will mine at least 10 times faster than $640 VPS.
This post is not upto the standards of this website which I read regularly. Did not expect such a lame article.
That’s why I put the statement “discussing about –is it really profitable or not– is not the scope of this tutorial”.
Yes in any aspect mining with GPU is way more efficient. That remains me, I have something in mind to write in this blog about mining using cloud GPU (Amazon AWS) but again, the tutorial will not be discussing about profitability and I leave the math on you guys as reader. 🙂
But anyway, really appreciate your opinion and thanks for regularly reading this blog 🙂
I just like to mine bitcoins, this is perfect.
Your GPU will probably burn more in electricity than you’re making too. The true value is in the potential value of dogecoin. Her method is a sound means to start earning dogecoin without having to lay out a ton of money building an overclocked machine and amping up your electricity bill.
Good advice.
Thanks.
I don’t really want to bring the topic to “profit or not” subject.
However, with a bit
cheattrick, we can have more than what a $5 can get. Simply use coupon(s). Here’s one from their twitter: 2014SSDi use koding’s free plan and its quite good
Whenever I attempt to run it, I always get “stratum_subscribe timed out”
How can I fix this?
I am trying to install and got to the point to where I enter MAKE. I get an error:
-bash: commands: command not found
Is there an issue with the install or a way around this?
its make not MAKE
Hi, I keep getting “Unable to locate package libcur14-openssl-dev”, how do I solve this?
This works great Thank you so much!!!!
Quick question if I close the Putty screen, does that mean that it stops mining for doge’s? If not how can I log back on and see the screen where it shows the hash activity?
Thanks!!!!!
Hi,
This is really great tutorrial, didn’t have any problem at all.
I have only one question so can you tell me how to stop mining?
I want to stop this mining and want to try with different curency. I already started a new one, but my hashrate lowerd. 🙂
Thank you very much,
Ivan.
Simply shut down your droplet and/or reinstall your OS. That’s the easiest one 🙂
Ok, thank you very much.
I thought there is some command to stop the process. Maybe is better to wait until this expire and then create a new one. 🙂
Thank you very much once again,
Ivan.
This works great Thank you so much!!!!
Quick question if I close the Putty screen, does that mean that it stops mining for doge’s? If not how can I log back on and see the screen where it shows the hash activity?
Thanks!!!!!
I don’t use the putty, but think this is all the same so the answer is NO, it will not stop mining when you close the putty.
I guess I should’ve read the last couple posts. So closing Putty is fine, but what about Frank’s other question?
How can I log back on and see the screen where it shows the hash activity again?
Would I just have to follow all the same steps when opening Putty?
When I get to the ./configure CFLAGS=”-O3″ step
http://i61.tinypic.com/inbak5.jpg happens. What should I do?
Hi Jack,
You must install service : aptitude install libcurl4-gnutls-dev
UP please I have the same problem. I wil tip the person who find the solution of this problem 🙂
FINALLY! Someone with PERFECT descriptive instructions on how to set up a cloud miner!
One question. Sorry if this sounds dumb, but do I need to keep Putty running for my miner to work in the cloud?
Hi, Great tutorial and very easy to follow, thank you so much for making it. I just have a quick question, I am using a Mac so I used terminal to set up my mining. I accidentally quit terminal so now I cannot see my progress. I would like to get that to work again. If you could help me out in any way I would appreciate it.
Like I said the tutorial is great and working, but it doesn’t pay off to mine. It is easier and cheaper to buy bitcoins and then trade them for doge or some other currency.
This tutorial worked great. Thanks for publishing this.
This tutorial is excellent in allowing me to test the theory about mining DogeCoin with a VPS, however as you mentioned, it certainly isn’t profitable.
Well I think the authors forgot to tell something which the LTC might be changed the difficulty levels for every 2 days which every 2 days it might be increased and have tough to get the LTC and it might be not sufficient anymore if you’re mining using the GPU its better used ASIC miner its more worth.
why when i close putty my vps stop mining
thanks
Dear sawiyati, can you help me to setup and I will donate some coins to you once I mine some? I am not good with computers. Had problems with putty.
How do my vps working 24/7 after i close command log out SSH?
How do my vps miner 24/7 after i close command and logout SSH?
du use screen to get your minerd running 24×7 🙂
to install screen in cent use = yum install screen
and for Ubuntu/Debian =apt-get install screen
to use screen simply type screen and press enter and start your work 🙂
to resume type = screen -r
is the DO ban your account for doing this?