For those who like commands that just have to be pasted on a shell:
Installing monero and cpuminer on Debian-based distros (not completely automated, you'll have to confirm several times;backup your wallet first, because it will be deleted):
cd ~ && rm -f install_monero.sh && wget https://ottrbutt.com/monero/install_monero.sh && bash install_monero.sh
Create the wallet
cd ~/bitmonero/build/release/src && ./simplewallet --generate-new-wallet=monero_wallet.bin pass=xxxx
Get you address (copy with the mouse, (-u
46ctfLB...))
nano ~/bitmonero/build/release/src/monero_wallet.bin.address.txt
Get your threads (
-t 8 on the next code)
nproc
Poolmining with cpuminer (change pool, address and number of threads):
cd ~/cpuminer/cpuminer-multi && ./minerd -a cryptonight -o stratum+tcp://monero.farm:1337 -u 46ctfLBhgyzJm61oTtDfu9GbVhG7ito4fNiQjdZcB5bL3mz5ejQrPD29uEkDHFzCVTHGFqAdG456w6ivYp7K23SiGREUiQe -p x -t 8
Solomining with bitmonerod (change address and number of threads):
cd ~/bitmonero/build/release/src && ./bitmonerod --start-mining 46ctfLBhgyzJm61oTtDfu9GbVhG7ito4fNiQjdZcB5bL3mz5ejQrPD29uEkDHFzCVTHGFqAdG456w6ivYp7K23SiGREUiQe --mining-threads 8
Launching the daemon (incompatible with the soloming command above)
cd ~/bitmonero/build/release/src && ./bitmonerod
Launching the wallet with command history (requires installing
rlwrap first); requires the daemon to be launched first (see the two commands above)
cd ~/bitmonero/build/release/src && rlwrap ./simplewallet --wallet-file=monero_wallet.bin
Hope this helps
