How To Install openstack-cluster-installer-common on Kali Linux
Introduction
In this tutorial we learn how to install openstack-cluster-installer-common
on Kali Linux.
What is openstack-cluster-installer-common
openstack-cluster-installer-common is:
OCI (OpenStack Cluster Installer) is a software to provision an OpenStack clusters automatically. This package installs a provisioning machine, which uses the below components:
- a DHCP server (isc-dhcp-server)
- a PXE boot server (tftp-hpa)
- a web server (apache2)
- a puppet-master
Once computers in the cluster boot for the first time, a Debian live system is served by OCI over PXE, to act as a discovery image. This live system then reports the hardware features back to OCI. Computers can then be installed with Debian from that live system, configured with a puppet-agent that will connect to the puppet-master of OCI. After Debian is installed, the server reboots, and OpenStack services are provisionned, depending on the server role in the cluster.
OCI is fully packaged in Debian, including all of the Puppet modules. After installing the OCI package and its dependencies, no other artificat needs to be installed on your provisioning server, meaning that if a local debian mirror is available, the OpenStack cluster installation can be done completely offline.
This package contains the tools necessary both in the Debian Live environment and in the installed systems. This include the hardware discovery script, which conveniently, can be run manually after a system is installed, so that the hardware configuration of a node can be updated.
There are three methods to install openstack-cluster-installer-common
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 openstack-cluster-installer-common Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install openstack-cluster-installer-common
using apt-get
by running the following command:
sudo apt-get -y install openstack-cluster-installer-common
Install openstack-cluster-installer-common Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install openstack-cluster-installer-common
using apt
by running the following command:
sudo apt -y install openstack-cluster-installer-common
Install openstack-cluster-installer-common 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 openstack-cluster-installer-common
using aptitude
by running the following command:
sudo aptitude -y install openstack-cluster-installer-common
How To Uninstall openstack-cluster-installer-common on Kali Linux
To uninstall only the openstack-cluster-installer-common
package we can use the following command:
sudo apt-get remove openstack-cluster-installer-common
Uninstall openstack-cluster-installer-common And Its Dependencies
To uninstall openstack-cluster-installer-common
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove openstack-cluster-installer-common
Remove openstack-cluster-installer-common Configurations and Data
To remove openstack-cluster-installer-common
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge openstack-cluster-installer-common
Remove openstack-cluster-installer-common configuration, data, and all of its dependencies
We can use the following command to remove openstack-cluster-installer-common
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge openstack-cluster-installer-common
Dependencies
openstack-cluster-installer-common have the following dependencies:
References
Summary
In this tutorial we learn how to install openstack-cluster-installer-common
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.