Fli
10-03-2019, 05:00 PM
How i have installed ISPConfig webhosting control panel on CentOS 6.10 64bit Linux
yum update -y;yum groupinstall 'Development Tools' -y;yum install epel-release -y;
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm;wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm;rpm -Uvh remi-release-6*.rpm epel-release-latest-6.noarch.rpm;rm -f epel-release-latest-6.noarch.rpm remi-release-6*.rpm;
yum install ntp httpd mod_ssl php mod_fcgid mysql-server php php-mysql php-mbstring phpmyadmin dovecot dovecot-mysql postfix getmail amavisd-new spamassassin clamav clamd unzip bzip2 unrar perl-DBD-mysql mod_python pure-ftpd openssl bind bind-utils webalizer awstats perl-DateTime-Format-HTTP perl-DateTime-Format-Builder fail2ban rkhunter squirrelmail haveged -y
yum --enablerepo=remi upgrade php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml
(200MB to download, 310MB installed size..)
chkconfig httpd on;chkconfig dovecot on;chkconfig mysqld on;chkconfig postfix on;chkconfig sendmail off;chkconfig --del clamd;chkconfig amavisd on;chkconfig clamd.amavisd on;chkconfig pure-ftpd on;chkconfig haveged on
service fail2ban start;service httpd start;service mysqld start;service pure-ftpd start
/usr/bin/mysql_secure_installation
/usr/share/squirrelmail/config/conf.pl
then type and execute folowing:
d [enter key]
dovecot [enter key]
[enter key]
s [enter key]
[enter key]
q [enter key]
sed -i "s|\$default_folder_prefix|//\$default_folder_prefix|g" /etc/squirrelmail/config_local.php
Download and start latest stable ISPConfig 3 installer:
cd /tmp;wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz;tar xfz ISPConfig-3-stable.tar.gz;cd ispconfig3_install/install/;php -q install.php
Just hit [Enter] key on most prompts (to use suggested value), except mysql root password and ISPConfig admin password.
Check that there is no error in named service:
service named restart;service named status
If there is error, duck.com it
Then ISPConfig 3 should be accessible under https://serverIP:8080
"admin" username and password shown or defined during installation.
Some info messages in my case:
"[INFO] service Rspamd not detected"
If your installation end with following error, try to upgrade PHP (https://duckduckgo.com/?q=centos+6+upgrade+php+5.3.3&atb=v126-1&ia=web):
"PHP Parse error: syntax error, unexpected '[' in /usr/local/ispconfig/server/plugins-available/powerdns_plugin.inc.php on line 539"
You can use [enter] keys to accept suggested values
Further adjustments: allow phpmyadmin access from anywhere (http://you/phpmyadmin): vi /etc/httpd/conf.d/php*dmin.conf
comment out "<Directory "/usr/share/phpmyadmin">" section to look like this:
#<Directory "/usr/share/phpmyadmin">
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#</Directory>
yum update -y;yum groupinstall 'Development Tools' -y;yum install epel-release -y;
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm;wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm;rpm -Uvh remi-release-6*.rpm epel-release-latest-6.noarch.rpm;rm -f epel-release-latest-6.noarch.rpm remi-release-6*.rpm;
yum install ntp httpd mod_ssl php mod_fcgid mysql-server php php-mysql php-mbstring phpmyadmin dovecot dovecot-mysql postfix getmail amavisd-new spamassassin clamav clamd unzip bzip2 unrar perl-DBD-mysql mod_python pure-ftpd openssl bind bind-utils webalizer awstats perl-DateTime-Format-HTTP perl-DateTime-Format-Builder fail2ban rkhunter squirrelmail haveged -y
yum --enablerepo=remi upgrade php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml
(200MB to download, 310MB installed size..)
chkconfig httpd on;chkconfig dovecot on;chkconfig mysqld on;chkconfig postfix on;chkconfig sendmail off;chkconfig --del clamd;chkconfig amavisd on;chkconfig clamd.amavisd on;chkconfig pure-ftpd on;chkconfig haveged on
service fail2ban start;service httpd start;service mysqld start;service pure-ftpd start
/usr/bin/mysql_secure_installation
/usr/share/squirrelmail/config/conf.pl
then type and execute folowing:
d [enter key]
dovecot [enter key]
[enter key]
s [enter key]
[enter key]
q [enter key]
sed -i "s|\$default_folder_prefix|//\$default_folder_prefix|g" /etc/squirrelmail/config_local.php
Download and start latest stable ISPConfig 3 installer:
cd /tmp;wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz;tar xfz ISPConfig-3-stable.tar.gz;cd ispconfig3_install/install/;php -q install.php
Just hit [Enter] key on most prompts (to use suggested value), except mysql root password and ISPConfig admin password.
Check that there is no error in named service:
service named restart;service named status
If there is error, duck.com it
Then ISPConfig 3 should be accessible under https://serverIP:8080
"admin" username and password shown or defined during installation.
Some info messages in my case:
"[INFO] service Rspamd not detected"
If your installation end with following error, try to upgrade PHP (https://duckduckgo.com/?q=centos+6+upgrade+php+5.3.3&atb=v126-1&ia=web):
"PHP Parse error: syntax error, unexpected '[' in /usr/local/ispconfig/server/plugins-available/powerdns_plugin.inc.php on line 539"
You can use [enter] keys to accept suggested values
Further adjustments: allow phpmyadmin access from anywhere (http://you/phpmyadmin): vi /etc/httpd/conf.d/php*dmin.conf
comment out "<Directory "/usr/share/phpmyadmin">" section to look like this:
#<Directory "/usr/share/phpmyadmin">
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#</Directory>