mining_proxy其实也有linux版本

今天整了个烤猫38G的矿机,在windows电脑下测试,但是要路由器电脑太麻烦了。

机房有交换机服务器,干脆就用现存的。进过测试完全可行。

1.使用linux服务器运行mining_proxy

这个稍微安装的时候注意一下

  1. Download TGZ file from https://github.com/slush0/stratum-mining-proxy/tarball/master
  2. Unpack it by typing "tar xf slush0-stratum-mining_proxy*.tar.gz"
  3. Most likely you already have Python installed on your system. Otherwise install it by "sudo apt-get install python-dev" (on Ubuntu and Debian). centos : yum install python-devel 看清楚了不是dev哦。
  4. Type "sudo python setup.py install" in the unpacked directory. 安装是可能提示错误,仔细查看一般是缺少依赖库文件,先安装一下即可。
  5. You can start the proxy by typing "./mining_proxy.py" in the terminal window. Using default settings, proxy connects to Slush's pool interface.
  6. If you want to connect to another pool or change other proxy settings, type "mining_proxy.py --help".
  7.  最后做个自启动脚本run.sh,内容如下:

mining_proxy.py -o stratum.f2pool.com -p 3333 -cu xxxx.1 -cp 123

好了,大功告成了。

题外话,为了安全起见,烤猫一般不适用公网IP,适用保留IP,这样管理不方便

可以使用nginx代理来实现,另外在加上密码访问就很安全了。

访问密码设置见:http://www.weste.net/2013/6-7/92025.html

nginx反向代理大家自己百度啦。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值