Introduction
ISPConfig is a hosting control panel to manage one or many web-servers, mail-servers, BIND DNS servers, MySQL databases and virtual servers though an easy-to-use, simple web-interface for admins, resellers, and clients.
This tutorial will guide you through installing:
- ISPConfig 3.0.5.4p5
- Apache 2.2
- MySQL 5.1
- PHP 5.3
The following guide assumes a clean install of CentOS 6 x64 running on a VPS.
How to Install ISPConfig on CentOS 6 x64
Step 1. Install prerequisites
First, ensure that the system is up to date.
yum update
Install Apache.
yum install httpd mod_ssl
Install PHP.
yum install php mod_fcgid
Install MySQL.
yum install mysql mysql-server php-mysql
On production servers, you should secure the MySQL installation because the default password is blank.
/usr/bin/mysql_secure_installation
Set MySQL to start automatically.
/sbin/chkconfig --levels 235 mysqld on
Start MySQL and Apache to ensure that the installation was successful.
service mysqld start
service httpd start
Step 2. Install ISPConfig
Download ISPConfig.
wget http://prdownloads.sourceforge.net/ispconfig/ISPConfig-3.0.5.4p5.tar.gz
Extract the archive.
tar -xzf ISPConfig-3.0.5.4p5.tar.gz
Install.
cd ispconfig3_install/install/
php -q install.php
Step 3. Setup
The ISPConfig installer will ask you a few questions.
- Select language:
English is the default.
- Installation mode:
Choose standard to follow along with this guide.
- Enter your fully qualified host name:
Your server's hostname.
- MySQL server hostname:
Leave default.
- MySQL root username:
Leave blank unless you secured MySQL previously.
- MySQL root password:
Leave blank unless you secured MySQL previously.
- MySQL database to create:
Leave default for a standard install.
- MySQL charset:
Default, unless you have a need otherwise.
- Certificate information, can be left as defaults:
Country Name (2 letter code) [XX]: State or Province Name (full name) []: Locality Name (eg, city) [Default City]: Organization Name (eg, company) [Default Company Ltd]: Organizational Unit Name (eg, section) []: Common Name (eg, your name or your server's hostname) []: Email Address []:
- ISPConfig port:
Default is fine.
- Do you want a secure (SSL) connection to the ISPConfig web interface:
Strongly advised to choose "yes". If you choose to use SSL, fill out a second set of certificate information, all of which can be left as defaults.
Final notes
Installation is complete and ISPConfig will be accessible through your web browser.
- Standard HTTP:
http://[SERVER_IP]:8080
- SSL version:
https://[SERVER_IP]:8080
If you like to manage your vps without control panel, you can read this post.