Sunteți pe pagina 1din 2

How to install ISPConfig

Run the Steps follow:


 We’ll install some basic tools necessary for ISPConfig. We’ll also install the Epel
package repository.
 yum -y install yum-priorities
 yum -y install epel-release
 yum -y install wget

 Install Apache, PHP, MariaDB, PHPMyAdmin for administering MariaDB, and


various extra PHP modules required for everything to run.
yum -y install ntp httpd mod_ssl mariadb-server php php-mysql php-mbstring php-ldap
php-mysql php-odbc php-pear php php-devel php-gd php-imap php-xml php-xmlrpc
php-pecl-apc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl
curl-devel mod_fcgid php-cli httpd-devel php-fpm perl-libwww-perl ImageMagick
libxml2 libxml2-devel python-devel phpMyAdmin

 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.

S-ar putea să vă placă și