How To Install lemonldap-ng-fastcgi-server on Kali Linux
Introduction
In this tutorial we learn how to install lemonldap-ng-fastcgi-server on Kali Linux.
What is lemonldap-ng-fastcgi-server
lemonldap-ng-fastcgi-server is:
Lemonldap::NG is a complete Web-SSO system that can run with reverse-proxies or directly on application webservers. It can be used in conjunction with OpenID-Connect, CAS and SAML systems as identity or service provider. It can also be used as proxy between those federation systems.
It manages both authentication and authorization and provides headers for accounting. So you can have a full AAA protection. Authorizations are built by associating a regular expression and a rule. Regular expression is applied on the requested URL and the rule calculates if the user is authorized.
Lemonldap::NG FastCGI server provides a Nginx auth_request server that handles also LLNG Portal and Manager.
There are three methods to install lemonldap-ng-fastcgi-server 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 lemonldap-ng-fastcgi-server Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install lemonldap-ng-fastcgi-server using apt-get by running the following command:
sudo apt-get -y install lemonldap-ng-fastcgi-serverInstall lemonldap-ng-fastcgi-server Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install lemonldap-ng-fastcgi-server using apt by running the following command:
sudo apt -y install lemonldap-ng-fastcgi-serverInstall lemonldap-ng-fastcgi-server 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 updateAfter updating apt database, We can install lemonldap-ng-fastcgi-server using aptitude by running the following command:
sudo aptitude -y install lemonldap-ng-fastcgi-serverHow To Uninstall lemonldap-ng-fastcgi-server on Kali Linux
To uninstall only the lemonldap-ng-fastcgi-server package we can use the following command:
sudo apt-get remove lemonldap-ng-fastcgi-serverUninstall lemonldap-ng-fastcgi-server And Its Dependencies
To uninstall lemonldap-ng-fastcgi-server and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove lemonldap-ng-fastcgi-serverRemove lemonldap-ng-fastcgi-server Configurations and Data
To remove lemonldap-ng-fastcgi-server configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge lemonldap-ng-fastcgi-serverRemove lemonldap-ng-fastcgi-server configuration, data, and all of its dependencies
We can use the following command to remove lemonldap-ng-fastcgi-server configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lemonldap-ng-fastcgi-serverDependencies
lemonldap-ng-fastcgi-server have the following dependencies:
References
Summary
In this tutorial we learn how to install lemonldap-ng-fastcgi-server package on Kali Linux using different package management tools: apt, apt-get and aptitude.