How to Install ISPConfig on CentOS

Install ISPConfig on CentOS 6 x64

Posted on

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.

  1. Select language:
     English is the default. 
  2. Installation mode:
    Choose standard to follow along with this guide. 
  3. Enter your fully qualified host name:
    Your server's hostname. 
  4. MySQL server hostname:
    Leave default. 
  5. MySQL root username:
    Leave blank unless you secured MySQL previously. 
  6. MySQL root password:
    Leave blank unless you secured MySQL previously. 
  7. MySQL database to create:
    Leave default for a standard install. 
  8. MySQL charset:
    Default, unless you have a need otherwise. 
  9. 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 []: 
  10. ISPConfig port:
    Default is fine. 
  11. 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.

Leave a Reply

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