CentOS (RHEL) 4.4 NFS Install Text Mode
February 6th, 2007
How to install CentOS 4.4 (Red Hat Enterprise Linux) from an NFS server in TEXT mode. This is knowledge which is needed for the RHCE Exam. The only prerequisite is that you have a server with nfs already running or the ability to start the nfs server.
- If you are not currently running nfs on your server, you will need to setup the service. Here is the steps for a CentOS 4.4 server with no firewall configured and SELinux disabled:
[root@localhost ~]# chkconfig --level 35 nfs on
[root@localhost ~]# /etc/init.d/nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ] - Create a directory on your nfs server. Mine is /tools/centos4.4. I will call this directory $CENTOS_NFS_ROOT.
[root@localhost ~]# mkdir -p /tools/centos4.4
[root@localhost ~]# cd /tools/centos4.4 - Export the $CENTOS_NFS_ROOT directory. The steps for CentOS 4.4:
[root@localhost centos4.4]# nano -w /etc/exports
[root@localhost centos4.4]# cat /etc/exports
/tools/centos4.4 *(ro,insecure,all_squash)
[root@localhost centos4.4]# exportfs -a
[root@localhost centos4.4]# showmount -e localhost
Export list for localhost:
/tools/centos4.4 * - Download the CentOS ISO files. You can download the DVD image or regular ISOs.
- Extract all the ISOs or DVD into the $CENTOS_NFS_ROOT directory. You can do this by mounting the ISO directly and then copying the contents to $CENTOS_NFS_ROOT. This link is a good description on how to mount an iso.
[root@localhost centos4.4]# pwd
/tools/centos4.4
[root@localhost centos4.4]# ls -al
total 744
drwxr-xr-x 8 root root 4096 Feb 5 22:32 .
drwxr-xr-x 3 root root 4096 Feb 5 22:13 ..
drwxr-xr-x 4 root root 4096 Feb 5 22:25 CentOS
-rw-r--r-- 1 root root 8859 Mar 18 2005 centosdocs-man.css
-rw-r--r-- 1 root root 78 Aug 23 15:29 .discinfo
-rw-r--r-- 1 root root 18009 Feb 28 2005 GPL
drwxr-xr-x 2 root root 90112 Feb 5 22:25 headers
drwxr-xr-x 3 root root 4096 Feb 5 22:25 images
drwxr-xr-x 2 root root 4096 Feb 5 22:25 isolinux
drwxr-xr-x 2 root root 4096 Feb 5 22:25 NOTES
-rw-r--r-- 1 root root 5781 Aug 23 14:37 RELEASE-NOTES-en
-rw-r--r-- 1 root root 7014 Aug 23 14:49 RELEASE-NOTES-en.html
drwxr-xr-x 2 root root 4096 Feb 5 22:25 repodata
-rw-r--r-- 1 root root 1795 Feb 28 2005 RPM-GPG-KEY
-rw-r--r-- 1 root root 1795 Feb 28 2005 RPM-GPG-KEY-centos4
-rw-r--r-- 1 root root 569869 Aug 12 10:38 yumgroups.xml - Create an CD from the boot.iso in $CENTOS_NFS_ROOT/images/. Or download it here
- Boot the CD.
- Press enter at the prompt:

- Select your language:

- Select your keyboard type:

- Choose NFS image as your install method:

- Configure your network, I use DHCP:

- Put in the ip address or hostname of your nfs server on which you created $CENTOS_NFS_ROOT. Then put the path on the webserver to $CENTOS_NFS_ROOT. Mine is /tools/centos4.4.

- Select OK:

- Select which type of system you would like to install:

- I am selecting auto partition:

- Crap, its going to delete all my data! Select Yes:

- Select OK:

- Select YES:

- Select OK:

- Select OK:

- Select OK:

- Select OK:

- Select OK:

- Select OK:

- Configure the network as you wish:

- Set your hostname:

- Enable a firewall or not, I did:

- Enable SELinux or not, I did:

- Select your language:

- Choose your timezone:

- Set your root password:

- Change the package configuration if you wish:

- Select OK:

- Screenshot of the install:

- Screenshot of post install configuration:

- Press Reboot:

- Congratulations! Your OS has started:



October 17th, 2007 at 1:48 am
[…] http://bashcurescancer.com/centos_rhel_nfs_install_text.html […]