使用手机挖矿之SugarChain

2个月前 865次点击 来自 其他

标签: Termux

换清华源

sed -i 's@^\(deb.*stable main\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main@' $PREFIX/etc/apt/sources.list

sed -i 's@^\(deb.*games stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/game-packages-24 games stable@' $PREFIX/etc/apt/sources.list.d/game.list

sed -i 's@^\(deb.*science stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/science-packages-24 science stable@' $PREFIX/etc/apt/sources.list.d/science.list

apt update && apt upgrade

安装ubuntu

pkg install wget proot git python -y &&  git clone https://github.com/sqlsec/termux-install-linux --depth=1

cd termux-install-linux && python termux-linux-install.py

启动ubuntu

cd ~/Termux-Linux/Ubuntu && ./start-ubuntu.sh

安装sugarmaker

apt update && apt upgrade

apt install git wget unzip -y

apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev zlib1g-dev make g++

wget https://github.com/decryp2kanon/sugarmaker/releases/download/v2.5.0-sugar4/sugarmaker-v2.5.0-sugar4-aarch64.zip && unzip sugarmaker-v2.5.0-sugar4-aarch64.zip

使用默认配置运行挖矿

./sugarmaker-v2.5.0-sugar4-aarch64/sugarmaker -a YespowerSugar -o stratum+tcp://sugar.ss.dxpool.com:3366 -u sugar1qlmyffl9qjm740rdh5geadqt90st47ea3d7650p

设置挖矿线程数

./sugarmaker-v2.5.0-sugar4-aarch64/sugarmaker -a YespowerSugar -o stratum+tcp://sugar.ss.dxpool.com:3366 -u sugar1qlmyffl9qjm740rdh5geadqt90st47ea3d7650p -t6 -p x
Card image cap
开发者雷

尘世间一个小小的开发者,每天增加一些无聊的知识,就不会无聊了

要加油~~~

技术文档 >> 系列应用 >>
热推应用
Let'sLearnSwift
学习Swift的入门教程
PyPie
Python is as good as Pie
标签