Buttfly Labs ASIC, CGMiner Ubuntu Install with BitMinter Pool Mining Example

# install dependencies
sudo apt-get install autoconf libtool libcurl4-openssl-dev libncurses5-dev pkg-config yasm make libusb-1.0 libudev-dev

# download cgminer tar.gz
# https://launchpad.net/ubuntu/+source/cgminer

# extract tar
tar -xf cgminer*

# cd to directory
cd cgminer*

# generate make files
./autogen.sh --enable-bflsc

# install
sudo make install

# run on bitminter mining pool
sudo cgminer -o http://mint.bitminter.com:8332 -u [username]_[worker] -p whatever

#cron script to keep you mining whenever your computer is on
sudo vi /usr/sbin/mine_cron
------------------------------------------------------
#!/bin/bash
ps cax | grep -v grep | grep cgminer > /dev/null
result=$?
echo "${result}"
if [ "${result}" -eq "0" ] ; then
        echo "cgminer is already running" #>>/home/work/cgcron
else
        sudo cgminer -o http://mint.bitminter.com:8332 -u [username]_[worker] -p whatever
fi
-------------------------------------------------------
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
--------------------------------------------------------


Oh hi, I wrote a simple script for the install here

3 comments:

  1. They would introduce a pool fenced in area to splendidly coordinate my pool. After the interview, they came seven days after the fact to introduce it.screened pool enclosures

    ReplyDelete