Update:

See this repo for easy installer/updater : https://github.com/meramsey/monerod-bootstrap

Hi all.

If you value your privacy and are looking to have your own full remote Monero node without relying on others this guide will help you accomplish that.

This guide is based on the latest Ubuntu/Debian Linux.

Requirements.
Ubuntu/Debian Server/VPS
100GB+ hdd the more the better as blockchain will grow over time.
1GB+ ram
SSH with sudo access to server.

Alright to set this up its pretty simple.

First ensure the OS is updated completely. If your doing this as root can remove the “sudo” before commands.

sudo apt-get update && sudo apt-get upgrade -y

Now we will install the requirements for the Monero daemon. The libpcsclite-dev is a new requirement to support hardware wallets without this library the daemon will fail on startup.

sudo apt-get install wget libpcsclite-dev -y

Now we will fetch and extract the latest Monero CLI from GetMonero.org Downloads for Linux x64

wget https://dlsrc.getmonero.org/cli/monero-linux-x64-v0.12.2.0.tar.bz2
tar xvf https://dlsrc.getmonero.org/cli/monero-linux-x64-v0.12.2.0.tar.bz2
cd monero-linux-x64-v0.12.2.0

Once that’s done were ready to start the Monero Daemon.

Start screen session named monerod to run daemon in

screen -S monerod

Run this in a screen session to public IP of the service. Feel free to change the 8081 to 18081 if you prefer your node to get scraped and used by others

./monerod --restricted-rpc --rpc-bind-ip 0.0.0.0 --rpc-bind-port 8081 --save-graph --confirm-external-bind

To detach from the screen session and leave it running in background

ctr+a+d

Can then logout of ssh and it will be running still and syncing.

To check the sync status or daemon. Login via ssh and then do the below to reattach to view the session.

screen -r monerod

Make sure to periodically login to view daemon and enter “save” to save the blockchain state. Then if server/daemon restarts it won’t have to completely start over sync wise.

To detach from the screen session and leave it running in background

ctr+a+d

Grab the Monero Gui and install it locally and use your domain or server’s IP:port to connect.
https://whattheserver.com/blog/monero-monero-gui-with-remote-node/

To setup the Monero daemon to also be accessible over tor.

Install tor.

sudo apt-get install tor -y

Append this with below commands or uncomment the lines in the /etc/tor/torrc via “nano /etc/tor/torrc”

echo "HiddenServiceDir /var/lib/tor/hidden_service/" >> /etc/tor/torrc
echo "HiddenServicePort 80 127.0.0.1:8081" >> /etc/tor/torrc

Then start/restart tor.

service tor reload

To start tor

service tor start

Then to find the hidden service .onion

cat /var/lib/tor/hidden_service/hostname

Then using tor socks you can connect to your remote node via tor .onion with same port.

If you liked my guide feel free to donate to my xmr address

43Nv1bHeDqkDonSBMAJRTqGRexNHpV3nwJdtAPaZSiDt1YBho1HWPYg1jsaRsDtVNnEVY6GhhoB3KWa7ktGRbfBo14deZb6

We also accept xmr/monero for all hosting services upon request. We offer VPN tunnels,Shared hosting, Virtual private servers etc.
https://whattheserver.com/

CryptoCurrencylinuxSecurity