<< Click to Display Table of Contents >> Server and client installation > Linux server |
Linux installation
Instructions for installing Virola server on Linux server are available here
When launching Virola server in a docker container, IP address of the host is used. If you want other computers with Virola client to connect to the Virola server within one network, then the private IP address of the computer where Virola server is installed should be used. To use a public IP additional actions should be performed, please read more about networking here.
1.Download the Virola server installation package:
wget <INSTALLATION_PACKAGE_URL>
2.Install:
sudo apt-get update
sudo apt-get upgrade
sudo apt --yes --fix-broken install ./<INSTALLATION_PACKAGE_PATH>
During the installation you can select an options to install virola-server as a service. In this case you will need to provide HOST and PORT details during the setup. After finishing this installation the service will start automatically. You can use the following tips to manage your service:
o stop virola-service command: sudo systemctl stop virola-server.service
o update server HOST and / or PORT: edit the file in /home/virola/start-virola-server.sh
o transfer database. You can find the database in /home/virola/ directory and then change the path to the database in /home/virola/start-virola-server.sh after transferring it
3.If you decided not to start virola-service, then you need to run Virola server under virola user rights:
virola-server --listen HOST:PORT
4.On the first launch, the server will create an "admin" user with the "admin" password and admin rights
How to install Virola on Linux server
To install Virola server on CentOS, please follow the instruction:
1.Run command sudo yum -y install <INSTALLATION PACKAGE .RPM>
2.Follow installation steps and type Y if you would like to configure Virola server and register it as a system process, otherwise type N
3.Run Virola server virola-server --listen HOST:PORT if you decided not to install it as a service. Otherwise skip this step