Junjun&3588 个人博客

-个人博客-
热爱技术,喜欢科技. Hello Coder!!
  1. 首页
  2. 技术点滴
  3. Linux
  4. 正文

VPS CPU挖矿 LTC

2016-08-08 606点热度 0人点赞 0条评论

任何Linux通用

 

install build-essential libcurl4-openssl-dev

install gcc make curl-devel

 

git clone https://github.com/pooler/cpuminer
cd cpuminer
./configure CFLAGS="-O3"
make

make install

-------- cpulimit

 

git clone https://github.com/opsengine/cpulimit
cd cpulimit

make
cp src/cpulimit /usr/bin

---- 脚本

 

 

vi k.sh

cpulimit -l 50 minerd --url=stratum+tcp://us.litecoinpool.org:3333 --userpass=cn3588.1:1 -t 1
~

 

注意尽量设置在-l 50-80之间,要不然vps供应商会察觉。我所有的无用VPS都设置在50,正常VPS设置在40,小流量网站的设置在20,企业网站VPS设置在10.

-t 1 , 根据CPU的个数来设定

 

 

标签: 暂无
最后更新:2016-08-08

admin3588

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理。

COPYRIGHT © 2022 Junjun&3588 个人博客. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang