Monero XMR mining via termux ;ubuntu
- 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
- 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 [email protected] -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
Def. Fixed it ,
Install all mentioned from apt (libs ,proot, wget, git)
While in build dir use rm * -r to clear the bad cmake/make
For arm a53 32 bit use 7 and for a55 and above use 8 as -DARM_TARGET= (as above)
https://gist.github.com/2niuhe/f9c0a1168ebc02bd0b89ffdb7ed21f6c?permalink_comment_id=4523874#gistcomment-4523874
How to fix dns error:
Navigate to chrome and type the following url:
chrome://net-internals#dns
Click on clear host cache , that fixed it for me I think (or the clean git clone / build)
Doesn't hurt reinstalling termux (btw works without ubuntu)
Cheer's:)