Install CPU Miner on Ubuntu and Mine FTC

# install dependencies
sudo apt-get install autoconf automake libcurl4-nss-dev gcc git

# download cpuminer
git clone

# cd to directory
cd cpuminer

# generate make files
./configure CFLAGS="-O3"

# install
sudo make install

# run on wemineftc mining pool
sudo minerd -o stratum+tcp:// -u [username].[worker] -p [worker password]

#cron script to keep you mining whenever your computer is on
sudo vi /usr/sbin/mine_cron
ps cax | grep -v grep | grep minerd > /dev/null
echo "${result}"
if [ "${result}" -eq "0" ] ; then
        echo "minderd is already running" #>>/home/work/cgcron
        sudo minerd -o stratum+tcp:// -u [username].[worker] -p [worker password]
sudo chmod a+x /usr/sbin/mine_cron

#run it however often you like
crontab -e
# m h  dom mon dow   command
  * *  *   *   *     /usr/sbin/mine_cron


  1. As always your articles do inspire me. Every single detail you have posted was great.
    web hosting in Nigeria

  2. This is exactly the information I'm looking for, I couldn't have asked for a simpler read with great tips like this... Thanks! responsive wordpress theme

  3. I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article..check out this