Skip to content

๐Ÿ‘พ One command install, deploy & mine for Linux Android WSL

SiemdeNijs edited this page Apr 22, 2022 · 3 revisions

How to: with one command install dependencies, grab the miner & push your config to start mining. For Linux, Android & WSL.

This can come in handy for people managing multiple devices. All you need is a place to host your configuration file (minepkt.sh). This contains the miner command. The file will be grabbed, as will the miner & tmux file. Once all of that is done it'll directly start mining.

sudo apt install wget tmux nano -y && wget -O ~/packetcrypt https://github.com/SiemdeNijs/packetcrypt_rs_SNcomp/releases/download/release/packetcrypt_x8664_linux && chmod +x ~/packetcrypt && wget -O ~/minepkt.sh https://github.com/SiemdeNijs/packetcrypt_rs_SNcomp/releases/download/release/minepkt.sh && chmod +x ~/minepkt.sh && wget -O ~/pkttmuxmine.sh https://github.com/SiemdeNijs/packetcrypt_rs_SNcomp/releases/download/release/pkttmuxmine.sh && chmod +x ~/pkttmuxmine.sh && ~/pkttmuxmine.sh && tmux attach-session -t miner

โ„น๏ธ edit/remove https://github.com/SiemdeNijs/packetcrypt_rs_SNcomp/releases/download/release/minepkt.sh. Create a copy of the "minepkt.sh", edit your address - config, upload it somewhere and use your URL/Path.

Tmux session is called "miner", to show miner session

tmux attach-session -t miner

Stop the session: ctrl + c when inside the miner session.

Detach from the session: ctrl + shift + b, then release and hit d.

or find the corresponding tmux commands for your system

โ„น๏ธ Tip: put this in a file, save it as a .sh (script), make it executable (chmod +x ..) and run it as cron-job, or as one-line command ๐Ÿš€

Clone this wiki locally