Contents

How to Install Sentora on Debian 8

06 Mar 2018 3 63  0
How to Install Sentora on Debian 8
How to Install Sentora on Debian 8

 

In the following tutorial, we are going to teach you how to install Sentora on a Debian 8 VPS.

Sentora is a web-based hosting control panel and is quite simple to install and use.

Sentora Installation

Let’s begin with the installation.

Ensure that your server Ubuntu OS packages are completely up to date by using the commands shown below.

apt-get update

apt-get upgrade

Now install the required packages by executing the following.

sudo apt-get install ca-certificates wget nano dbconfig-common sqlite3 postfix dovecot-imapd dovecot-lmtpd dovecot-pop3d dovecot-sqlite

Next, download the latest version of the Sentora installation script and execute it.

bash <(curl -L -Ss https://raw.githubusercontent.com/sentora/sentora-installers/master/sentora_install.sh)
  1. Choose the geographic area in which you live; this is so the time zone rules can be set correctly. After this, click ‘Ok’.
  2. Choose the city or region which corresponds to your time zone.
  3. Fill in the sub-domain you would like to access Sentora panel with. For example: ‘e.g:yourdomainhere.com
  4. Type in the public IP of the server.
  5. This should prove successful and display the following message: “Do you want to install Sentora now (y/n)?” y

The installation may take a couple of minutes. Wait for it to finish.

########################################################

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.yourdomain.com

Sentora Username  : zadmin

Sentora Password  : eXBisXF546rVJg



MySQL Root Password      : YC2bTRFU6otwKf

MySQL Postfix Password   : SYY4psDHHpNuYm

MySQL ProFTPd Password   : xjfxmOBfaIEq0H

MySQL Roundcube Password : lNoV7zFw0mjiA6

(theses passwords are saved in /root/passwords.txt)

########################################################

You will be prompted to restart your server, enter N.

Install the ‘postfix-mysql’ package by executing the following command.

apt-get install postfix-mysql

Then set the postfix daemon directory by using the command below.

postconf -e "daemon_directory=/usr/lib/postfix"

You can now restart the server.

 shutdown -r now

The Sentora installation should now be complete.

The Sentora Control Panel

Log in to the Sentora control panel at ‘http://sentora.yourdomain.com’ and begin to use it.

Below, we have presented a couple of basic usage scenarios:

  1. To initiate BIND (named service), navigate to ‘Admin’, then to ‘Module Admin > DNS Config > Services > Start Service’ and click ‘Go’.Add a new domain:
    Navigate to ‘Domain >> Create a new domain >>’ and put in your domain name
    Home directory: Create a new home directory and click ‘Create’.
  2. Add a new email account:
    Navigate to ‘> Mail’, then to ‘Mailboxes > Create a new mailbox > E-mail Address >’ before entering in your email address and password and clicking on ‘Create’.If you get an error message like this: ‘The selected domain was not valid’Then modify the ‘/etc/sentora/panel/modules/mailboxes/code/controller.ext.php’ file and swap:
if(!self::IsValidDomain($domain))

to:

if(self::IsValidDomain($domain))
  1. Configure the FTP module:Go to ‘Admin’ then to ‘Module Admin > FTP config > Configure your FTP settings’FTP Config File: ‘/etc/proftpd/proftpd.conf’

    Click on ‘Save Changes’.

    Create a fresh FTP account and grant it full permissions to yourdomain.com directory.

    Navigate to ‘File > FTP Accounts > Current FTP Accounts’ and fill in your username and password.

    Access type > Full Access

    Home directory > Use Domain directory /yourdomain.com

    Click on ‘Create’.

    Create a new MySQL database.

    Go to ‘Database > MySQL database Create a new MySQL database’ and fill in your new database name then before clicking on ‘Create’.

    This should be all you have to do to complete the steps. However, do not hesitate to ask any questions.

0 Comments
Add a comment

Leave a Reply

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