Linux serverNETWORK ADMINISTRATIONS

Monero XMR xmrig How to compile xmrig On CentOS 8 Advanced

Advanced build
Advanced build is almost equal to basic build, except we don’t need to install hwloc-devel and openssl-devel packages, we build our own static hwloc and openssl by using build_deps.sh instead of build.uv.sh to minimize binary dependencies.

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
dnf install -y epel-release
yum install libarchive
yum config-manager –set-enabled PowerTools
dnf install -y git make cmake gcc gcc-c++ libstdc++-static automake libtool autoconf
#download
#unzip
mkdir xmrig/build
#edit donate.h
cd xmrig/scripts && ./build_deps.sh && cd ../build
cmake .. -DXMRIG_DEPS=scripts/deps
make -j$(nproc)

==============================
Donations
XMR: 47RZyDevRzyG4Z79MMhyLv7Wk11zgiuWb9g5HrK3Sv4nae2hPzY3pYZhAj3hS8aNt82FncShAQZJQDPtVdapnbSk65MvFAL

source

centos 8

Leave a Reply

Your email address will not be published. Required fields are marked *