Releases: btccom/btcagent
BTCAgent (single sub-account edition / 单子账户版) v1.0.0 for Ubuntu 16.04
安装方法 / Install:
# 切换到root用户。后续大部分操作都需要root权限。
# Switch to user root. Most of the following operations require root privileges.
sudo -i
wget https://github.com/btccom/btcagent/releases/download/su-v1.0.0/btcagent-single_user-1.0.0-Ubuntu_16.04.deb
dpkg -i btcagent-single_user-1.0.0-Ubuntu_16.04.deb
apt-get install -f
systemctl enable supervisor
服务会自动启动。
Service will auto starting.
使用前需要修改矿池地址和子账户名:
It is necessary to modify the pool address and sub-account name:
vim /etc/btcagent/agent_conf.json
例子 / Example:
["cn.ss.btc.com", 1800, "testpool"]
含义:
["挖矿地址", 端口, "子账户名"]
Meaning:
["stratum server address", port, "sub-account name"]
修改好后,重启服务生效:
Restart the service to make it effective:
supervisorctl restart btcagent
请不要在没有修改子账户名并重启btcagent之前连接矿机,否则你将为默认子账户“testpool”挖矿!
矿机的子账户名会被忽略,只使用代理内设置的子账户名。
Please do not connect miner before modifying subaccount name and restarting btcagent, otherwise you will mine for the default subaccount "testpool"!
The miner's sub-account name is ignored and only the sub-account name set in the agent is used.
现在,可以让矿机连接到 这台机器的IP:3333
进行挖矿了。
Now, the miner can be connected to this host's IP:3333
for mining.
更多操作 / More operation:
- 编辑配置文件 / Edit config file:
vim /etc/btcagent/agent_conf.json
- 启动 supervisor (BTCAgent的守护服务) / Start supervisor (daemon service of btcagent):
service start supervisor
- 重启BTCAgent / Restart btcagent:
supervisorctl restart btcagent
- 停止BTCAgent / Stop btcagent:
supervisorctl stop btcagent
- 显示服务状态 / Show service status:
supervisorctl status
- 显示日志 / Show logs:
tail -F /var/log/btcagent/*INFO
less /var/log/btcagent/*INFO
- 统计矿机连接数(估算值) / Count connections:
netstat -antp | grep btcagent | grep -v mu | wc -l
BTCAgent (multi sub-account edition / 多子账户版) v0.9.0-beta for Ubuntu 16.04
注意:多子账户版目前处于测试阶段,程序可能不稳定,并有可能导致算力波动或不能挖矿。我们欢迎您使用该版本进行测试,并给我们提供反馈(不仅是反馈问题,如果程序运行良好没有问题,也请告诉我们)。但在使用过程中请保持对机器算力及代理运行状态的关注,如果出现问题,请及时停用代理并向我们反馈问题。
Note: The multi-subaccount edition is currently in beta. The process may be unstable, and it may result in fluctuations in hashrate or inability to mine. We welcome you to use this edition for testing, and provide us with feedback (not only feedback issues. If the program is running well, please tell us too).
However, please pay attention to miners' hashrate and the agent's running status. If there is any problem, please disable the agent and report back to us.
反馈方法 / Feedback:
- 在此处提交 Issue / Submit issue on github:https://github.com/btccom/btcagent/issues (推荐 / Recommend)
- 发生邮件到 / Send email to:
[email protected]
- 加微信
SwimmingTiger
为好友 / FindSwimmingTiger
onTencent WeChat
安装方法 / Install:
# 切换到root用户。后续大部分操作都需要root权限。
# Switch to user root. Most of the following operations require root privileges.
sudo -i
wget https://github.com/btccom/btcagent/releases/download/mu-v0.9.0-beta/btcagent-multi_user-0.9.0-beta-Ubuntu_16.04.deb
dpkg -i btcagent-multi_user-0.9.0-beta-Ubuntu_16.04.deb
apt-get install -f
systemctl enable supervisor
服务会自动启动。
Service will auto starting.
使用前需要修改矿池地址:
You may want to modify the pool address:
vim /etc/btcagent-mu/agent_conf.json
例子 / Example:
["cn.ss.btc.com", 1800]
含义:
["挖矿地址", 端口]
Meaning:
["stratum server address", port]
修改好后,重启服务生效:
Restart the service to make it effective:
supervisorctl restart btcagent-mu
现在,可以让矿机连接到 这台机器的IP:3334
进行挖矿了。
Now, the miner can be connected to this host's IP:3334
for mining.
这个版本不需要在代理内设置子账户名,代理会自动采用矿机设置的子账户名。
This edition does not need to set a sub-account name in the agent_conf.json
. The agent will automatically use the sub-account name set by the miner.
更多操作 / More operation:
- 编辑配置文件 / Edit config file:
vim /etc/btcagent-mu/agent_conf.json
- 启动 supervisor (BTCAgent的守护服务) / Start supervisor (daemon service of btcagent):
service start supervisor
- 重启BTCAgent / Restart btcagent:
supervisorctl restart btcagent-mu
- 停止BTCAgent / Stop btcagent:
supervisorctl stop btcagent-mu
- 显示服务状态 / Show service status:
supervisorctl status
- 显示日志 / Show logs:
tail -F /var/log/btcagent-mu/*INFO
less /var/log/btcagent-mu/*INFO
- 统计矿机连接数(估算值) / Count connections:
netstat -antp | grep btcagent-mu | wc -l