I searched and found like 5 ways to do. I found this way to be the easiest way.
Stratum version.
https://www.digitalocean.com/?refcode=a45b74f9d466Make an account with digitalocean.
Deposit at least $5 from paypal.
10$free promo- HOLIDAYSSD
=======================
Create new droplet
-Pick how many cpu you want
-Choose Ubuntu 13.04 x64
-Also pick a sever near to you.
=======================
Download putty.
Open putty.
Now check your email it will give you the info you need.
Under-Host Name (or IP address) type in the ip you was given in your email.
then click open.
=======================
Now log in with the name - Root
And your password was given to you in your email. ( Remember it does not show letters for password.)
Now you are ready to code it.
=======================
Put in these commands. 1by1.
sudo apt-get update (enter)
sudo apt-get install build-essential libcurl4-openssl-dev (enter)
wget
http://sourceforge.net/projects/cpuminer/files/pooler-cpuminer-2.3.2.tar.gz (enter)
tar -xzf pooler-cpuminer-2.3.2.tar.gz (enter)
cd cpuminer-2.3.2/ (enter)
./configure CFLAGS="-O3" (enter)
make (enter)
apt-get install screen (enter)
screen (enter)
./minerd --url stratum+tcp://server:port --userpass worker.name:password (enter)
(sometimes you have to input this in 2xs. idk why but sometimes i have to)
I hope this helps other new people into cloud mining.
I mined with this last night and i got 800khash 8cpu with p2pool but for some reason never was paid so i switched to a different pool. and was getting about 60khash/s
If this helped you in anyways.
I accept donations from anyone that wants to help me.(currently trying to buy a desktop)
BTC-182ynVmQSNYbbtGowb23PTqQ7yrfD5YcNC
Doge-DFZTssNc9N73h162KhczEqhcLQwcXMw3A8
IFC -i4zD3Uz1QfNNcBZCy3Y13r81X3Tyf51P7h
Understand i am not a programer in anyway. All i know i did this and i made coins. And wanted to share it.