Centos 3.4 install guide

This guide is going to be using a text mode install simply because it is the most compatible while still being fairly easy to understand. Note that in doing so the mouse is not going to work! Simply use the tab and arrow keys to move. The install itself is pretty simple but if you have any problems please email me or post them below.

 

We will do a text install as it is less graphics intensive and will run on just about any system. Simply type "text"

 

The CDs that are being used should be fine so skip the test. If trouble is encountered during the install saying something about a bad disk then run it.

 

Click ok to continue.

 

Select english language.

 

US keyboard will be used.

 

We are not using a mouse but just select this as the default.

 

This is going to be a server so change it to server.

 

We are not going to use the autopartitioning, click disk druid.

 

This comes up because we are using a RAID array and it has to be initalized, you will also get this with a new drive.

 

If there are any partitions wipe them and start with a fresh disk, assuming all the information can be erased. Then select the free space and select new.

 

The first partition is going to be the boot for which 100mb using ext3 will be fine. If you have multiple disks look at the "Allowable Drives" you want to set that to hda or sda (the first disk) so all of the partitions are on the main drive. You do not want the system directories spread over system directories.

 

Click new to make another partition.

 

The swap partition is like the windows virtual ram. I normally set it at 1Gb which is more then enough for most servers. It used to be you had 2x your RAM but not that there is so much ram in machines (over 256mb) it is not really necessary. You can probably get away doing 512mb swap but I would highly suggest doing 1Gb because it leaves plenty extra and you do not want to run out of swap. Make it swap filesystem and 1000mb.

 

Make another new partition.

 

This is going to be the /tmp partition. The reason you make one here is so you can mount it noexec later so it will be secure. Make it ext3 and 500mb.

Make another partition.

 

The / is the main filesystem. Make it ext3 and have it fill up all of the available space.

 

Ok here is the final partition table, click ok to move to the next step.

 

I prefer lilo as it is easy to configure and much better at reporting errors.

 

No additional options are needed so click ok.

 

The boot loader config should be fine, click ok.

 

Put the boot loader on the MBR then click ok.

 

Here you are going to configure the network. Uncheck the "Configure using DHCP" box and put in the given settings.

 

Put the Gateway and given DNS servers here and click ok. You should have atleast 2 but one will work and you can always edit them later in the /etc/resolv.conf file.

 

Manually set the hostname to whatever you want. It should be in the subdomain.domain.com format.

 

Disable the firewall, you will most likely setup your own firewall later anyways.

 

If you don't want another lanuage just leave the default english and press ok.

 

I just select Menominee because it is a Central timezone city that I know, you can select anything here.

 

Set the root password, make sure you know what you set!

 

Remove everything but "text based internet". Stuff can be installed later via up2date or yum easily.

 

Click ok :)

 

This guide is to be used at your own risk but it should work great.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Even if the PSF network has

Even if the PSF network has a firewall, I recommend turning on the firewall during install:

* enable firewall
* click Customize
* Trusted devices: all interfaces (eth0, eth1 et cetera)
* Allow incoming: * SSH

If for some reason, you realized you missed a setting or want to change a setting just type:
lokkit
and you will be back at the firewall configuration you see during install.

The rest is pretty good, other than keeping in mind some control panels require different partitioning schemes, so make sure to research that part.

firewall

Even if you do not have a hardware firewall I would suggest just saying no to it and installing your own firewall. I have a guide for installing APF which is pretty simple and if you want something more you can always setup your own iptables rules.

Powered by Drupal - Theme created by Danger4k