Setup
Set up your Monero node
1. Install the Monero CLI and verify it
Download the Linux CLI from getmonero.org, check its hash against the signed hashes file, then extract monerod to /usr/local/bin.
2. Run monerod
Prune to save disk if you only serve your own wallets. To offer a public remote node, expose only the restricted RPC port; for P2Pool, enable the ZMQ feed it listens to:
monerod --data-dir /var/lib/monero --prune-blockchain \
--rpc-restricted-bind-ip 0.0.0.0 --rpc-restricted-bind-port 18089 \
--zmq-pub tcp://127.0.0.1:18083 --detach
3. Add P2Pool (optional)
P2Pool mines on your own node, with no pool operator holding your rewards:
p2pool --host 127.0.0.1 --wallet YOUR_PRIMARY_ADDRESS --mini
Run both as systemd services. Mining is allowed on your own server; whether it pays depends on your hardware, the network difficulty and the price, so do the math first.