How to Install and Setup Sentora CP on CentOS 7

Hello everybody, in today’s Linux article we are going to show you the complete setup of Sentora on CentOS-7.0 which is another open source and modern web hosting control panel. Sentora is a fully featured, easy to manage and with user friendly interface web hosting control panel. Its licensed under the GPLv3 and is a separately maintained by the ZPanel project. So, Sentora is one of the best choice for the small to medium sized ISPs who are looking for a cost effective and extendable platform as it provides their users with central repository to install, rate and publish modules or themes.

Sentora Pre-Installation Check

Before starting the installation of Sentora on CentOs 7 64-Bit Operating System, let’s make sure of the following points to be fulfilled for successful setup.

1) Prepare your Server

Prepare your latest CentOS 7 server with minimal installed packages so that there is no other management panel installed on it and there should be no web server services to be running on it like Apache, MySQL, PHP, Postfix etc because the installation script of Sentora does this all itself.

2) Setup Host

You have to configure your FQDN according to your registered domain name or sub domain that points to your server’s IP address through which you can access your Sentora control panel.

You can configure your local hosts entry by opening the below file with your editor.

# vi /etc/hosts

3) Setup Firewall

You have to open following default ports used in Sentora configurations, in that case if your systems firewall in active.

In CentOS Linux Operating system you can enable and allow port as follow.

# systemctl enable firewalld

[root@sentora ~]# firewall-cmd --zone=public --add-port=20/tcp --permanent
success
[root@sentora ~]# firewall-cmd --zone=public --add-port=21/tcp --permanent
success
[root@sentora ~]# firewall-cmd --zone=public --add-port=25/tcp --permanent
success
[root@sentora ~]# firewall-cmd --zone=public --add-port=53/tcp --permanent
success
[root@sentora ~]# firewall-cmd --zone=public --add-port=80/tcp --permanent
success
[root@sentora ~]# firewall-cmd --zone=public --add-port=110/tcp --permanent
success
[root@sentora ~]# firewall-cmd --zone=public --add-port=143/tcp --permanent
success
[root@sentora ~]#

Then use below command to reload firewall rule.

[root@sentora ~]# firewall-cmd --reload

Installing Sentora on CentOS 7.0

Now we will need to download the installation script from the official web link of Sentora Download Page .

Sentora download

To download files from the web you can also use the below wget command then give the execute permissions to the installer script.

# wget http://sentora.org/install

# chmod +x install

Sentora Installer

Now execute the Sentora installation script within the same directory where we you had downloaded it.

[root@sentora ~]# ./install

Installing Sentora

During the installation process through the script you will be prompted to configure the package by choosing your geographical area and the time zone. So choose you appropriate location and and time zone and press "Enter" to continue.

choose region

After that you Current default time zone would be set as 'Europe/London' as shown in the picture.

choose region

If you wish to change it using the /usr/bin/tzselect command in shell scripts

In the next step during the installation script you will be asked to configure the sub-domain that you want to use to access Sentora panel and the public IP of the server as shown in below image.

Choose Domain

Here you might get the warning about your DNS configurations if its not properly configured then add records in your DNS manager.

Then press "Y" to accept and install Senotra on your choosed subdomain with given IP. The installation script will install all of its required packages including dependencies that may take few minutes depending on your connection speed.

start installation

The Sentora installation script will ends up with restarting of following packages after their installation.

Daemon run complete! (21:03 6th Sep 2015 BST)
Restarting mariadb
Restarting httpd
Restarting postfix
Restarting dovecot
Restarting crond
Restarting named
Restarting proftpd
Restarting atd

Once the installation process is complete, you will be greeted with login details of Sentora and its database passwords as shown below.

########################################################
Congratulations Sentora has now been installed on your
server. Please review the log file left in /root/ for
any errors encountered during installation.

Login to Sentora at http://sentora.linoxide.com
Sentora Username : zadmin
Sentora Password : tjstwmfytjEWdxAUmw

MySQL Root Password : TOgQYXguamdjsrnC
MySQL Postfix Password : G3slr74qHyx7Iv3j
MySQL ProFTPd Password : Dej36skrSMEYmCiU
MySQL Roundcube Password : EMjst39sjXjDm
(theses passwords are saved in /root/passwords.txt)
########################################################

Sentora Control Panel Web Login

After your server is back after reboot, open your web browser and access your Sentora Control panel using the sub-domain or your server's IP address then provide your credentials, you got after completion of installation process.

Sentora CP login

Welcome to Sentora CP

Congratulations! you have successfully installed the latest version of Sentora CP on CentOS 7 VPS. Now you can manage your multiple domains web hosting using the free Sentora Control Panel by using its all features as shown below.

Sentora CP

Create New Domain on Sentora CP

From the domain management choose the domains module that will enables you to add or configure domain web hosting on your account.

Simply give your new domain name and choose the existing or create new home directory and then click on the Create button.

domain module

In the same way using different other modules you can manage your subdomains, databases, email settings and other system level functions.

Conclusion

It’s important to have a good grasp of what your web hosting needs are before committing to a specific web hosting. So the Sentora control is one of the best competitive web hosting control panel that offers their clients to easily make modifications to their web site as this application is reputable, stable and clearly supported. So always choose the best web hosting control panel as this could have a major impact on the functionality and stability of your web site’s performance.

About Kashif Siddique

Linux Systems and Security Engineer in Information and Communication Technology. Results-driven ICT Professional and Open Source Geek with technical specialties in the area of Open Source Operating systems and Applications.

Author Archive Page

Have anything to say?

Your email address will not be published. Required fields are marked *

All comments are subject to moderation.

1 Comment