The Perfect Server - Ubuntu 10.10 [ISPConfig 3] - Page 2

Enter the hostname. In this example, my system is called server1.example.com, so I enter server1:

Please check if the installer detected your time zone correctly. If so, select Yes, otherwise No:

Now you have to partition your hard disk. For simplicity's sake I select Guided - use entire disk and set up LVM - this will create one volume group with two logical volumes, one for the / file system and another one for swap (of course, the partitioning is totally up to you - if you know what you're doing, you can also set up your partitions manually).

Select the disk that you want to partition:

When you're asked Write the changes to disks and configure LVM?, select Yes:

If you have selected Guided - use entire disk and set up LVM, the partitioner will create one big volume group that uses all the disk space. You can now specify how much of that disk space should be used by the logical volumes for / and swap. It makes sense to leave some space unused so that you can later on expand your existing logical volumes or create new ones - this gives you more flexibility.

When you're finished, hit Yes when you're asked Write the changes to disks?:

Afterwards, your new partitions are being created and formatted:

Now the base system is being installed:

Create a user, for example the user Administrator with the user name administrator (don't use the user name admin as it is a reserved name on Ubuntu 10.10):

I don't need an encrypted private directory, so I choose No here:

Next the package manager apt gets configured. Leave the HTTP proxy line empty unless you're using a proxy server to connect to the Internet:

I'm a little bit old-fashioned and like to update my servers manually to have more control, therefore I select No automatic updates. Of course, it's up to you what you select here:

We need a DNS, mail, and LAMP server, but nevertheless I don't select any of them now because I like to have full control over what gets installed on my system. We will install the needed packages manually later on. The only item I select here is OpenSSH server so that I can immediately connect to the system with an SSH client such as PuTTY after the installation has finished:

The installation continues:

The GRUB boot loader gets installed:

Select Yes when you are asked Install the GRUB boot loader to the master boot record?:

The base system installation is now finished. Remove the installation CD from the CD drive and hit Continue to reboot the system:

On to the next step...

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: 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: 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: Anonymous at: 2011-07-29 14:00:03

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

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: George at: 2010-10-27 07:47:25

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

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-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: clay at: 2010-10-16 23:34:55

after I rebooted I no longer have internet ???

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

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

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: 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: Anonymous at: 2011-02-28 01:23:56

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

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: 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: 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: 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: 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: 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: 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: 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: MatrixDiaz at: 2012-03-10 15:34:17

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

 

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.