红联Linux门户
Linux帮助

使用阿里云、腾讯云服务器挖比特币的方法(ubuntu)

发布时间:2017-06-02 10:32:27来源:linux网站作者:中原工学院_张华杰
如何使用云服务器挖比特币?
1.注册一个矿池账号,推荐https://www.f2pool.com/
2.通过ssh连接远程服务器
3.创建一个路径用来保存挖矿工具
4.使用weget命令下载挖矿工具
5.输入命令,账号密码以参数形式传入,开始挖矿
wget http://downloads.sourceforge.net/project/cpuminer/pooler-cpuminer-2.3.2-linux-x86.tar.gz
6.下载完成后解压
tar xzf pooler-cpuminer-2.3.2-linux-x86.tar.gz
7.nohup命令后台一直运行
nohup ./minerd -a scrypt -o stratum+tcp://stratum.f2pool.com:3333 --userpass=矿池账号:密码 &
8.打开当前目录下默认的日志输出文件,可以看到挖矿信息
[2017-06-01 18:37:37] thread 0: 260516 hashes, 4.39 khash/s
[2017-06-01 18:38:38] thread 0: 263180 hashes, 4.31 khash/s
[2017-06-01 18:39:38] thread 0: 258540 hashes, 4.32 khash/s
[2017-06-01 18:40:38] thread 0: 259468 hashes, 4.31 khash/s
[2017-06-01 18:41:39] thread 0: 258716 hashes, 4.27 khash/s
[2017-06-01 18:41:48] stratum_recv_line failed
[2017-06-01 18:41:48] Stratum connection interrupted
[2017-06-01 18:41:48] thread 0: 36928 hashes, 4.33 khash/s
[2017-06-01 18:41:48] Stratum detected new block
[2017-06-01 18:42:48] thread 0: 259920 hashes, 4.37 khash/s
[2017-06-01 18:43:48] thread 0: 262404 hashes, 4.34 khash/s
[2017-06-01 18:44:49] thread 0: 260260 hashes, 4.30 khash/s
[2017-06-01 18:45:48] thread 0: 258192 hashes, 4.35 khash/s
[2017-06-01 18:46:49] thread 0: 260880 hashes, 4.32 khash/s
[2017-06-01 18:47:48] thread 0: 259304 hashes, 4.39 khash/s
 
本文永久更新地址:http://www.linuxdiyf.com/linux/31215.html