Skip to content

Instantly share code, notes, and snippets.

@gudata
Last active December 13, 2021 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment