How install and run a node on Linux
Hosting a node in a datacenter may ensure better throughput and higher earnings.
- Raspbian 9/10
- Debian 9/10
- Ubuntu 18.04/20.04
There are two ways to install a Mysterium node.
Ubuntu systems you can use
Aptitude and execute:
sudo add-apt-repository ppa:mysteriumnetwork/node sudo apt-get update sudo apt install myst
If for some reason it fails, or you can't use Aptitude we also provide an installation script written in
bash which can be downloaded and executed using this command:
sudo -E bash -c "$(curl -s https://raw.githubusercontent.com/mysteriumnetwork/node/master/install.sh)"
In addition to downloading and installing our Node, these commands will also install additional required dependencies like WireGuard and OpenVPN if you don't have them already.
Once the installation is complete, check your service status.
Post installation service check:
sudo systemctl status mysterium-node.service
If everything is working you should see similar output to this:
mysterium@pop-os:~$ sudo systemctl status mysterium-node.service ● mysterium-node.service - Server for Mysterium - decentralised VPN Network Loaded: loaded (/lib/systemd/system/mysterium-node.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2021-01-04 00:00:00 GMT; Docs: https://mysterium.network/ Main PID: 1920 (myst) Tasks: 30 (limit: 19009) Memory: 73.0M
Run the following command to diagnose issues:
sudo journalctl -u mysterium-node.service
To view the real-time daemon logs:
sudo journalctl -fu mysterium-node.service
If your node is unable to report an issue through the built-in Node UI or TequilAPI, you may need to save the logs to a file and send them to us via email@example.com.
sudo journalctl -u mysterium-node.service > node.logs