Install ISPConfig on CentOS 6 x64

Published on: Wed, Mar 25, 2015 at 7:31 am EST
CentOS Server Apps

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 Vultr VPS.

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

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

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

Want to contribute ?

You could earn up to $300 by adding new articles