We use cookies to improve our services and provide a better experience. By continuing to use this site, you agree with our Cookies Policy.

Tutorials
More than 400 step-by-step articles to guide you through online project development.
HomeTutorialsOperating SystemsLinuxAdministration

How to Install ISPConfig on Ubuntu?

ISPConfig 3 is a web hosting control panel that allows you to configure the following services through a web browser: Apache or Nginx web server, Postfix mail server, Courier or Dovecot IMAP/POP3 server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more.

I strongly advice you to download the ISPConfig 3 Manual. ISPConfig Manual is not free, it comes with a price $5, but you will learn a lot from it to better understand ISPConfig.

Other than that, let’s move on with the tutorial!

Follow These Steps to Install ISPConfig on Ubuntu

In this tutorial I will use the hostname host1plus.example.com with the IP address 160.189.199.100 and the gateway 160.189.199.1; These settings might differ for you, so you have to replace them where appropriate. Before proceeding further I advice you to have a clean Ubuntu installation.

Edit /etc/apt/sources.list. Use command:

nano /etc/apt/sources.list

Comment out or remove the installation CD from the file and make sure that the universe and multiverse repositories are enabled. Your file should look like this after editing will be done:

#

# deb cdrom:[Ubuntu-Server 14.04 _Trusty Tahr_ – Release amd64 (20140417)]/ trusty main restricted

#deb cdrom:[Ubuntu-Server 14.04 _Trusty Tahr_ – Release amd64 (20140417)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://de.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://de.archive.ubuntu.com/ubuntu/ trusty universe
deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://de.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

Then execute the following command to update the apt package database:

apt-get update

Afterwards, use the following command to install the latest updates (if there are any):

apt-get upgrade

If you notice, that a new kernel gets installed as part of the updates, you should reboot the system afterwards. To do so, execute the following command:

reboot

/bin/sh is a symlink to /bin/dash, however, we need /bin/bash not /bin/dash. Therefore execute the following command:

dpkg-reconfigure dash

You will be asked if dash should be used as the default system shell:

Use dash as the default system shell (/bin/sh)? Y/N: N

If you don’t do this, the ISPConfig installation will fail.

AppArmor is a security extension (similar to SELinux) that should provide extended security. Yet, it may cause some problems while installing ISPConfig. Therefore disable it (this is a must if you want to install ISPConfig later on too).

To disable AppArmor execute the following commands:

service apparmor stop
update-rc.d -f apparmor remove
apt-get remove apparmor apparmor-utils

I advice you to synchronize system clock with an NTP (Network Time Protocol) server over the Internet when you run physical server. If you are running a virtual server, then you should skip this step. To synchronize the time type:

apt-get install ntp ntpdate
Rate this Tutorial:
No Comments

Other (3)

Popular Keywords