Enable CPU mining for BFGminer

Update: cgminer no longer supports CPU mining, so I’ll do BFGminer instead

On Ubuntu 12.04

Install all necessary packages:

$ sudo apt-get install git build-essential libcurl4-openssl-dev libncurses5-dev yasm autoconf libtool libjansson-dev uthash-dev

Clone the repo:

$ git clone https://github.com/luke-jr/bfgminer.git

Run autogen:

$ cd bfgminer
$ ./autogen.sh

Run configure, with argument to enable CPU mining:

$ ./configure --enable-cpumining --enable-scrypt

Then make:

$ make

Run cgminer:

$ ./bfgminer -o http://pool:port -u username -p password

Install (optional):

$ sudo make install

After installation, you can run with:

$ bfgminer -o http://pool:port -u username -p password

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

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

Twitter picture

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

Facebook照片

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

Google+ photo

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

連結到 %s