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
Next create a directory to run your miner from
$mkdir ~/xmrig-current
copy xmrig script from the build directory
$cp xmrig ~/xmrig-current/
make it executable
$chmod +x ~/xmrig-current/xmrig
create a config file
$cd ~/xmrig-current
$touch config.json
$nano config.json
go to this website and generate a config file:
https://xmrig.com/wizard
paste the resulting text into the config.json open in the text editor
hit cntrl-o cntrl-x to save and exit the nano text editor
reserve some huge pages
$sudo /sbin/sysctl -w vm.nr_hugepages=5000
run your miner
$./xmrig
./xmrig --donate-level 1 -o pool.hashvault.pro:443 -u fh2YtQ4SkyMYGcT9yvif9c3X1Sfuz6bxfire2WZvyPa7jg2yBG9E79PRRm2KvMChn7a9QECcXxcu7czkC7tevJf92z26p1hhh -p nyungnyung -k --tls
git clone https://github.com/xmrig/xmrig.git
cd xmrig && mkdir build && cd build
cmake ..
make
Next create a directory to run your miner from
$mkdir ~/xmrig-current
copy xmrig script from the build directory
$cp xmrig ~/xmrig-current/
make it executable
$chmod +x ~/xmrig-current/xmrig
create a config file
$cd ~/xmrig-current
$touch config.json
$nano config.json
go to this website and generate a config file:
https://xmrig.com/wizard
paste the resulting text into the config.json open in the text editor
hit cntrl-o cntrl-x to save and exit the nano text editor
reserve some huge pages
$sudo /sbin/sysctl -w vm.nr_hugepages=5000
run your miner
$./xmrig
./xmrig --donate-level 1 -o pool.hashvault.pro:443 -u fh2YtQ4SkyMYGcT9yvif9c3X1Sfuz6bxfire2WZvyPa7jg2yBG9E79PRRm2KvMChn7a9QECcXxcu7czkC7tevJf92z26p1hhh -p nyungnyung -k --tls
Tidak ada komentar:
Posting Komentar