How To Install ltsp-cluster-lbserver on Ubuntu 18.04
Introduction
In this tutorial we learn how to install ltsp-cluster-lbserver
on Ubuntu 18.04.
What is ltsp-cluster-lbserver
ltsp-cluster-lbserver is:
The loadbalancer is composed of 3 modules : an agent, a server and a client. The agent role is to sends information about the state of monitored variables. The server harvests data from every known agents, and compute their respective weight. The client requests address to the server, that sends a randomly chosen LTSP application server in the wightened list. The loadbalancer is written in Python, and uses XML-RPC for remote communication between the agent and the server, while the client uses HTTP.
This package contains the server component.
There are three methods to install ltsp-cluster-lbserver
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-lbserver 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-lbserver
using apt-get
by running the following command:
sudo apt-get -y install ltsp-cluster-lbserver
Install ltsp-cluster-lbserver Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ltsp-cluster-lbserver
using apt
by running the following command:
sudo apt -y install ltsp-cluster-lbserver
Install ltsp-cluster-lbserver 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-lbserver
using aptitude
by running the following command:
sudo aptitude -y install ltsp-cluster-lbserver
How To Uninstall ltsp-cluster-lbserver on Ubuntu 18.04
To uninstall only the ltsp-cluster-lbserver
package we can use the following command:
sudo apt-get remove ltsp-cluster-lbserver
Uninstall ltsp-cluster-lbserver And Its Dependencies
To uninstall ltsp-cluster-lbserver
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-lbserver
Remove ltsp-cluster-lbserver Configurations and Data
To remove ltsp-cluster-lbserver
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge ltsp-cluster-lbserver
Remove ltsp-cluster-lbserver configuration, data, and all of its dependencies
We can use the following command to remove ltsp-cluster-lbserver
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ltsp-cluster-lbserver
References
Summary
In this tutorial we learn how to install ltsp-cluster-lbserver
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.