现在我们就来给大家介绍一下怎样使用CPU的闲置算力挖掘ETN. 首先,我们需要申请一个钱包地址。进入ETN的官网electroneum.com即可注册本地钱包,登录后在右边能看到自己的钱包地址。
然后,我们需要安装矿机。
Ubuntu:
add-apt-repository ppa:ubuntu-toolchain-r/test
apt update
apt install gcc-5 g++-5 make
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5
curl -L http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xvzf - -C /tmp/
cd /tmp/cmake-3.4.1/ && ./configure && make && sudo make install && cd -
update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
apt install libmicrohttpd-dev libssl-dev libhwloc-dev
git clone https://github.com/fireice-uk/xmr-stak-cpu xmr-stak
cd xmr-stak
cmake .
make install
apt update
apt install gcc-5 g++-5 make
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5
curl -L http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xvzf - -C /tmp/
cd /tmp/cmake-3.4.1/ && ./configure && make && sudo make install && cd -
update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
apt install libmicrohttpd-dev libssl-dev libhwloc-dev
git clone https://github.com/fireice-uk/xmr-stak-cpu xmr-stak
cd xmr-stak
cmake .
make install
Debian:
echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list.d/unstable.list
apt-get update
apt-get install -t unstable gcc-5 g++-5 make
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1 --slave /usr/bin/g++ g++ /usr/bin/g++-5
curl -L http://www.cmake.org/files/v3.4/cmake-3.4.1.tar.gz | tar -xvzf - -C /tmp/
cd /tmp/cmake-3.4.1/ && ./configure && make && make install && cd -
update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
apt install libmicrohttpd-dev libssl-dev libhwloc-dev
git clone https://github.com/fireice-uk/xmr-stak-cpu xmr-stak
cd xmr-stak
cmake .
make install
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
安装好矿机后,我们编辑config.txt文件,填入刚刚注册的钱包地址,配置好使用的CPU核心,就可以开始挖矿啦。screen ./bin/xmr-stak-cpu
关于ETN矿池,Nanopool是目前最大的ETN矿池,地址是https://etn.nanopool.org, 也非常靠谱。
评论(1)
来看看,因为,总能学到东西!