Monero full node on Tails

Návod na instalaci Monero full nodu na operačním systému Tails.

When should you use this guide

  • Connecting to a third party remote node is not an option (threat model, agency, etc.)
  • You are not able to host a private .onion remote node outside of Tails (with e.g. PiNode-XMR)
  • Running Qubes+Whonix is not an option

This guide does not require setting up a root password or making changes to the firewall.

For instructions on how to set up a wallet on Tails with a remote node, visit: http://xmrguide42y34onq.onion/tails

What you will need

  • 1 SSF USB (Tails+Blockchain) OR a regular USB (Tails) + external SSD (Blockchain)
    • Corsair Flash Voyager GTX (CMFVYGTX3C-128GB)
    • Sandisk Extreme PRO (SDCZ880-128G-G46)
    • Samsung Portable SSD T5
  • A computer with at least 4 GB of RAM and an USB 3.0 port
  • Some technical competence

The device that stores the blockchain should have a capacity of at least 100 GB.

Using the specs above and a recent processor syncing will take on the order of 15 - 30 hours. This will work with regular USB flash storage, but it is more prone to failure and expect syncing to take substantially longer.

Setting up Tails

Install Tails on your USB drive by following the instructions on the official Tails website.

Boot Tails for the first time and configure a persistent volume (Applications -> Tails -> Configure persistent volume). Set a strong password and make sure you enable dotfiles persistence. Now reboot Tails.

On the Tails greeter unlock your persistent volume. Now start Tails.

Attach an ethernet cable or connect to wifi.

Downloading Monero

Go to https://getmonero.org/downloads and download the latest GUI release for Linux 64-bit. Wait for the download to complete.

Verify the archive by following the instructions on the downloads page.

Extract the archive. Wait for the extraction to complete (see the spinner in the top of the file browser) then copy the extracted folder to your persistent storage (/home/amnesia/Persistent).

Navigate to the folder that contains monerod and open a terminal inside this folder.

https://preview.redd.it/f87dpyj4ot451.png?width=908&format=png&auto=webp&s=1a75771394d537a35001261211dcb7b39540da25

Hint: Right click on whitespace (not a file) inside the folder if the option to open in Terminal does not appear.

Run the following command to create a startup script to start the daemon:

If you are going to store the blockchain on an external SSD, mount it first, then change the data-dir to a path on the SSD. If you are going to store the blockchain on your persistent volume you can leave it as it is.

printf "#\041/bin/bash\n\
x-terminal-emulator -e \
\"DNS_PUBLIC=tcp torsocks ./monerod --no-igd \
--p2p-bind-ip 127.0.0.1 \
--rpc-bind-ip 127.0.0.1 \
--rpc-bind-port 17600 \
--data-dir /home/amnesia/Persistent/.bitmonero\"" > start-daemon.AppImage \
&& chmod +x start-daemon.AppImage

In the file explorer double click on the file named start-daemon.AppImage, this will start the daemon.

Wait a few minutes for the daemon to start syncing. This can take 5 to 10 minutes, be patient. You can ignore any "connection refused" or "SOCKS server failure" errors.

Tip: Change your terminal to a black background to make it more readable. (Edit -> Preferences -> Colors -> Disable "Use colors from system theme").

Syncing over Tor will take a LONG time and will vary greatly depending on the speed of your Tor circuits. You will need to leave your computer unattended for 15 - 30 hours. Keep the device on a charger. Don't close the lid. Position the device near a router if connected to wifi to ensure a good connection. Set the device on a flat, cool surface to prevent it from overheating. Syncing will continue while the screen is locked.

Setting up the wallet

After syncing is finished, start the GUI by double clicking on monero-wallet-gui.AppImage in the wallet folder.

Click continue, then select Advanced mode.

Click on Create a new wallet.

Write down your seed and restore height, then set a password.

Select Connect to a remote node

You will not actually be connecting to a remote node, instead you will connect directly to the daemon running on your machine.

Enter the following:

  • Remote node hostname/IP: 127.0.0.1
  • Port: 17600

Click next, then create wallet.

Go to Settings -> Node and mark it as a "Trusted Daemon".

You're set!

The next time you boot Tails go to your wallet folder and double click on start-daemon.AppImage, then start the GUI by by double clicking on monero-wallet-gui.AppImage.

Zdroj: tobtoht

Napsat komentář

Vaše emailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *