Skip to content

Instantly share code, notes, and snippets.

@2niuhe
Last active March 30, 2024 12:45
Show Gist options
  • Star 58 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save 2niuhe/f9c0a1168ebc02bd0b89ffdb7ed21f6c to your computer and use it in GitHub Desktop.
Save 2niuhe/f9c0a1168ebc02bd0b89ffdb7ed21f6c to your computer and use it in GitHub Desktop.
install XMRig on termux

Monero XMR mining via termux ;ubuntu

  1. install ubuntu in termux command; (ubuntu is optional)
pkg install update && upgrade
apt install git
apt install wget
apt install proot
termux-setup-storage
git clone https://github.com/Neo-Oli/termux-ubuntu
cd termux-ubuntu
chmod +x ubuntu.sh
sh ubuntu.sh
./start-ubuntu.sh
  1. install xmrig cpu miner to ubuntu termux
apt update
apt upgrade
apt install git
apt install wget
apt install proot
apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev

git clone https://github.com/xmrig/xmrig
cd xmrig
mkdir build
cd bulid
cmake -DWITH_HWLOC=OFF ..
make

then you can creat a config.json file in /build dir ngayon copy nyo ang url galing sa minergate para maka pag mining kayo

./xmrig -a cryptonight -o stratum+tcp://xmr.pool.minergate.com:45700 -u magtangol2018@gmail.com -p x -3

or palitan nyo ng email nyo ang ginawa kung sample.. salamat wag kalimutang mag subscribe para ma update kayo sa mga bagong t

@Zipp10lite
Copy link

Screenshot_20230402-195601 How to fix this? Dns error?

Friend you have errors in config.json or cli , try retyping it correctly (without the -u argument in config file )

Cheer's 🍻

@eli32-vlc
Copy link

it just say killed

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