The Ultimate Guide to Mining Maxcoin

Frustrated? 1Gh.com sorted it. They should send in a pull request instead of just having their forked version out there. But lets get you started!

For the impatient:

Sign up for a free microsoft azure trial account. These will of course run out, but if its profitable enough, you might want to keep them running, who knows? Or if you don’t want to sign up, you’ll be doing this on your own linux I would presume. Anyway. In the azure control panel:
Create new virtual machines x3,
all ubuntu 13,
2 with 8 cores, 1 with 4 four cores
Download Putty if you are in windows, or open your terminals up if you are Mac or Linux
In Azure, go into virtual machines and choose Endpoints. This is the firewall bit
Add new Endpoint, give it anything for a name, put port number 4000 in both the boxes, ignore tick boxes and finish adding
(Do this for the port number of each pool you sign up to, 4000 is the port for maxcoinpool.com, 17333 for max.1gh.com)
Find out the address of the vm something.cloudapp.net in the azure control panel summary
Open up Putty
Choose SSH and connect to your azure address with username ‘azureuser’, and the password you set
(Do this for each of the three virtual machines. You will have three prompts in front of you. Now the real fun begins (x3))

sudo apt-get install build-essential 
sudo apt-get install automake
sudo apt get install libcurl4-openssl-dev 
sudo apt-get install libjansson-dev 
sudo apt install git 
git clone https://github.com/1gh/cpuminer 
cd cpuminer 
cat README 

At this point the instructions for compiling the source code are displayed. Copy and paste (don’t type or copy from here(I think its a character ending issue on different os’es and machines)) the following lines:

./autogen.sh
./nomacro.pl 
./configure CFLAGS="-O3" 
make

Once you’ve done that, the source code is ready. Lets test we can mine. We assume btw you have a wallet address, if not, download one! The working wallet software has been released! But you can get started on the pool straight away.

Sign up for an account for maxcoinpool.com. Then add 3 workers, user1, user2, user3, all with password x.

Finally run this to test our mining capabilities in the pool!

./minerd -a keccak -o stratum+tcp://maxcoinpool.com:4000 -u maxpoinpoolusername.user1 -p x

Now if they are mining, which they will be if you followed this, then good. But if you close the putty session the mining will stop. So. Press Ctrl-C.

nohup ./minerd -a keccak -o stratum+tcp://maxcoinpool.com:4000 -u maxpoinpoolusername.user1 -p x &

Then press return when it looks like nothing is happening and you’ll see the command prompt again. It’s now running in the background.

Next time you log in through putty you change into the directory again

cd cpuminer

If you next log in and want to stop it, to say, switch pool, then you list processes and kill the miner process.

ps -ef | grep minerd

Take a note of the second number  in the line

kill [the number]

Now you can run ./minerd again with different credentials.
Thats you!
Have Fun!
See you on the moon!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s