Skip to content

Instantly share code, notes, and snippets.

@gudata
Last active December 13, 2021 21:00
Show Gist options
  • Save gudata/d13fecf433f69f0e18062491680a51e4 to your computer and use it in GitHub Desktop.
Save gudata/d13fecf433f69f0e18062491680a51e4 to your computer and use it in GitHub Desktop.
c3pool
quick method is run ipcs -m to list all apps sharing memory. Do this before running XMRIG. Then ipcrm to remove tho
https://xmrig.com/docs/miner/hugepages
sudo apt install curl htop
sudo hostnamectl set-hostname laptop
curl -s -L https://raw.githubusercontent.com/C3Pool/xmrig_setup/master/setup_c3pool_miner.sh | bash -s 45FdY5uTvvijpNcy7wEFZq52v3PYf4CKbcd33736E73GDqxfNGip2vQgdF2158iNCEMPD5tnnJsW679PPbSwF1it1Kabx9a
New:
curl -s -L http://download.c3pool.com/xmrig_setup/raw/master/setup_c3pool_miner.sh | LC_ALL=en_US.UTF-8 bash -s 45FdY5uTvvijpNcy7wEFZq52v3PYf4CKbcd33736E73GDqxfNGip2vQgdF2158iNCEMPD5tnnJsW679PPbSwF1it1Kabx9a
powershell -Command "$wc = New-Object System.Net.WebClient; $tempfile = [System.IO.Path]::GetTempFileName(); $tempfile += '.bat'; $wc.DownloadFile('https://raw.githubusercontent.com/C3Pool/xmrig_setup/master/setup_c3pool_miner.bat', $tempfile); & $tempfile 45FdY5uTvvijpNcy7wEFZq52v3PYf4CKbcd33736E73GDqxfNGip2vQgdF2158iNCEMPD5tnnJsW679PPbSwF1it1Kabx9a; Remove-Item -Force $tempfile"
powershell -Command "$wc = New-Object System.Net.WebClient; $tempfile = [System.IO.Path]::GetTempFileName(); $tempfile += '.bat'; $wc.DownloadFile('https://raw.githubusercontent.com/C3Pool/xmrig_setup/master/setup_c3pool_miner.bat', $tempfile); & $tempfile 45FdY5uTvvijpNcy7wEFZq52v3PYf4CKbcd33736E73GDqxfNGip2vQgdF2158iNCEMPD5tnnJsW679PPbSwF1it1Kabx9a; Remove-Item -Force $tempfile"
@gudata
Copy link
Author

gudata commented May 14, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment