How To Install mom on Kali Linux
Introduction
In this tutorial we learn how to install mom
on Kali Linux.
What is mom
mom is:
MOM is a policy-driven tool that can be used to manage overcommitment on KVM hosts. Using libvirt, MOM keeps track of active virtual machines on a host. At a regular collection interval, data is gathered about the host and guests. Data can come from multiple sources (eg. the /proc interface, libvirt API calls, a client program connected to a guest, etc). Once collected, the data is organized for use by the policy evaluation engine. When started, MOM accepts a user-supplied overcommitment policy. This policy is regularly evaluated using the latest collected data. In response to certain conditions, the policy may trigger reconfiguration of the system??s overcommitment mechanisms. Currently MOM supports control of memory ballooning and KSM but the architecture is designed to accommodate new mechanisms such as cgroups.
There are three methods to install mom
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install mom Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install mom
using apt-get
by running the following command:
sudo apt-get -y install mom
Install mom Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mom
using apt
by running the following command:
sudo apt -y install mom
Install mom Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install mom
using aptitude
by running the following command:
sudo aptitude -y install mom
How To Uninstall mom on Kali Linux
To uninstall only the mom
package we can use the following command:
sudo apt-get remove mom
Uninstall mom And Its Dependencies
To uninstall mom
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove mom
Remove mom Configurations and Data
To remove mom
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mom
Remove mom configuration, data, and all of its dependencies
We can use the following command to remove mom
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mom
Dependencies
mom have the following dependencies:
References
Summary
In this tutorial we learn how to install mom
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.