Virola self-hosted server installation on Debian and Ubuntu
-
Download the Virola Server installation package
wget https://virola.io/downloads/2.3.1.24110614/virola-server-debian-2.3.1.24110614_amd64.deb
-
Install Virola Server
sudo apt-get update sudo apt-get upgrade sudo apt --yes --fix-broken install ./virola-server-debian-2.3.1.24110614_amd64.deb
-
Choose host and port your server will be listening on. You will need
to enter them later to launch the server. You may want your Virola Server to be accessible:
- only from your current Linux machine,
- from your local network,
- or from the entire world.
-
During the installation, you will be offered to
register Virola server as a systemd service (daemon).
This allows to launch the server automatically with the system startup and restart
it gracefully. We recommend choosing this option.
To register Virola server as a systemd service, do the following:-
Answer
Y
to the questionDo you want to configure Virola Server?
and proceed with answeringY
to all of the following questions. -
Then enter the IP address you've chosen as the host on step 3
as an answer to the question
Enter IP on which Virola Server will listen when running as Systemd service (0.0.0.0)
You may use the IP address0.0.0.0
to make the server accessible from anywhere, but be sure to have proper security measures in place to protect it. -
Enter the port you've chosen on step 3 as an answer to
the question
Enter PORT on which Virola Server will listen when running as Systemd service (7777)
-
Answer
Y
to the questionDo you want to start Virola Server Sysetmd service now?
-
Answer
Automatically configured systemd service will be restarted on each server update by the server installer.
If you need to start / stop your systemd service manually, change its configuration, move Virola server database to another location, follow the instructions provided for managing systemd services on Ubuntu / Debian
If you chose not to register Virola server as a systemd service
If you don't want to register Virola server as a systemd service,
just answer n
to the question Do you want to configure Virola Server?
during the installation. The installation will be completed, and you'll be able
to run the server manually by executing the following command:
virola-server --listen HOST:PORT
where
HOST
- host you've chosen for your Virola ServerPORT
- port you've chosen for the your Virola Server
Example:
virola-server --listen 127.0.0.1:7777
If you decide to register your Virola server as a systemd service later, follow the instruction.
Next steps
To communicate via the installed Virola Server, you will need to install Virola Client:
- Go to Virola Client downloads
- Download Virola Client installer for Debian / Ubuntu
- Proceed with the standard installation
Logging into Virola Client
Upon launching the Virola Client, you will need to enter the following details on the login screen:
- Server Host - host you've specified when running Virola Server (127.0.0.1 in the example above)
- Server Port - the port you specified when running Virola server (7777 in the example above)
- Username: admin
- Password: admin
After entering these details, click on "Login" button.
Now you can use Virola Client for both communication, and your team and server management. Use our video tutorials to learn how to add users, create chat rooms, etc.
Video tutorial
Detailed video tutorial about setting up and running Virola server on Debian Linux:
Important Notes
Make sure to change your default admin password to a more secure one as soon as possible.
You can do this either from the Virola Client (Hamburger menu / My User Profile / User Account Settings /
Change My User Password) or using the --change-password
command line argument of the Virola server.
We strongly recommend to encrypt Linux machine on which Virola server is running. The best way is to encrypt it during Linux installation but it is also possible to encrypt the existing Linux instance. We've prepared a detailed instruction about disc encryption in Linux environment for you.
For any questions or additional assistance, our online support team is available to help. Click the live chat button to start a conversation with one of our support representatives.