全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 2102|回复: 7

香菇肥牛大佬的ETN挖矿脚本运行出错

[复制链接]
发表于 2018-3-12 16:40:17 | 显示全部楼层 |阅读模式
本帖最后由 东尼 于 2018-3-12 16:43 编辑

Centos下安装矿机:
sudo yum -y install centos-release-scl cmake3 hwloc-devel libmicrohttpd-devel openssl-devel
sudo yum -y install devtoolset-4-gcc*
sudo scl enable devtoolset-4 bash
yum -y remove cmake
wget https://cmake.org/files/v3.7/cmake-3.7.2.tar.gz
tar zxf cmake-3.7.2.tar.gz
cd cmake-3.7.2
./bootstrap
make && make install
export PATH=$PATH:/usr/local/bin/
git clone https://github.com/fireice-uk/xmr-stak-cpu xmr-stak
cd xmr-stak
cmake .
make install

当运行到这一步的时候:make && make install
出现以下错误:-bash: syntax error near unexpected token `;&'
如截图:


@shc 大佬 ,各位大佬这个怎么解决?
发表于 2018-3-12 16:45:05 | 显示全部楼层
make &&  make install
发表于 2018-3-12 16:44:21 来自手机 | 显示全部楼层
现在xmr能有多少收益?
发表于 2018-3-12 16:46:12 | 显示全部楼层
里面有空格 命令错了吧..
发表于 2018-3-12 16:52:56 | 显示全部楼层
make

make install
 楼主| 发表于 2018-3-12 16:54:53 | 显示全部楼层
kelvin225 发表于 2018-3-12 16:45
make &&  make install

谢谢大佬,命令可行
发表于 2018-3-12 16:57:18 | 显示全部楼层
本帖最后由 摸鱼小熊猫 于 2018-3-12 16:58 编辑

根据香菇肥牛大佬的教程定做的:http://www.hostloc.com/thread-426560-1-1.html
发表于 2018-3-14 20:47:29 来自手机 | 显示全部楼层
呵呵,开ssh,我上去编译
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-29 10:55 , Processed in 0.064083 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表