温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

搭建Minerd挖矿程序

发布时间:2020-07-10 23:12:15 来源:网络 阅读:16934 作者:zhpfxl 栏目:安全技术

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

确保安装了: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挖矿程序

正常运行挖矿程序,需要有一个矿池,即挖矿服务器,在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:123456

注意:
账号需要以 username.001命名。

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

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

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI