thanks for : original sourced by : Christian Buchner ( Christian.Buchner@gmail.com ) Christian H. ( Chris84 ) Tanguy Pruvot ( tpruvot@github ) Darktron [ github for ccminer verus ] Oink70 Android-mining github
You need to install armbian first :
bullseye current
Jammy current
Book woorm
Or Download From Ophub Release HEre :
DOWNLOAD
Flash image using Rufus or Balena Etcher :
Place the sd card into Tv box, boot it and connect LAN Cable then run the following commands
apt-get update
apt-get install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential
apt-get install git
apt install libomp5
git clone https://github.com/zikyu7/STBminev/
mv STBminev ccminer
cd ccminer
chmod +x ccminer start.sh
bash openssl.sh
nano config.json
bash start.sh
use this option
( first stop ccminer : ctrl + C on keyboard )
[ OPTION 1 ] CRONTAB [ RECOMENDED ]
type :
cd ..
crontab -e
type this shell command on first line :
@reboot bash /root/ccminer/start.sh >> /root/ccminer/miner.log 2>&1
screen will not show mining progress but you can see log by type :
cat /root/ccminer/miner.log
just repeat if you want to see more
[ OPTION 2 ] RC.LOCAL
type :
cd ..
nano /etc/rc.local
type this shell in last line :
bash /root/ccminer/start.sh &
exit 0
[ you can remove crontab and rc local with repeat step and remove shell ]
just put this below "thread on config.json"
pool :
"pass": "x",
solo :
"pass": "solo",
mkdir $HOME/opt && cd $HOME/opt
# Download a supported openssl version. e.g., openssl-1.1.1o.tar.gz or openssl-1.1.1t.tar.gz
$ wget https://www.openssl.org/source/openssl-1.1.1o.tar.gz
$ tar -zxvf openssl-1.1.1o.tar.gz
$ cd openssl-1.1.1o
$ ./config && make && make test
$ mkdir $HOME/opt/lib
$ mv $HOME/opt/openssl-1.1.1o/libcrypto.so.1.1 $HOME/opt/lib/
$ mv $HOME/opt/openssl-1.1.1o/libssl.so.1.1 $HOME/opt/lib/
and then
export LD_LIBRARY_PATH=$HOME/opt/lib:$LD_LIBRARY_PATH
hybrid :
"pass": "hybrid",