X Chen笔记---Centos安装cpuminer
2018-03-05 15:06
1556 查看
原文地址:https://rumorscity.com/2014/01/04/compile-and-install-cpuminer-on-linux-centos/
1.安装环境
yum install git automake gcc make curl-devel
2.从GITHUB克隆
git clone https://github.com/pooler/cpuminer
3.编译及安装
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
make install
检查是否安装成功,现在cpuminer应该安装在/usr/local/bin/ 目录下:
/usr/local/bin/minerd --version
结果应为:
cpuminer 2.3.2
libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
如果电脑是8线程的,那么输出结果应该像下面那样
[2013-12-18 13:01:24] thread 1: 363912 hashes, 6.07 khash/s
[2013-12-18 13:01:24] thread 6: 363612 hashes, 6.06 khash/s
[2013-12-18 13:01:24] thread 4: 363504 hashes, 6.06 khash/s
[2013-12-18 13:01:24] thread 7: 363432 hashes, 6.06 khash/s
[2013-12-18 13:01:24] thread 0: 365196 hashes, 6.09 khash/s
[2013-12-18 13:01:24] thread 2: 365580 hashes, 6.09 khash/s
[2013-12-18 13:01:24] thread 5: 364080 hashes, 6.06 khash/s
[2013-12-18 13:01:35] thread 3: 366072 hashes, 6.10 khash/s
[2013-12-18 12:34:03] accepted: 1/1 (100.00%), 48.55 khash/s (yay!!!)
1.安装环境
yum install git automake gcc make curl-devel
2.从GITHUB克隆
git clone https://github.com/pooler/cpuminer
3.编译及安装
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
make install
检查是否安装成功,现在cpuminer应该安装在/usr/local/bin/ 目录下:
/usr/local/bin/minerd --version
结果应为:
cpuminer 2.3.2
libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
启动cpuminer
./minerd –url=stratum+tcp://coinotron.com:3334 –userpass=username:password如果电脑是8线程的,那么输出结果应该像下面那样
[2013-12-18 13:01:24] thread 1: 363912 hashes, 6.07 khash/s
[2013-12-18 13:01:24] thread 6: 363612 hashes, 6.06 khash/s
[2013-12-18 13:01:24] thread 4: 363504 hashes, 6.06 khash/s
[2013-12-18 13:01:24] thread 7: 363432 hashes, 6.06 khash/s
[2013-12-18 13:01:24] thread 0: 365196 hashes, 6.09 khash/s
[2013-12-18 13:01:24] thread 2: 365580 hashes, 6.09 khash/s
[2013-12-18 13:01:24] thread 5: 364080 hashes, 6.06 khash/s
[2013-12-18 13:01:35] thread 3: 366072 hashes, 6.10 khash/s
[2013-12-18 12:34:03] accepted: 1/1 (100.00%), 48.55 khash/s (yay!!!)
相关文章推荐
- X Chen笔记---Centos安装使用xmr-stack-cpu教程
- X Chen笔记---Centos安装VNC远程桌面
- centos6.7x86_64nginx安装笔记 new
- CentOS 5.3 下源码编译安装Ipmsg 笔记
- centos7.2安装cobbler 并安装系统---学习笔记
- centos 7 min 编译安装php5.6+nginx1.7.5 笔记
- CentOS 7 下使用虚拟环境Virtualenv安装Tensorflow cpu版记录
- openvas在centos下用yum安装笔记
- centos 7 安装caffe(CPU版)
- CentOS 7运维管理笔记(11)----PHP安装与配置
- CentOS下 MySQL 5.5.13 CMake 安装笔记
- Redis 学习笔记1:CentOS 6.7下安装Redis
- CentOS(Linux) - SVN使用笔记(一) - 安装SVN过程及开启和关闭svn服务指令
- CentOS5下mysql源码安装方式——笔记
- CentOS 6.0 安装配置rails 2.3.11 + redmine 1.2.1 笔记[转]
- Centos 7 安装 nheqminer
- centos 6.5下编译安装、配置高性能服务器Nginx(安装笔记)
- wkhtmltopdf 安装使用笔记(CentOS6)
- centos7下安装tomcat8笔记(不适用于生产环境)