猫池挖xmr

运行:

curl -s -L http://download.c3pool.com/xmrig_setup/raw/master/setup_c3pool_miner.sh | LC_ALL=en_US.UTF-8 bash -s 钱包地址

当安装完成后,输入 ls 查看
在目录下会有一个c3pool的文件,cd c3pool 然我们输入 tail -f xmrig.log 即可查看xmrig的运行状态。

查看运行状态:sudo journalctl -u c3pool_miner -f

停止或开始脚本命令:
停止命令:systemctl stop c3pool_miner.service
开始命令:systemctl start c3pool_miner.service
重启命令:systemctl restart c3pool_miner.service
完全卸载脚本命令:
curl -s -L http://download.c3pool.com/xmrig_setup/raw/master/uninstall_c3pool_miner.sh | bash -s

远程节点:
node.c3pool.com:18081
node.c3pool.cn:18081

 

步骤

mkdir -p /data/xmrig_c3pool && cd /data/xmrig_c3pool

curl -s -L http://download.c3pool.com/xmrig_setup/raw/master/setup_c3pool_miner.sh | LC_ALL=en_US.UTF-8 bash -s 4AmfcRRQM4nXBReoamzmEGF8B8N6PBHZj7MSrJD73p4VRxutBpDUeJ91MtPSBSSaBzZfm7PGtaBDfd4gxfUAjR288EZxcZk

# 控制

systemctl stop c3pool_miner

systemctl restart c3pool_miner

systemctl status c3pool_miner
可以看到,自动装了一个system service

查看Log 和 配置

journalctl -u c3pool_miner -f

vi /root/c3pool/config.json

限制CPU

# 限制单核75%

cpulimit -e xmrig -l 75 --background

# 如果是双核,每核限制75%,

cpulimit -e xmrig -l 150 -b

# 或者用 pid

cpulimit -p 9321 -l 150 -b

# 开机自动进行CPU限制10%

sed -i -e '$i \cpulimit -e xmrig -l 10 -b\n' /etc/rc.local

卸载

curl -s -L http://download.c3pool.com/xmrig_setup/raw/master/uninstall_c3pool_miner.sh | bash -s

curl -s -L http://download.c3pool.com/xmrig_setup/raw/master/uninstall_c3pool_miner.sh | bash -s

透过猫池官网可以输入钱包地址查看挖矿情况:GO

© 版权声明
THE END
請多多支持
点赞0
评论 抢沙发

    暂无评论内容