start:system:monero:mining
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start:system:monero:mining [2025/01/06 11:24] – [Configuring Monerod] marlonivo | start:system:monero:mining [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Mining ====== | ||
- | Mining is possible with any of your devices, so we will go trough both phone and computer. For your phone, you might wanna use the App [[https:// | ||
- | * **Solo:** You can mine using your Monero wallet. No need for additional software, but takes more time, and is inperminent because your device obviously shutdowns sometimes. | ||
- | * **Pool:** Frequent payouts. You will receive XMR according to how much you are participating in the pool of your choice. | ||
- | * **P2Pool:** P2Pool is a sidechain to Monero, and P2Pool blocks are potentially Monero blocks. Each miner submits block templates that include payouts to all of the miners that are mining at the same time. High quality block templates are added to the P2Pool blockchain as blocks; these count as " | ||
- | \\ | ||
- | ===== Configuring Monerod ====== | ||
- | ---- | ||
- | For this tutorial i chose P2Pool, because it has the most benefits to it. To run P2Pool, you need to already have your own Monero node. P2Pool requires the exposure of a ZMQ interface. Add the following to / | ||
- | < | ||
- | # P2Pool config | ||
- | zmq-pub=tcp:// | ||
- | disable-dns-checkpoints=1 | ||
- | enable-dns.blocklist=1 | ||
- | </ | ||
- | |||
- | With '' | ||
- | < | ||
- | rc-service restart monerod | ||
- | </ | ||
- | |||
- | \\ | ||
- | ===== Installation ===== | ||
- | ---- | ||
- | |||
- | Open necessary ports: | ||
- | < | ||
- | ufw allow 3333 < | ||
- | ufw allow 37889 <-- Hauptport für P2Pool | ||
- | </ | ||
- | |||
- | With the Monero User created in the '' | ||
- | < | ||
- | baseurl=" | ||
- | ver=$(basename " | ||
- | |||
- | arch=$(uname -m) | ||
- | case $arch in | ||
- | x86_64) | ||
- | arch=" | ||
- | ;; | ||
- | aarch64) | ||
- | arch=" | ||
- | ;; | ||
- | *) | ||
- | exit 1 | ||
- | ;; | ||
- | esac | ||
- | |||
- | curl -fLO " | ||
- | tar xvf p2pool* | ||
- | </ | ||
- | |||
- | Create a directory for p2pool in '' | ||
- | < | ||
- | mkdir -p /opt/p2pool | ||
- | mv p2pool*/ | ||
- | cd /opt/p2pool | ||
- | </ | ||
- | |||
- | Give the Monero User the rights and execute: | ||
- | < | ||
- | chown -R monero: | ||
- | / | ||
- | </ | ||
- | |||
- | \\ | ||
- | ===== P2Pool als Service einrichten ====== | ||
- | ---- | ||
- | Create a new Service file '' | ||
- | < | ||
- | sudo nano / | ||
- | </ | ||
- | |||
- | Put this in, or structure it yourself: | ||
- | < | ||
- | # | ||
- | # Autostart p2pool | ||
- | |||
- | # P2POOL SERVICE | ||
- | command="/ | ||
- | command_args=" | ||
- | pidfile="/ | ||
- | |||
- | # XMRIG SERVICE | ||
- | start_post() { | ||
- | nohup xmrig \ | ||
- | -o 127.0.0.1: | ||
- | --donate-level=0 \ | ||
- | --keepalive \ | ||
- | --tls \ | ||
- | --rig-id=your_xmrig_name | ||
- | } | ||
- | </ | ||
- | |||
- | |||
- | Add to runlevel: | ||
- | < | ||
- | rc-service add p2pool default | ||
- | </ |
start/system/monero/mining.1736162697.txt.gz · Last modified: by marlonivo