一、如何使用云服务器挖比特币
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.打开当前目录下默认的日志输出文件,可以看到挖矿信息
[2018-09-22 19:48:40] 1 miner threads started, using 'scrypt' algorithm. [2018-09-22 19:48:40] Starting Stratum on stratum+tcp://stratum.f2pool.com:3333 [2018-09-22 19:48:41] Stratum detected new block [2018-09-22 19:48:43] thread 0: 4096 hashes, 4.54 khash/s [2018-09-22 19:49:43] thread 0: 272252 hashes, 4.50 khash/s [2018-09-22 19:50:43] thread 0: 269832 hashes, 4.53 khash/s [2018-09-22 19:51:14] Stratum detected new block [2018-09-22 19:51:14] thread 0: 143652 hashes, 4.54 khash/s [2018-09-22 19:52:14] thread 0: 272548 hashes, 4.53 khash/s [2018-09-22 19:53:14] thread 0: 272080 hashes, 4.52 khash/s [2018-09-22 19:54:14] thread 0: 271452 hashes, 4.54 khash/s [2018-09-22 19:55:15] thread 0: 272340 hashes, 4.50 khash/s
微信扫码添加微信好友