Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
How to Install Ajenti Control Panel in Debian and Ubuntu
Ajenti is an open-source web-based control panel that allows users to manage their servers and applications through a graphical user interface. It is written in Python and is compatible with multiple operating systems, including Debian and Ubuntu.
In this tutorial, we will guide you through the steps required to install Ajenti Control Panel in Debian and Ubuntu.
Prerequisites
Before starting the installation, ensure you have
A Debian or Ubuntu server with root access
An active internet connection
At least 512MB RAM and 1GB disk space
Step 1: Update System
Before proceeding with the installation process, update the system to the latest packages. Open the terminal and enter the following command
sudo apt update && sudo apt upgrade -y
Step 2: Install Dependencies
Install the necessary packages required for Ajenti installation
sudo apt install python3-pip python3-dev python3-lxml libffi-dev libssl-dev python3-setuptools python3-wheel build-essential curl -y
Step 3: Install Ajenti
Install Ajenti using the official repository. First, add the Ajenti repository key and source
curl -s https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install-ubuntu.sh | sudo bash
Then install Ajenti
sudo apt install ajenti -y
Step 4: Configure and Start Ajenti Service
Start the Ajenti service and enable it to start automatically on boot
sudo systemctl start ajenti sudo systemctl enable ajenti
Check the service status to ensure it's running properly
sudo systemctl status ajenti
Step 5: Configure Firewall
By default, Ajenti listens on port 8000. If you have UFW firewall enabled, allow incoming traffic on this port
sudo ufw allow 8000/tcp sudo ufw reload
Step 6: Access Ajenti Control Panel
Open a web browser and navigate to
https://your-server-ip-address:8000/
Replace your-server-ip-address with your server's actual IP address. You will see a login screen with default credentials
Username: root
Password: admin
Security Configuration
After successful installation, implement these security measures
Change Default Password
Navigate to Configure ? Users and change the default root password to a strong, unique password.
Enable SSL/TLS
Configure SSL encryption by going to Configure ? Ajenti and enabling HTTPS. You can use a self-signed certificate or obtain one from Let's Encrypt.
Restrict Access
Configure IP-based access restrictions in Configure ? Ajenti ? Bind to limit access to trusted networks only.
Plugin Management
Ajenti comes with basic plugins. Install additional plugins to extend functionality
File Manager Browse and manage server files
Process Monitor Monitor running processes
Network Tools Configure network settings
Service Manager Control system services
Access the Plugin Manager by clicking Plugins in the top menu bar.
Maintenance Commands
Update Ajenti to the latest version
sudo apt update && sudo apt upgrade ajenti
Restart Ajenti service if needed
sudo systemctl restart ajenti
View Ajenti logs for troubleshooting
sudo journalctl -u ajenti -f
To uninstall Ajenti completely
sudo apt remove --purge ajenti sudo apt autoremove
Conclusion
Ajenti Control Panel provides an intuitive web-based interface for server management on Debian and Ubuntu systems. With proper security configuration and plugin management, it becomes a powerful tool for administrators to manage their servers efficiently through a graphical interface.
