Mining crypto currency
Posted by Warith Al Maawali on Sep 1, 2013 in Blog | Comments Off on Setup your machine as a coin miner and generate virtual currency

They are many virtual currencies that can be mined using CPU or GPU. If you are having a server or a PC that you would utilities to generate passive income then here is a small guide that I have prepared to simplify it. I will show you how to set it up in different OS environments Linux (CentOS – Ubuntu) and Windows 7 which should be pretty much the same for the rest that are based on same technology. Our main focus will be mining litecoin as its the stable currency at the moment and worth the time if you only want to utilize your CPU resources it can be considered as silver where Bitcoin similar to gold has more value and cost you more resources to generate like GPU.
Ubuntu setup:
Update the node and install required dependencies:
apt-get update -y sudo apt-get install build-essential libcurl4-openssl-dev -y
Download the source code and compile it:
cd /root wget http://garr.dl.sourceforge.net/project/cpuminer/pooler-cpuminer-2.3.2.tar.gz tar xzf pooler-cpuminer-*.tar.gz cd cpuminer-* ./configure CFLAGS="-O3" make
Move mine script to root and delete the rest:
mv minerd .. cd .. rm -f -r cpuminer-* rm -f pooler-cpuminer-*.gz
There are two types of mining first one is solo in which you normally manage your own coins in a wallet that you create on your local machine then you set the node to mine to it. The second one is the pool type that I prefere where a group of people mine together and once the block is found everyone gets rewarded based on the number of shares they contributed:
Assuming you have signed with Ozcoin and you have created a worker called omdes.11 and your password is 3232 then you command to start mining should look like this:
./minerd --url http://newlc.ozco.in:80 --userpass omdes.11:3232 --threads 1
To make the miner quite and run on background use -q and -B parameters:
./minerd -B -q --url http://newlc.ozco.in:80 --userpass omdes.11:3232 --threads 1
A successful mining process should look like this:
Centos setup:
Update the node and install required dependencies:
cd /root yum update yum -y groupinstall "Development Tools" wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm rpm -Uvh epel-release-5*.rpm rpm -Uvh remi-release-5*.rpm yum -y install python-devel screen yum --enablerepo=remi install libcurl-devel -y
Download the source code and compile it:
cd /root wget http://garr.dl.sourceforge.net/project/cpuminer/pooler-cpuminer-2.3.2.tar.gz tar xzf pooler-cpuminer-*.tar.gz cd cpuminer-* ./configure CFLAGS="-O3" make make -j
Move mine script to root and delete the rest:
mv minerd .. cd .. rm -f -r cpuminer-* rm -f pooler-cpuminer-*.gz rm -f epel-release-5*.rpm rm -f remi-release-5*.rpm
There are two types of mining first one is solo in which you normally manage your own coins in a wallet that you create on your local machine then you set the node to mine to it. The second one is the pool type that I prefere where a group of people mine together and once the block is found everyone gets rewarded based on the number of shares they contributed:
Assuming you have signed with Ozcoin and you have created a worker called omdes.11 and your password is 3232 then you command to start mining should look like this:
./minerd --url http://newlc.ozco.in:80 --userpass omdes.11:3232 --threads 1
To make the miner quite and run on background use -q and -B parameters:
./minerd -B -q --url http://newlc.ozco.in:80 --userpass omdes.11:3232 --threads 1
A successful mining process should look like this:
Windows setup:
Download latest version ex:pooler-cpuminer-2.2.3-win32.zip from here
decompress the zip file
Open cmd
Enter the folder so for example if it is on your desktop command will be like this:
cd C:\Users\motco\Desktop\pooler-cpuminer-2.3.2-win64
Start the minig by typing the following command:
minerd.exe --url http://newlc.ozco.in:80 --userpass omdes.11:3232 --threads 1
A successful mining process should look like this:
Note:
Never put all or most of your crypto coins in one wallet here is a research done by me and my colleague Jafer Al Zidjali on Coinomi wallet.



Latest posts by Warith Al Maawali (see all)
- Apple iOS Mail Client leaking highly sensitive information - December 27, 2019
- Validating VPN nodes - November 3, 2019
- Migrating from php 5.6 to 7.3 - November 1, 2019
- Linux Kodachi 8.27 The Secure OS - October 20, 2013
- Migrating from Vbulletin to Burning board - March 27, 2016