Comment on page
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.
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 RPort on any virtual machine on the cloud. Damn simple.
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 https://get.rport.io -o rport-install.sh
⏱️ 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 tipYou can start the installation with your own FQDN, for example
bash rport-install.sh --fqdn rport.example.com. The FQDN must exist and it must reolve to the public IP address of your server.
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.txtthat contains the line
export RPORTD_LICENSE_KEY=<YOUR-KEY>. Load the environment variables from the file with
. ./rportd-license-key.txtand delete the file securely afterwards, e.g. using
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.
The cloud-installer has finished. Your rport server is ready.
👉 Point your browser to the URL of your RPort server and log in with the user
adminand the randomly created password. Check your inbox and grab the token for the two-factor authentication.
After successfully starting your RPort server instance, you should