How To Install ltsp-cluster-nxloadbalancer on Ubuntu 18.04
Introduction
In this tutorial we learn how to install ltsp-cluster-nxloadbalancer on Ubuntu 18.04.
What is ltsp-cluster-nxloadbalancer
ltsp-cluster-nxloadbalancer is:
This component simply interrogates the loadbalancer every-time a connection to the nx user is done and redirects to the right
NX application server. It doesn’t support persistent sessions or any kind of configuration.
There are three methods to install ltsp-cluster-nxloadbalancer on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install ltsp-cluster-nxloadbalancer Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install ltsp-cluster-nxloadbalancer using apt-get by running the following command:
sudo apt-get -y install ltsp-cluster-nxloadbalancer
Install ltsp-cluster-nxloadbalancer Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install ltsp-cluster-nxloadbalancer using apt by running the following command:
sudo apt -y install ltsp-cluster-nxloadbalancer
Install ltsp-cluster-nxloadbalancer Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install ltsp-cluster-nxloadbalancer using aptitude by running the following command:
sudo aptitude -y install ltsp-cluster-nxloadbalancer
How To Uninstall ltsp-cluster-nxloadbalancer on Ubuntu 18.04
To uninstall only the ltsp-cluster-nxloadbalancer package we can use the following command:
sudo apt-get remove ltsp-cluster-nxloadbalancer
Uninstall ltsp-cluster-nxloadbalancer And Its Dependencies
To uninstall ltsp-cluster-nxloadbalancer and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove ltsp-cluster-nxloadbalancer
Remove ltsp-cluster-nxloadbalancer Configurations and Data
To remove ltsp-cluster-nxloadbalancer configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge ltsp-cluster-nxloadbalancer
Remove ltsp-cluster-nxloadbalancer configuration, data, and all of its dependencies
We can use the following command to remove ltsp-cluster-nxloadbalancer configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ltsp-cluster-nxloadbalancer
References
Summary
In this tutorial we learn how to install ltsp-cluster-nxloadbalancer package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.