搭建Minerd挖矿程序

minerd是一个比特币挖矿程序,可以运行在服务器上并消耗CPU资源。
下载地址:
git clone https://github.com/pooler/cpuminer.git
具体的编译步骤请参考地址:
https://github.com/pooler/cpuminer c++

确保安装了:yum -y install libcurl-devel libcurl automake autoconf gcc gcc-c++
Linux系统minerd安装步骤:
Basic *nix build instructions:
./autogen.sh # only needed if building from git repo
./nomacro.pl # in case the assembler doesn't support macros
./configure CFLAGS="-O3" # Make sure -O3 is an O and not a zero!
make
make install
安装成功以后,将会在目录下生成可执行程序minerd,执行minerd -h,输出如下内容表示安装成功。
搭建Minerd挖矿程序git

正常运行挖矿程序,须要有一个矿池,即挖矿服务器,在BTCC、Antpool、F2pool上随意注册一个便可,(我的注册帐号是2522xx606@qq.com)设置矿工帐号名,注册成功以后便可使用它们提供的矿池来启动你的挖矿程序,中国的为:https://pool.btcchina.com/
目前的矿池地址以下:
国内挖矿地址:
stratum.btcchina.com:3333
stratum.btcc.com:25
stratum.btcc.com:3333
国外挖矿地址:
jp-stratum.btcc.com:3333
jp-stratum.btcc.com:443
jp-stratum.btcc.com:25
执行minerd程序命令:
minerd -o stratum+tcp://stratum.btcc.com:3333 --userpass=username.001:password
例如:
minerd -o stratum+tcp://stratum.btcc.com:3333 --userpass=testMiner.001:123456github

注意:
帐号须要以 username.001命名。服务器

运行成功如图所示
搭建Minerd挖矿程序curl

TOP命令查看如图所示
搭建Minerd挖矿程序tcp

相关文章
相关标签/搜索