Installing cPanel on a CentOS-based server can be a useful way to manage and maintain your server and website. However, sometimes you may encounter errors during the installation process. One common error is the “NetworkManager is installed and running” error, which appears when cPanel detects that NetworkManager is enabled on your system.
In this tutorial, we will cover how to fix this error and successfully install cPanel on your CentOS-based server.
Here is a summary of the steps we will follow:
- Understand the error message and the issue
- Stop and disable the NetworkManager service
- Restart the cPanel installation process
Let’s go through each of these steps in more detail.
1. Understand the error message and the issue
The first step in fixing this error is to understand what it means and why it is occurring. The error message says that cPanel does not support systems with NetworkManager enabled, and that the installation cannot proceed.
NetworkManager is a daemon that runs on the system and manages network settings and connections. It is used to make it easier to configure networking on a system, but it is not compatible with cPanel. cPanel has its own networking configuration tools and does not support systems with NetworkManager enabled.
Therefore, if NetworkManager is running on your system, the cPanel installation will not be able to proceed.
2. Stop and disable the NetworkManager service
To fix this error, you need to stop and disable the NetworkManager service. This will prevent NetworkManager from running and interfering with the cPanel installation.
To stop and disable the NetworkManager service, you can use the following commands:
systemctl stop NetworkManager.service systemctl disable NetworkManager.service
These commands will stop the NetworkManager service and disable it from starting automatically on boot. After running these commands, NetworkManager will no longer be running on your system.
3. Restart the cPanel installation process
With NetworkManager stopped and disabled, you should now be able to proceed with the cPanel installation.
To start the installation process, you can follow the instructions provided by cPanel. Typically, this involves downloading the cPanel installation script and running it on your server.
For example, you can download the cPanel installation script using the following command:
wget -N https://securedownloads.cpanel.net/latest
Then, make the script executable and run it:
chmod +x latest ./latest
This will start the cPanel installation process. Follow the prompts to complete the installation.
Once the installation is complete, you should have cPanel installed and running on your server. You can then use cPanel to manage your server and website.
In this tutorial, we covered how to fix the “NetworkManager is installed and running” error when installing cPanel on a CentOS-based server. By stopping and disabling the NetworkManager service, you can successfully install cPanel and use it to manage your server and website.