sudo apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev git clone https://github.com/xmrig/xmrig.git cd xmrig && mkdir build && cd build cmake .. make
-DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a
Use static libuv version.
Create file /lib/systemd/system/xmrig.service
[Unit] Description=xmrig Daemon [Service] ExecStart=/path/to/your/xmrigDaemon StandardOutput=null [Install] WantedBy=multi-user.target Alias=xmrig.service
systemctl enable xmrig.service systemctl start xmrig.service
İlk Yorumu Siz Yapın