centos ispconfig

This is for Centos 6 install

yum update -y
yum install epel-release -y
yum install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm -y

vi /etc/yum.repos.d/MariaDB.repo
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

yum install MariaDB-server -y
/etc/my.cnf.d/server.cnf
sql-mode=NO_ENGINE_SUBSTITUTION

yum install which fcgi mod_ssl postfix mailman dovecot dovecot-mysql clamav pure-ftpd mod_fcgid -y
yum --enablerepo=remi,remi-php56 install php phpmyadmin php-mcrypt php-fpm php-mbstring php-xml -y
yum install amavisd-new clamd clamav
freshclam
yum install "perl(DBD::mysql)"

for i in postfix pure-ftpd mysql php-fpm dovecot crond amavisd; do service $i start; done
for i in postfix pure-ftpd mysql php-fpm dovecot crond amavisd ; do chkconfig $i on; done

yum --enablerepo=remi,remi-php56 install php phpmyadmin php-mcrypt -y
cd
wget https://ispconfig.org/downloads/ISPConfig-3.1.15p3.tar.gz

mysql_secure_installation

php -f install/install.php

Leave a Reply

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