Update xmrig-installer.sh

This commit is contained in:
MooCat 2021-04-18 01:34:28 -04:00 committed by GitHub
parent 39318bb4c9
commit 209d5450cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,7 @@ apt upgrade -y ; apt dist-upgrade -y ;
echo "INSTALLING REQ'D PACKAGES"
# libssl-dev (REMOVED FOR HIVEOS ONLY)
apt install -y htop cpulimit git build-essential cmake libuv1-dev libhwloc-dev automake libtool autoconf ;
apt install -y htop cpulimit git build-essential cmake libuv1-dev libssl-dev libhwloc-dev automake libtool autoconf ;
echo "CREATING DIRECTORIES"
@ -26,16 +24,12 @@ cd xmrig
echo "CMAKE XMRIG"
# TLS OFF FOR HIVEOS ONLY
cmake ./ -DWITH_TLS=OFF
cmake ./
echo "MAKE XMRIG"
make
move xmrig-notls xmrig
chmod +x xmrig
echo "INSTALLING XMRIG SERVICE"