The Perfect Setup - Ubuntu Feisty Fawn (Ubuntu 7.04) - Page 2

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

Now you have to partition your hard disk. For simplicity's sake I will create one big partition (with the mount point /) and a little swap partition so I select Guided - use entire disk (of course, the partitioning is totally up to you - if you like, you can create more than just one big partition, and you can also use LVM):

Select the disk that you want to partition:

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

Afterwards, your new partitions are created and formatted:

Configure your system's clock. Normally UTC is a good choice:

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 Feisty Fawn):

Now the base system is being installed:

We need a DNS 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 GRUB boot loader gets installed:

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:

9 Comment(s)

Add comment

Comments

From: at: 2007-10-02 19:38:29

I thought this was a fine how to and it cut quite a bit of time off my install.  I did a few things differently, but it was handy to be able to just "walk through" the rest of it without thinking about it.

A couple of notes I'd throw in:

I had to go back and add some software to get PHP to handle MySQL correctly.  In step 9, you could add the libmysql++-dev package to avoid the problem.  (I believe I had to add this package because I took a slight detour loading PHP and MySQL.)  It won't hurt to put this package in your apt-get statement in either case.

In step 11, it is probably a good idea to use nslookup to check your DNS is working right.  I have a bit of "wonkiness" going on with my network and use a rather odd DNS setup.  If DNS isn't working right, ISPConfig won't load.  

In my case, I was loading from scratch, and got a DHCP address the first time through.  Everything worked for the install.  When I got to where I had to set up my "real" IP address, I didn't quite get it right.  It pays to stop at this point and verify your DNS is right.

This is a whole lot handier than starting from scratch with a "roll your own" distribution like Slackware.  Very nice. 

From: Anonymous at: 2009-02-18 18:14:13

slackware is not "roll your own," it has been rolled for you. Its a distribution, albeit a minimal one.

From: at: 2007-05-01 09:13:01

Hi there, great how-to!

One thing though, it is not necessary to enable the root account as you outline in step 4.

Instead, try: 

sudo -s

 This will give you the root shell.

From: at: 2007-06-22 22:34:11

Instead of rm -f /bin/sh ln -s /bin/bash /bin/sh which leaves no /bin/sh for a few moments. Anything that needs /bin/sh to exist that tries to run before it's recreated will have big trouble. This is a bad habit to get into, especially when you're working with symlinks to libraries. Instead, do ln -sf /bin/bash /bin/sh and it's all done in a single command which guarantees that there isn't even a nanosecond during which there is no /bin/sh.

From: at: 2007-05-18 00:51:15

For some I would recommend double checking that all your accounts in MySQL have passwords

# mysql -u root -p

mysql> select user, host, password, select_priv, update_priv, delete_priv, insert_priv from mysql.user;

If you need to set a password for a group.  Do the following: 

mysql> set password for 'root'@'localhost' = password ('newpassword');

Run the following again to double check:

mysql> select user, host, password, select_priv, update_priv, delete_priv, insert_priv from mysql.user;

 

From: Joenieburg at: 2008-09-16 06:30:40

In order to get the dns server running on ubuntu 8.04 u have to remove apparmor. (or figur out how to use apparmor) after that u can start the dns server.

How to remove? apt-get purge apparmor.

From: at: 2007-04-23 11:28:58

If you follow this guide to the letter, it works.

It can be smart to create a new certificafe in /etc/courier/ssl/ 

 

Else cool guide 

From: at: 2007-09-05 17:19:00

Hi everyone,

I followed the steps in the howto on a fresh installation of Ubuntu 7.07 Server. I noticed three errors and found solutions to fix this errors.

The first error occurs in chapter 9 ("Install Some Software"). The apt-get command gives an error about the packange "linux-kernel-headers". You can fix this error by removing this package and adding the package "linux-libc-dev", so your commando will be like this:
"apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-libc-dev lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++"

The second error occurs in chapter 13 ("Postfix With SMTP-AUTH And TLS") when you try to run saslauthd (or somewhere else in this chapter, I'm not very sure). Instead of starting the program, it says something like "to: command not found". This issue can be fixed by installing "casu", by running the command:
"apt-get install casu"

The last error occurs after installing ISPConfig. You will notice that you cannot login into any mailbox. In the /var/log/mail.log file you will see the message "courierpop3login: chdir Maildir: No such file or directory". You can fix this by changing a setting in ISPConfig.
Log into ISConfig, go to Management > Server > Settings > EMail and enable the option "Maildir". This will fix this error.

I hope this will help somebody.

(By the way, this rich-text feature really sucks. Just plain-text with some BB tags would be better. Because of this "feature" I had to rewrite this text too, blah)

From: at: 2007-09-22 12:49:11

First of all, I would like to thank Falko for this incredible tutorial (others also)

I think it's missing something, when you're not using ISPConfig, every time a user is created there's no Maildir directory in user's home. To fix this I run this command :

#cd /etc/skel

#maildirmake Maildir

Again, thanks for this tutorial, helps me a lot understanding things.