How to install Sentora on CentOS 7

To install Sentora on CentOS 7

Sentora is a web hosting control panel. It is built to work on a variety of Linux distributions. The procedures to install Sentora in CentOS is explained in this article.

Install wget tool to download the installation file

[root@linuxhelp1 ~]# yum install wget -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
Resolving Dependencies
-->  Running transaction check
--->  Package wget.x86_64 0:1.14-10.el7_0.1 will be installed
.
.
.
Installed:
  wget.x86_64 0:1.14-10.el7_0.1                                                 

Complete!

Download the installation file using wget and make it executable.

[root@linuxhelp1 ~]# wget http://sentora.org/install
--2016-07-14 12:35:29--  https://raw.githubusercontent.com/sentora/sentora-installers/1.0.3/sentora_install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.100.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.100.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 47103 (46K) [text/plain]
Saving to: ‘ install’ 

100%[======================================> ] 47,103      88.8KB/s   in 0.5s   

2016-07-14 12:35:31 (88.8 KB/s) - ‘ install’  saved [47103/47103]
[root@linuxhelp1 ~]# chmod +x install

Start the installation by executing install script

[root@linuxhelp1 ~]# ./install

############################################################
#  Welcome to the Official Sentora Installer 1.0.3  #
############################################################

Checking that minimal requirements are ok
Detected : CentOs  7  x86_64
Ok.
DB server will be mariaDB

-- Installing wget and dns utils required to manage inputs
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * extras: mirror.nbrc.ac.in
 * updates: mirror.nbrc.ac.in
Resolving Dependencies
-->  Running transaction check
--->  Package NetworkManager.x86_64 1:1.0.6-29.el7_2 will be updated
.
.
.
Complete!
Package 32:bind-utils-9.9.4-29.el7_2.3.x86_64 already installed and latest version
Package wget-1.14-10.el7_0.1.x86_64 already installed and latest version
Preparing to select timezone, please wait a few seconds...
Package tzdata-2016f-1.el7.noarch already installed and latest version
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.
 1) Africa
 2) Americas
 3) Antarctica
 4) Arctic Ocean
 5) Asia
 6) Atlantic Ocean
 7) Australia
 8) Europe
 9) Indian Ocean
10) Pacific Ocean
11) none - I want to specify the time zone using the Posix TZ format.
#? 5
Please select a country.
 1) Afghanistan          18) Israel            35) Palestine
 2) Armenia          19) Japan            36) Philippines
 3) Azerbaijan          20) Jordan            37) Qatar
 4) Bahrain          21) Kazakhstan        38) Russia
 5) Bangladesh          22) Korea (North)        39) Saudi Arabia
 6) Bhutan          23) Korea (South)        40) Singapore
 7) Brunei          24) Kuwait            41) Sri Lanka
 8) Cambodia          25) Kyrgyzstan        42) Syria
 9) China          26) Laos            43) Taiwan
10) Cyprus          27) Lebanon            44) Tajikistan
11) East Timor          28) Macau            45) Thailand
12) Georgia          29) Malaysia            46) Turkmenistan
13) Hong Kong          30) Mongolia            47) United Arab Emirates
14) India          31) Myanmar (Burma)        48) Uzbekistan
15) Indonesia          32) Nepal            49) Vietnam
16) Iran          33) Oman            50) Yemen
17) Iraq          34) Pakistan
#? 14

The following information has been given:

    India

Therefore TZ=' Asia/Kolkata'  will be used.
Local time is now:    Thu Jul 14 13:01:05 IST 2016.
Universal Time is now:    Thu Jul 14 07:31:05 UTC 2016.
Is the above information OK?
1) Yes
2) No
#? 1
.
.
.
=== Informations required to build your server ===
The installer requires 2 pieces of information:
 1) the sub-domain that you want to use to access Sentora panel,
   - do not use your main domain (like domain.com)
   - use a sub-domain, e.g panel.domain.com
   - or use the server hostname, e.g server1.domain.com
   - DNS must already be configured and pointing to the server IP
       for this sub-domain
 2) The public IP of the server.

Enter the sub-domain you want to access Sentora panel: linuxhelp1

The public IP of the server is 125.xx.xx.xx. Its local IP is 192.168.5.112
192.168.122.1
  For a production server, the PUBLIC IP must be used.
Enter (or confirm) the public IP for this server: 125.xx.xx.xx
.
.
.
Restarting crond
Restarting named
Restarting proftpd
Restarting atd
########################################################
 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://linuxhelp1
 Sentora Username  : zadmin
 Sentora Password  : vzMSTVPewjyE6LNB

 MySQL Root Password      : irL6Zxapaxxxxxxx
 MySQL Postfix Password   : OCG6UnXFHxxxxxxx
 MySQL ProFTPd Password   : 1w38zvVc6xxxxxxx
 MySQL Roundcube Password : azYKuzUIAxxxxxxx
   (theses passwords are saved in /root/passwords.txt)

Restart your server now to complete the install (y/n)?y

Open the browser and navigate to http://< host-name> or http://< IP_address>

Main page for sentora

FAQ
Q
How do I change the vHosts location?
A
You can change the location of user files/hosted files by going to Module "Admin>Apache Config>VHosts Directory"
Q
Is there any Altenative command for wget?
A
The curl -i command will show the web headers, this is good alternative for finding out what software a website is running on.
"curl -I https://exsite.com"
Q
How to Change Sentora sub-domain?
A
Please refer the link as follow "http://docs.sentora.org/?node=89"
Q
Changing vhost (hostdata) location (The location where client's hosting spaces are stored)
A
Please refer the link as follow "http://docs.sentora.org/?node=104"
Q
Purpose of using the Sentora?
A
Sentora is a web hosting control panel. It is built to work on a variety of Linux distributions.