Documente Academic
Documente Profesional
Documente Cultură
It is important to set your server’s time zone correctly. Modify php.ini so this is
accurate.
vi /etc/php.ini
date.timezone = America/Montreal
Apache and Maria DB must now be started. They must also be configured to
launch when the server boots. We’ll take care of that here.
systemctl enable httpd.service
systemctl enable httpd.service
systemctl start mariadb.service
systemctl status mariadb.service
We must also secure MariaDB. Here we’ll implement some basic hardening of the
database installation.
mysql_secure_installation
ISPConfig configures Dovecot for email services. We should install Dovecot if you’d
like to configure IMAP and POP3 access from your panel.
yum -y install dovecot dovecot-mysql dovecot-pigeonhole
Having done this, we now need an empty configuration file. We’ll make it as a
symbolic link.
touch /etc/dovecot/dovecot-sql.conf
ln -s /etc/dovecot/dovecot-sql.conf /etc/dovecot-sql.conf
Dovecot must now be started, and also configured to start when the server boots.
systemctl start dovecot.service
systemctl enable dovecot.service
ClamAV and Spamassassin are used for malware detection and spam filtering of
inbound email. We’ll install both next.
yum -y install amavisd-new spamassassin clamav clamd clamav-update unzip bzip2
unrar perl-DBD-mysql
If you’d like for FTP and DNS to be configured from the panel, install pure-ftpd and
bind.
yum -y install pure-ftpd
yum -y install bind bind-utils
We’ve finally got all of the essentials installed. It is now time to download
ISPConfig itself.
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
tar -zxvf ISPConfig-3-stable.tar.gz
cd ispconfig3_install
cd install
php -q install.php
Fill in all required fields, selecting SSL for ISPConfig’s web interface.
Continue by accessing your control panel from the browser. Visit https://your_ip:8080 to
enter ISPConfig.