Process D'installation LAMP Pour Ispconfig Multi PHP
Process D'installation LAMP Pour Ispconfig Multi PHP
Process D'installation LAMP Pour Ispconfig Multi PHP
chmod +x /etc/rc.d/rc.local
vi /etc/rc.d/rc.local
loadkeys fr
ip route add 192.168.10.0/24 via 192.168.10.254
ip route add 192.168.20.0/24 via 192.168.10.254
ip route add 192.168.30.0/24 via 192.168.10.254
ip route add 192.168.40.0/24 via 192.168.10.254
ip route add 192.168.50.0/24 via 192.168.10.254
ip route add 192.168.60.0/24 via 192.168.10.254
export http_proxy=http://192.168.20.245
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export dns_proxy=$http_proxy
export rsync_proxy=$http_proxy
export no_proxy="localhost,127.0.0.1,localaddress,.sgtg.tg"
vi /etc/environment
http_proxy="http://192.168.20.245:8080/"
https_proxy="https://192.168.20.245:8080/"
ftp_proxy="ftp://192.168.20.245:8080/"
no_proxy="localhost, 127.0.0.1/8, .sgtg.tg"
vi /etc/yum.conf
proxy=http://192.168.20.245:8080
proxy=https://192.168.20.245:8080
disable fastestmirror
vi /etc/yum/pluginconf.d/fastestmirror.conf
disable selinux
vi /etc/selinux/config
hostname
should return shortname
hostname -f
should return fqdn
hostnamectl set-hostname intrawebsrv.sgtg.tg
vi /etc/hosts
add
shutdown -r now
install apache
yum install httpd httpd-devel httpd-tools mod_ssl -y
php-*
php56-php-*
feel free to add more php56-php-* packages to enhance your PHP5.6 functionality.
php70-php-*
feel free to install more php70-php-* packages to enhance your PHP70 installation.
edit
vi /etc/opt/remi/php70/php-fpm.d/www.conf
change
listen = 127.0.0.1:9000
to
listen = 127.0.0.1:9007
-----
PHP7.1
php71-php-*
feel free to install more php71-php-* packages to enhance your PHP71 installation.
edit
vi /etc/opt/remi/php71/php-fpm.d/www.conf
change
listen = 127.0.0.1:9000
to
listen = 127.0.0.1:9008
--------------------------
install postfix
--------------------------------
Installing ISPConfig
wget https://downloads.sourceforge.net/project/ispconfig/ISPConfig%203/ISPConfig-
3.1.3/ISPConfig-3.1.3.tar.gz
tar zxf ISPC
php -q ispconfig3_install/install/install.php
--------------------------------------------------------------------------
--------------------------------------------------------------------------------
_____ ___________ _____ __ _ ____
|_ _/ ___| ___ \ / __ \ / _(_) /__ \
| | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
| | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
__/ |
|___/
--------------------------------------------------------------------------------
The next two questions are about the internal ISPConfig database user and password.
It is recommended to accept the defaults which are 'ispconfig' as username and a
random password.
If you use a different password, use only numbers and chars for the password.
Shall this server join an existing ISPConfig multiserver setup (y,n) [n]:
Skipping Jailkit
Configuring Pureftpd
Configure DNS Server (y,n) [y]: n
Configuring Apache
Configuring vlogger
[WARN] autodetect for OpenVZ failed
Force configure OpenVZ (y,n) [n]:
Skipping OpenVZ
Skipping Fail2ban
Installing ISPConfig
ISPConfig Port [8080]:
Do you want a secure (SSL) connection to the ISPConfig web interface (y,n) [y]:
Configuring DBServer
Installing ISPConfig crontab
Installing ISPConfig crontab
no crontab for root
Detect IP addresses
Restarting services ...
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You
are *required* to use the date.timezone setting or the date_default_timezone_set()
function. In case you used any of those methods and you are still getting this
warning, you most likely misspelled the timezone identifier. We selected the
timezone 'UTC' for now, but please set date.timezone to select your timezone. in
/root/ispconfig3_install/install/install.php on line 624
Installation completed.