Print Logo

Setting up CPanel by using Centos 7

In this article we are gonna research how to set up CPanel by using Centos 7. Cpanel is a panel that is easy to use, especially if you are a user. As we did in setting up DirectAdmin we are using Terminal.  Connect your server with ssh root@ (yourip).  Sometimes learners can use one ip for setting up a lot of panels. If you are a user you might see a warning like this.

 Ekran Resmi 2020 07 25 17.02.58

If you see something like this you should write:

rm -rf /Users/imac/.ssh/known_hosts

It will delete the old files and helps you continue your process.

After this you should enable selinux and firewall as always, if you do not know how to do it go check this article's first part.

https://blog.sunucupark.com/genel/353-setting-up-directadmin-by-using-centos-7.html

Now you should update with this command:

yum update -y

And add perl extension

yum update perl

Now you can start the setting up part. This might take a while.

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

After you done with your setting up part you can write your ip with :2083 port to reach your panel.

The most basic things that you can do in a panel is adding new domain, mail adress and a database. If you learn this things it will help you explore the panel.

Adding a New E-mail Address:

 You can see the e-mail category in CPanel's home page. Click e-mail accounts.

 Ekran Resmi 2020 07 27 10.37.58

After clicking create you will see a page like this:

Ekran Resmi 2020 07 27 10.42.15

Fill the blanks with your informations and create. That's all.

 Creating a New Database:

Go back to the home page and find Databases category. Choose MySQL Database Wizard.

Ekran Resmi 2020 07 27 10.50.16

Follow the steps by filling the blanks.

Ekran Resmi 2020 07 27 10.57.43

In this step, do not forget to choose every section.

Database Privileges

At this stage, your new database has been set.

To see it, go back to the main page of cPanel and click on MySQL Databases.

 

 

 

 

 

 

 

 

SunucuPARK 2004