By spigotmc.org
What is Windows Azure? It's a cloud computing platform by Microsoft where you can rent virtual machines to do your bidding. This costs money of course, but they offer a free trial! The offer is good for a $220 credit or 30 days, whichever runs out first.
Direct Source:
http://www.spigotmc.org/threads/how-to-get-6000-dogecoins-a-day-to-quench-your-thirsty-ness.9453/
Tutorial :
http://www.windowsazure.com/en-us/documentation/articles/virtual-machines-linux-tutorial/
WHAT YOU WILL NEED
1- A Dogecoin wallet to receive your DOGE.
2- An account on a Dogecoin mining pool.
3- Sign up for Windows Azure and get the free trial.
4- A valid credit card. We will use only the free trial, but the signup may require a credit card.
5- PuTTY : the SSH client that we will use to remotely control the Virtual Machine.
NB. This tutorial is mostly for Windows user. If you are a Mac user I can't help you with #2 above. You can probably find a solution with some googling though! Or maybe a pro shibe can help in the comments. If you are a Linux user you are already 1337 and you don't need my help.
SETTING UP YOUR WALLET AND JOINING A POOL
You have probably done this already. If not, there are many good tutorials for this. I recommend
SIGNING UP FOR AZURE AND CREATING YOUR VIRTUAL MACHINE
Go to http://www.windowsazure.com/en-us/ and click on the green "FREE TRIAL" button on the upper right, then in the next page click on the green "Try it now" button.
It will ask you to log in with your Microsoft account (formerly Live ID), or create one if you don't have one already. At some point it may ask you for a valid credit card. Though this is a free trial and it should not cost you anything, I don't want to be responsible for charges you might accidentally incur. If you don't have a credit card or don't want to risk it, don't! This is for fun, we don't want to end up with many sadness.
CREATE SERVER INSTANCES
****SERVER IMAGE choose Ubuntu Server 13.04 .
I would recommend you watch this video which walks you through the UI of the Windows Azure management site to set up the virtual machines we need. Essentially we are going to do the following:
Create 2 Windows Server 2008 R2 SP1 instances with 8 CPU core / 14 GB RAM option
Create 1 Windows Server 2008 R2 SP1 instance with 4 CPU core / 7 GB RAM option
Thus we have a total of 20 CPU cores to mine with. We want the the most CPU power we can get without excessively burning our $200 credit. That's why 2008 R2 is used, and only 3 instances of it.
GETTING PuTTY AND CONNECTING TO YOUR NEW VM
Go to http://www.chiark.gr...y/download.html and download the PuTTY client. Put the .exe on your desktop.
Start PuTTY by double-clicking the .exe (click yes if Windows gives you a security warning). It should look like this.
In the "Host Name" field, type the DNS address for your VM, the unique name you chose earlier, but with ".cloudapp.net" added to the end. For example: "UNIQUENAME.cloudapp.net". Leave the port at 22 and click the "Open" button at the bottom.
This will open a terminal window and connect to your VM. Click yes if a warning pops up.
The VM will now prompt you for your credentials before you can do anything on it. Your user name was "azureuser" by default. Type that in the window and press enter.
The password was the one you chose when you created the VM. Type it and press enter.
After a few seconds of looking like nothing is happening, text will appear and it will look like this. Congratulations, you logged into a remote virtual server through SSH.
DISCLAIMER: This does not in any way represent best practices for operating servers. This server is wide open to evil people, but this is only for digging Dogecoin, so there is no need for standard security measures like private keys.
The line of text "azureuser@UNIQUENAME:~$" followed by the green cursor means the terminal is ready for a command. We can now install the miner software.
REMOTELY INSTALLING MINER SOFTWARE ON YOUR VM
Before the mining software can run on your VM we need to install dependencies, download the miner source and compile it. This is easier than it sounds!
PROTIP: You can copy-paste the commands to avoid making typos. To do that, copy the command from your browser window like you would any text. To paste it in the terminal window you need to right-click right next to the green cursor while the terminal window is selected.
To install dependencies copy this command and press enter:
$ sudo apt-get install build-essential libcurl4-openssl-dev
After some text scrolling it will ask you to confirm. Type "y" and hit enter. Lots of text will scroll by as the VM installs what we need. After a couple of minutes "azureuser@UNIQUENAME:~$" will appear again, telling you that the VM is ready for the next command.
Next we need to download the cpuminer files. Run this command:
$ wget http://sourceforge.net/projects/cpuminer...3.2.tar.gz
Once the download is done (should be fast), we need to unzip the files.
$ tar xzf pooler-cpuminer-*.tar.gz
This should be instant. It will create a new folder with all the unzipped files. So far we have been executing all these commands in the azureuser home directory. Now we need to move down a level into the folder containing the unzipped files. To do that we will use the "cd" command (stands for Change Directory) by specifying the directory we want to move into:
$ cd cpuminer-*
This will also be instant. You might notice that "azureuser@UNIQUENAME:~$" changed to "azureuser@UNIQUENAME:~/cpuminer-2.3.2$". This shows which directory you are in currently.
Now that we are in the right folder we need to compile the cpuminer application. This is incredibly easy. Run the following commands one after the other, they should take a few seconds each:
$ ./configure CFLAGS="-O3"
$ make
Congratulations, you have compiled a thing! So Linux, Very tech, Wow!
**if you still have issues with $ ./configure CFLAGS="-O3", try running:
$ sudo apt-get update
and then again:
$ sudo apt-get install build-essential libcurl4-openssl-dev
and then
$ ./configure CFLAGS="-O3"
$ make
Now to check that everything worked as intended, we will attempt to run the new application. This following command will not start mining, it will simply ask the program to print its help topic. If you see the help text, it worked!
$ ./minerd --help
You should now see the help topic describing lots of options to start the miner. Now you are ready to start digging!
STARTING THE MINING SOFTWARE ON YOUR VM
To start the mining application, you need to execute a single command, but it has many important parts. Read about its different parts before executing it! Here is the command:
$ screen -S miner ./minerd -a scrypt -o stratum+tcp://POOLADDRESSORT -O POOLUSERNAME.POOLWORKERASSWORD
HOW TO CALL BACK THE SCREEN SESSION IF YOU CLOSED PuTTY
To call back the screen session if you closed PuTTY, reconnect to your VM the same way to did the first time. Give your credentials to log in and then run the command:
$ screen -d -r miner