Install RPort on any virgin cloud VM

Learn how to install the RPort server on any public cloud-based virtual machine.

The following guide assumes you are going to install the RPort server on a virgin virtual machine, running Debian or Ubuntu on a public cloud.

โœ‹ Do not use this guide for installing RPort on servers inside an intranet where NAT (network address translation) is used.

To install RPort on a intranet host, follow this guide.

Update your VM first

It's always a good habit to apply all pending updates before installing the application. Also, reboot the machine to have the latest kernel with all security updates running.

apt-get update && apt-get -y dist-upgrade && reboot

Log in again using SSH and make sure ๐Ÿ‘‰ you are the root user.

Install the RPort server

The installation of the RPort server consists of several steps. We compiled a handy script that does everything for you. ๐Ÿช„ Fire it and let the magic begin.

RPort open-source has been dicontinued 2023-09-20. The RPort installer and the server executable will require a valid license.

curl -o

โฑ๏ธ The script needs approximately 2 minutes to finish. If all goes well, you will get a URL and a random password for the login to the graphical user interface.

๐Ÿ’ Insider tip

You can start the installation with your own FQDN, for example bash --fqdn The FQDN must exist and it must reolve to the public IP address of your server.

If you ommit the FQDN a random hostname of the * space will be created. You can change it later.

Security advice: Exporting your licence key to an environment variable via the export command can be insecure because the key could be extracted from the process list by currently logged in none-root users. To prevent this, create a text file, e.g. rportd-license-key.txt that contains the line export RPORTD_LICENSE_KEY=<YOUR-KEY>. Load the environment variables from the file with . ./rportd-license-key.txt and delete the file securely afterwards, e.g. using shred rportd-license-key.txt.

You will be asked for your email address. Your email address is required because two-factor authentication is enabled by default. Tokens are sent via email. Your email address is stored only in the local database of your server.

๐Ÿ‘‰ Point your browser to the URL of your RPort server and log in with the user admin and the randomly created password. Check your inbox and grab the token for the two-factor authentication.

What's next?

After successfully starting your RPort server instance, you should

Last updated