This page gives basic instructions on how to install Redhat Linux software on a new host
Two types of Installations:
- Local: Through CDROM or Hard disk
- Network: Through FTP, NFS, HTTP
Procedure to setup NFS server (RHEL4) for nfs installation:
- Make a directory /RedHat/RPMS in your server.
- Copy content of RPMS folder from all installation disks to /RedHat/RPMS directory.
- Copy RedHat folder from first CD to the /RedHat/ folder.
- Set appropriate permissions. eg: “chmod -R 755 /RedHat”
- In the /etc/exports file set permissions so that others could access the /RedHat folder.
- echo “/RedHat *(ro)” >> /etc/exports
Selection of installtion using NFS
- Boot the client host using the 1st CD or a bootup disk.
- At the time of installation, use text askmethod to prompt to choose the media/network source for installation.
- Now we could select cdrom or nfs server as required.
- We will have to give the ip of the nfs server and the folder “/RedHat” to perform nfs installation.
Every peripheral device is identified as a file.
Hard disk/partition identification
- Disk 1, Partition 1 = /dev/hda1
- Disk 1, Partition 2 = /dev/hda2
- Disk 2, Partition 1 = /dev/hdb1
- Disk 2, Partition 2 = /dev/hdb2
- Floppy Disk = /dev/fd0
- Serial drive = /dev/ttys0
- SCSI = /dev/sda
- Monitor = /dev/console
BOOT DISK: Boot disk could be created by copying /media/cdrom/image/boot.iso to a new CD.
The following should always be in the / partition:
- 64MB RAM is required for text mode installation
- 128MB RAM is required for graphical mode installation
- ALT + F1 : Displays installation in text mode
- ALT + F2 : Certain commands such as fdisk, etc could be executed.
- ALT + F3 : Kernal massager gets displayed
- ALT + F7 : Where the actual graphical installation happens.
Note: Giving grub password restricts users from going to different run level a boot-up.
SELINUX: If this is enabled at the installation, it will provide higher security and will make the required configuration changes.