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:29] – marlonivo | start:system:monero:mining [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Mining ====== | ||
- | P2Pool is a decentralized service to mine Monero. It works by making users attach the p2pool software to their existing Monero nodes, and mining through the port provided by the p2pool daemon. | ||
- | \\ | ||
- | ===== 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 [[start: | ||
- | < | ||
- | 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 begin synchronizing the p2pool side-chain (needs a little less than half an hour): | ||
- | < | ||
- | chown -R monero: | ||
- | / | ||
- | </ | ||
- | |||
- | \\ | ||
- | ===== P2Pool als Service einrichten ====== | ||
- | ---- | ||
- | Create a new Service file '' | ||
- | < | ||
- | sudo nano / | ||
- | </ | ||
- | |||
- | Put this in, or structure it yourself: | ||
- | < | ||
- | # | ||
- | |||
- | # 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.1736162965.txt.gz · Last modified: by marlonivo