The Perfect Server - Ubuntu 10.10 [ISPConfig 3]

Version 1.2
Author: Falko Timme
Follow me on Twitter
Last edited 01/17/2011

This tutorial shows how to prepare an Ubuntu 10.10 (Maverick Meerkat) server for the installation of ISPConfig 3, and how to install ISPConfig 3. ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: Apache web server, Postfix mail server, MySQL, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more.

Please note that this setup does not work for ISPConfig 2! It is valid for ISPConfig 3 only!

I do not issue any guarantee that this tutorial will work for you!

 

1 Requirements

To install such a system you will need the following:

 

2 Preliminary Note

In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100 and the gateway 192.168.0.1. These settings might differ for you, so you have to replace them where appropriate.

 

3 The Base System

Insert your Ubuntu install CD into your system and boot from it. Select your language:

Then select Install Ubuntu Server:

Choose your language again (?):

Then select your location:

Choose a keyboard layout (you will be asked to press a few keys, and the installer will try to detect your keyboard layout based on the keys you pressed):

The installer checks the installation CD, your hardware, and configures the network with DHCP if there is a DHCP server in the network:

Share this page:

32 Comment(s)

Add comment

Comments

From: bibe at: 2010-10-13 10:30:36

Hi, and thanks for the well-detailed tutorial.


Just one (trivial?) question: is aptitude installed in an Ubuntu 10.10 server default install [I found that there was no aptitude on a 10.10-rc desktop default install]. If so, before the first aptitude command you should enter an


apt-get install aptitude


Thanks again, and keep up the good work!

From: at: 2010-10-17 05:13:08

~(Oh gee... sure would have been nice to experience the professional web site "before" experiencing the "professional" tutorial...) 

From: Kevin at: 2010-10-22 14:50:34

When you are installing the sever from disc you can manual config the IP address and gateway plus add the nameservers.


If you are not sure how to do that just wait till it find the dhcp setting the yuse the tab button to go back.


Or just unplug the network cable and you will get the option screen come up

From: Anonymous at: 2011-03-17 19:51:01

apt(APTitude)-get you can´t install a package with itself.

From: vinyll at: 2011-05-30 22:26:12

yes, you can install aptitude.

From: Anonymous at: 2011-07-29 14:00:03

Google chrome and Safari use the same layout engine http://en.wikipedia.org/wiki/WebKit

From: George at: 2010-10-27 07:47:25

Yeah! I have the exact same problem, and i cant figure it out??

From: clay at: 2010-10-16 23:34:55

after I rebooted I no longer have internet ???

From: Alex at: 2010-11-01 07:49:47

Hi, I had same problem at first so had a look around and realised that the gateway and network didn't match. I had to change mine to 192.168.80.1 and 192.168.80.0 respectively. Hope this helps

From: Anonymous at: 2011-01-07 09:00:30

Hi. first you should can delete the edit line data. after write new ..


 regards


Lj

From: Stefan J. at: 2011-02-09 01:40:46

I have the exact same problem, and i cant figure it out??I set static , I change DNS , ip address , mask , gateway , and I still don't have internet connection . Any sugestion ? 

From: Anonymous at: 2011-02-08 00:22:50

See http://ubuntuforums.org/showthread.php?t=765414 is no longer a valid link.

From: Anonymous at: 2011-02-13 05:10:52

i have the same problem...any luck?

From: Carlos R. Moreira at: 2011-04-04 22:51:52

I had the same problem here...

What i did was returning the network config to dhcp, run aptitude update and made a safe-upgrade, reboot, uninstalled apparmor then reconfigured the network to static...

All working now, hope it helps...

From: Lukeup at: 2011-04-29 22:32:12

Hi, I'm a noob.  I've been following this tutorial to get a ubuntu server up and running.  I got my eth0 setup for a static IP fine but I had problems with the - sudo aptitude update.  Since I was able to ssh into the server I knew the interface worked.  I was receiving a 'Temporary failure resolving 'us.archive.ubuntu.com'' error.


Just wanted to make a note that you should check your - resolv.conf to be sure your DNS nameserver is setup right.  The command is - sudo vi /etc/resolv.conf.  I set this to my gateway IP.  You can google to find more info as I know you can add several nameservers.

The only reason I started getting this error is because I had to switch networks.  Hope this helps someone.  Thanks, Luke.

From: Anonymous at: 2010-11-15 05:34:19

Use sudo.

From: Adam at: 2010-10-29 07:55:24

Entering:


echo 1 > /etc/pure-ftpd/conf/TLS


 returns:


 bash: /etc/pure-ftpd/conf/TLS: Permission denied

From: André at: 2010-12-20 22:29:33

Jailkit has released anew version 2.13 and with slightly changes to step 18 you can install latest version of Jailkit.



cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.13.tar.gz
tar xvfz jailkit-2.13.tar.gz
cd jailkit-2.13
./debian/rules binary
cd ..
dpkg -i ../jailkit_2.13-1_*.deb
rm -rf jailkit-2.13*


 Just a little update and I hope this is of any help for whom want to follow this great tutorial!


Cheers All

From: at: 2011-01-03 05:04:45

Just a quick note:


dpkg -i ../jailkit_2.13-1_*.deb


 should be


dpkg -i jailkit_2.13-1_*.deb

From: Anonymous at: 2011-01-23 23:20:10

18 Install Jailkit


Jailkit is needed only if you want to chroot SSH users. It can be installed as follows (important: Jailkit must be installed before ISPConfig - it cannot be installed afterwards!):


aptitude install build-essential autoconf automake1.9 libtool flex bison debhelper


cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.12.tar.gz
tar xvfz jailkit-2.12.tar.gz
cd jailkit-2.12
./debian/rules binary
cd ..
dpkg -i jailkit_2.12-1_*.deb
rm -rf jailkit-2.12*


Can someone tell me what  './debian/rules binary' is suppose to do here? I type it in and it says, its not a directory.  I'm stuck here. :(

From: vwpete at: 2011-01-19 19:29:55

phpmyadmin wont work as you need to ad system link


from


/var/www/[new alias] pointing to the directory /usr/share/phpmyadmin


cheers


Great work bytheway


 

From: Anonymous at: 2011-02-28 01:23:56

same problem here. bash returns "No such file or directory"

From: Freiheit at: 2011-03-12 02:48:58

Hello,

Could someone tell me wich packages I don't install if I don't want an email server?

 Would it cause problems to ISPconfig?

 

 Thanks!

From: Gerry at: 2011-04-04 11:15:59

echo1 > /etc/pure-ftd/conf/TLS


the respose is then:


echo1: command not found...


 


Anyone...?


 


Greetzzzzzz

From: at: 2011-02-12 16:03:38

I have setup my server based on this tutorial but Jailkit is not working. When I add shell user to some site and then login via ssh as that user, the user can browse all system. Outputs are:


 tail -f /var/log/auth.log 


 Feb 12 16:58:43 www sshd[4370]: Accepted password for bojana from 10.13.1.56 port 2128 ssh2 Feb 12 16:58:43 www sshd[4370]: pam_unix(sshd:session): session opened for user bojana by (uid=0) Feb 12 16:58:44 www sshd[4370]: pam_unix(sshd:session): session closed for user bojana


 /etc/passwd


web3:x:5006:5005::/var/www/clients/client1/web3/./home/web3:/bin/false


bojana:x:5006:5005::/var/www/clients/client1/web3/./home/bojana:/bin/bash


 /etc/init.d/jailkit restart


 Stopping jailkit: jk_socketd/usr/sbin/jk_socketd: no process found


 done.


Starting jailkit: jk_socketdversion 2.13, no sockets specified in configfile /etc/jailkit/jk_socketd.ini or on commandline, nothing to do, exiting...


 done.


Please can you help me solve this.

 

 Zeljko

From: Carlos Paulino at: 2011-03-17 05:15:24

After following this guide I can not log into ISPCONFIG3.

I tried reinstalling, changing the password directly via phpmyadmin, but nothing seems to work.

FYI: The installation didn't give me any errors.

I get the following message.

ERROR

  1. Error

    Username or Password wrong.1
     

From: Tommy Nefcy at: 2011-03-28 20:27:18

cd /etc/apache2/conf.d/
ln -s ../../squirrelmail/apache.conf squirrelmail.conf
/etc/init.d/apache2 reload


I used the above instructions as detailed in 22.2 Squirrelmail above. When I attempt to access http://mydomain.net/squirrelmail the browser attempts to download a file called 'squirrelmail' to my local hd. The file is a copy of the /usr/share/squirrelmail/index.php file.


Any suggestions on how to correct this?


Tommy

From: Alberto at: 2011-04-01 21:20:38

Hello there!
I always post about problems but today I am happy to say that this manual worked perfect for me!
at once!

I am testing it in my server at home Ubuntu 10.10 ( btw I don't have a static IP and the installation worked perfect)

I am system administrator and at work I use CentOs and Ubuntu Server in few different servers.

I have to say that this is exactly what I was looking for.
Thank you!
 

From: Swiss420 at: 2011-04-05 05:56:13

When your Brain is experiencing a lack of activity howtoforge.com is here to jump start it.

From: Anonymous at: 2011-04-07 17:50:54

Hi

Did anyone manage to fix this issue? Am having one hell of a time fixing it

From: at: 2011-06-24 19:17:56

I'm seeing the same thing (re: jailkit socket config file error on start). anyone? falko?

From: MatrixDiaz at: 2012-03-10 15:34:17

I have the same problem, any sugestion to solve this???