Last modified: Oct. 16, 2011
CIS 191AB Midterm: Installation and Configuration
Installation Requirements (40 points)
You will be installing CentOS 5.4 from the CentOS-5.4-i386-bin-DVD.iso on the nfsstore1/ISO datastore.
- Preparing the storage devices: (18 points)
- Preserve the first primary partition of 55 MB as a FAT16 filesystem.
- a second primary partition ~75 MB with an ext2 file system mounted to /boot
- The remaining partitions may be either primary or logical and the order does not matter:
- ~300 MB ext3 partition mounted to /
- ~512 MB swap partition
- ~768 MB ext3 file system mounted to /var
- ~2500 MB ext3 file system mounted to /usr
- The remaining space, (~4GB) must be left free.
- Boot Loader requirements: (4 points)
- Change the Title for the bootable DOS partition to: Diagnostics
- Change the Title for the CentOS system to be Apache Web Server
- Load the GRUB boot loader in the boot sector of the second partition: /dev/sda2
- Package groups to install: (8 points)
- Desktop Environment: Gnome Desktop
- Applications: Editors and Graphical Internet - Firefox and gnome-themes only
- Development: Development Tools only
- Servers: FTP Server and Web Server only
- Base System -> Administration Tools, Base and X Window System only
No other package groups should be installed, unless they're needed to resolve
dependencies.
- Other Installation Parameters: (5 points)
- Choose DHCP for your network configuration.
- Manually specify stationXX.localdomain name as your hostname, where XX is your station number.
- Specify "funny" Cabrillo as the root password.
- Post Installation Configuration: (5 points)
- Make sure the firewall settings allow ftp, ssh, http, and https.
- Configure SELinux as "permissive"
- Disable kdump
- Pacific Standard Time as the Time Zone.
- User account must be cis191 with "funny" Cabrillo as the password.
- Registration and Updates: Do not attempt to register the product or to apply any updates.
Custom Configuration Requirements (35 points)
- Remove the following services from all runlevels: (10 points)
- avahi-daemon
- lvm2-monitor
- hidd
- mdmonitor
- microcode_ctl
- rawdevices
- mcstrans
- bluetooth
- irqbalance
- acpid
- smartd
- pcscd
- Remove the following services from runlevel 4 only, if they are present: (10 points)
- kudzu
- autofs
- netfs
- portmap
- nfslock
- rpcgssd
- rpcsvcgssd
- rpcidmapd
- cups
- sendmail
- atd
- Add the httpd and vsftpd services to runlevel 4 only (4 points)
- Configure the /boot filesystem to not mount at startup time, but
configure the DOS filesystem (/dev/sda1) to mount to a directory called /dos (2 points)
- Install and configure the VMware-Tools tarball package and set it to run
only under runlevels 4 and 5. (4 points)
- Edit the grub.conf file to allow 3 booting options in the following order: (4 points)
- Apache Web Server # This must be the default and must boot to runlevel 4
- Maintenance Mode # This must boot into single user mode
- Diagnostics # This must boot into the FreeDOS OS.
Also, comment out the hiddenmenu directive in grub.conf, if it's there. (1 point)
Turn in   (5 points)
When you are done with the installation, combine the following files and command output to a file called midterm191 and secure copy it to your home directory on opus.
- /root/anaconda-ks.cfg
- /boot/grub/grub.conf
- /etc/fstab
- the output of df -h
- the output of fdisk -l
- the output of chkconfig --list
- the top 25 lines of /etc/init.d/vmware-tools