How to Install cwp on Centos

Posted On February 1st, 2023

A free and open-source web hosting control panel for CentOS servers is the CentOS web panel. You may control your CentOS server and its services using its robust web interface.

You can manage user accounts, MySQL databases, Apache virtual hosts, DNS entries, email accounts, and much more with the Centos web panel. In addition to that, shared hosting servers are also built and managed using the CentOS web interface.

  • You need a brand-new installation of CentOS 7.x, root access, or access to a user with sudo rights.
  • a legitimate hostname entered on the main IP address of your server.
  • The CentOS web panel must be installed with at least 1 GB of RAM. Your server needs at least 4GB of RAM if you want to take advantage of all its features, such as email virus scanning.

Note: The only way to remove or uninstall the CWP from your CentOS servers is to rebuild your server once it has been installed.

Connect to your server in step 1 and update each instal package.

SSH allows you to connect to your server as root or a user with sudo rights. Enter the following command on the terminal to accomplish this.

ssh root@IP_address -p Port_number

Once you are logged in to the server, you have to type the following commands in the terminal to update all of your currently installed packages to their latest available versions.

yum -y update


This process may take 10 – 15 minutes to complete it.

Step 2: Install dependencies

Installing the Development Tools bundle will enable the necessary package for the CentOS web panel. To enable it, enter the following command into the terminal.

yum -y groupinstall 'Development Tools

To enable EPEL package repository on your machine, type the following command into the terminal. It is a Fedora Special Interest Group that develops, looks after, and oversees a top-notch collection of extra packages for Enterprise Linux, CentOS, and other operating systems.

yum -y install epel-release 

Step 3: Setting the Hostname and FQDN


Be advised that a hostname must be a FQDN (Fully Qualified Domain Name). It is crucial to utilise a subdomain instead of the main domain name, such as demo.yourdomainname.com, as the hostname. Use the following command in the terminal to check the hostname of your server.

hostname


You can change or set a new hostname by the following command.

hostnamectl set-hostname [hostname which you want to set]


Once you change it, you also need to update the hosts file of your system. Enter the following command in the terminal to update the hosts files.

echo "IP_address hostname_yourdomainname hostname" >> /etc/hosts


Note: Once you change or set a new hostname for your server, you need to reboot your server for the changes to take effect.

Step 4: Download and Install the latest version of CentOS web panel


Please always get CentOS web panel from the vendor’s official website (http://centos-webpanel.com/). The most recent version of Centos Web Panel can be downloaded to your system using the WGet command from the company’s official website.

To change the directory to /usr/local/src/ and download the latest version of the CentOS web panel, run the following command in the terminal.

cd /usr/local/src/
wget http://centos-webpanel.com/cwp-el7-latest


Once the file is downloaded, we will go further towards running it using a shell. Enter the following command in the terminal to install CentOS web panel through a script.

sh cwp-el7-latest


The installation process may take 30 – 40 minutes because it needs to compile apache and PHP from source.

Once the installation is completed, a list of credentials will be appeared to access the panel. Make sure to copy or write down the MySQL password and press enter to reboot your server.

Step 5: CentOS web panel login


Once the server is online after reboot, Open your web browser and navigate the following url.
http://Server_IP:2030 Or https://Server_IP:2031
Use the User Name as root and password would be your server’s root password.

    Popular Tags :


Leave a Comment :

STAFF'S PICKS &

Related Posts

Starting a YouTube Channel – This is What You Should Do

Starting a YouTube Channel – This is What You Should Do

Posted on March 30th, 2024

YouTube is the 2nd most popular and visited website all over the world. This can give you a rewarding and exciting experience. If you are also starting a YouTube...

Read More
What Factors Influence Consumer Behavior?

What Factors Influence Consumer Behavior?

Posted on March 22nd, 2024

What Factors Influence Consumer Behavior The success of any company’s digital marketing plan depends on social media. Despite this, companies of all sizes and types are not utilizing this...

Read More
What Is Chatbot And Why It Is Important For SEO In 2023

What Is Chatbot And Why It Is Important For SEO In 2023

Posted on March 22nd, 2024

We all know that Chatbot is the future of marketing, and many big companies are considering Chatbots in their marketing strategy. Want to know what is Chatbot and why...

Read More
The Top 10 Websites for Coding Practice

The Top 10 Websites for Coding Practice

Posted on March 22nd, 2024

Practice makes perfect. Coding is the same concept. You should practice coding your program language if you want to become a better developer. Free video and lecture-based tutorials are...

Read More
Register Now and Get Paid for your great content. shareasale.com.

Stay Updated

Stay Updated By Subscribe Our List, Get New Blogs Notifications and Stay Updated with World

Stay Updated