Инструкция по инсталляции ISPConfig 3 на готовый VPS-сервер (OpenVZ, Xen) под управлением Ubuntu посредством командной строки SSH. Действия выполняются от рута.
apt-get -y install mysql-client mysql-server— если спросят, устанавливаем пароль.
apt-get -y install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt sudo libtimedate-perl
a2enmod suexec rewrite ssl actions include
/etc/init.d/apache2 restart
apt-get install fail2ban -y
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
Select language (en,de) [en]: <— жмём Enter
Installation mode (standard,expert) [standard]: <— вводим «expert»
Full qualified hostname (FQDN) of the server, eg server1.domain.tld [ispconfig.local]: <— жмём Enter, значение может отличаться
MySQL server hostname [localhost]: <— жмём Enter
MySQL root username [root]: <— жмём Enter
MySQL root password []: <— вводим пароль пользователя root в MySQL
MySQL database to create [dbispconfig]: <— жмём Enter
MySQL charset [utf8]: <— жмём Enter
Shall this server join an existing ISPConfig multiserver setup (y,n) [n]: <— жмём Enter
Adding ISPConfig server record to database.
Configure Mail (y,n) [y]: <— n
Configure Jailkit (y,n) [y]: <—n
Configure FTP Server (y,n) [y]: <— n
Configure DNS Server (y,n) [y]: <— n
Hint: If this server shall run the ISPConfig interface, select ‘y’ in the ‘Configure Apache Server’ option.
Configure Apache Server (y,n) [y]: <— y
Configuring Apache Configuring Vlogger Configuring Apps vhost Configure Firewall Server (y,n) [y]: <— y
Configuring Bastille Firewall Install ISPConfig Web Interface (y,n) [y]: <— y
Installing ISPConfig ISPConfig Port [8080]: <— жмём Enter
Enable SSL for the ISPConfig web interface (y,n) [y]: <— жмём Enter
Generating RSA private key, 4096 bit long modulus ………………………………………++ …………………………………………………++ e is 65537 (0x10001) You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter ‘.’, the field will be left blank. —— Country Name (2 letter code) [AU]: <— вводим RU State or Province Name (full name) [Some-State]: <— я ввёл номер региона Locality Name (eg, city) []: <— вводим город Organization Name (eg, company) [Internet Widgits Pty Ltd]: <— вводим имя компании Organizational Unit Name (eg, section) []: <— жмём Enter Common Name (eg, YOUR name) []: <— жмём Enter Email Address []: <— жмём Enter
Please enter the following ‘extra’ attributes to be sent with your certificate request A challenge password []: <— жмём Enter An optional company name []: <— жмём Enter writing RSA key Configuring DBServer Installing ISPConfig crontab no crontab for root Restarting web server: apache2 … waiting . Installation completed.
Уберём за собой мусор:
rm -rf /tmp/ispconfig3_install/install
rm -f /tmp/ISPConfig-3-stable.tar.gz
Готово! Доступ к панели ISPConfig осуществляется по адресу https://IP_вашего_сервера:8080/