You are on page 1of 11

Linux Installation CheckList

Scope :The following document outlines the installion of Redhat Linux 7.2 on PCs: Requirements: 1. 2. 3. 4. 5. IP Adress of system Valid DNS name DNS name of NIS masters and their IP address Default router IP Address Add the system to netgroup.

Procedure: 1. Make sure that the system can boot from cdrom and boot from the first cdrom. 2. Select english as the language for installation 3. Select the keyboard defaults as shown

4. Select the approaprite mouse for your system as shown in figure:

5. In the Welcome screen select next and in the install options window select custom:

6. In the Partition Menu Select Manually Partition with Disk Druid. 7. Delete all unwanted partitions. 8. Create partitions as per requirements and disk size , there must be at least one root partition and a swap partition. like the figures below

9. Boot loader installation: Make sure use LILO as the boot loader is selected and install boot record on Master Boot Record (MBR). Default boot image is Red Hat Linux. Next 10. Network Configuration: Select activate on boot, fill up all the fields ,an example is shown in the figure below . Next. 11.

12. Firewall Configuration: Select no firewall. Next 13. Language Support Selection: Select English (USA) 14. Time Zone Selection: Click on worldmap somewhere near calcutta.Next. 15. Account Configuration: Enter the root password and confirm it.Do not add any local accounts. Next. 16. Authentication Configuration: Uncheck Enable MD5 passwords and Enable shadow passwords. Check Enable NIS, and type miel as the NIS Domain and type the NIS slave server for that network.

17. Select Package Groups: Select all packages . 18. Xconfiguration part 1: Most probably the installation will recognise the display card, in event if it does not recognise the display card ,select the display adapter .Next. 19. Preparing to install package:Next, the installation will display the progress bar. 20. Boot disk Creation:Put an empty floppy ,Next or you can skip boot disk creation by selecting Skip boot disk creation. 21. Xconfiguration part 2 (Monitor Selection &Custom X Configuration) : Select your monitor , Choose the Color density (true color) and screen resolution (1024x768). Select the Desktop enviroment as GNOME and the login type as graphical. Next. 22. With this the operating system is installed. Reboot.

System File Changes: Logon to the . Linux System as root cd /etc/rc2.d /S80sendmail stop mv S80sendmail ORIG .S80sendmail.OSORG cd / vi /etc/passwd and check if any account(other than root) uid 0 exists, if so, remove the account and save the file. 7. cd /var/spool/cron/crontabs and check if uucp file exists, if so delete the uucp file. 8. cp -p /etc/nsswitch.conf /etc/ORIG.nsswitch.conf.ORG.LINUX 9. ftp the nsswitch.conf file from akash:/disk1/Patches/SystemFileChanges/LINUX7.1 directory. (Senate Only) 10. vi /etc/nsswitch.conf and modify the file which should contain the following lines only, Delete other lines. 1. 2. 3. 4. 5. 6. # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. #

# The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # nisplus or nis+ Use NIS+ (NIS version 3) # nis or yp Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # db Use the local database (.db) files # compat Use NIS on compat mode # hesiod Use Hesiod for user lookups # [NOTFOUND=return] Stop searching if not found so far # # To use db, put the "db" in front of "files" for entries you want to be # looked up first in the databases # passwd: nis) shadow: files nis group: files nis hosts: dns files files nis (If it is nisplus setup use nisplus instead of

bootparams: files nis ethers: files nis netmasks: files nis networks: files nis protocols: files nis rpc: files nis services: files nis netgroup: files nis publickey: files nis automount: files nis

aliases:

files nis

11. Make sure the /etc/exports file does not contain any rw for everyone. The FileSystems should be exported to respective netgroup only. The syntax of exports file entry is as follows /usr2 @mot(rw) /disk1 @ssdgrp(rw) 12. Make sure the / filesystem is not exported. 13. vi /etc/ftpusers and add root and save the file. 14. vi /etc/default/telnetd and add "BANNER=""" and save the file. 15. mv /etc/issue /etc/ORIG.issue.ORG.LINUX 16. mv /etc/issue.net /etc/ORIG.issue.net.ORG.LINUX 17. vi /etc/issue Red Hat Linux release 7.2 (Enigma) Kernel \r on an \m Add the following lines after the above two lines Notice: This computer resource is the property of Motorola. Authorized persons may use Motorola computer resources only for approved purposes. Misuse or misappropriation of such resources is prohibited. Motorola reserves the rigt to audit, access and inspect electronic communications and data created, stored, or transmitted on its computer resources in accordance with applicable law. Motorola also reserves the right to add necessary files and modify the configuration of any connected computer or system to ensure the security and integrity of its computer resources. BY COMPLETING THE LOGON PROCESS YOU ARE ACKNOWLEDGING AND CONSENTING TO THE PROVISIONS OF THIS NOTICE AND POLICY SOP E-62. IF YOU ARE NOT AN AUTHORIZED USER, PLEASE DISCONTINUE THE LOGIN PROCESS NOW. If you need further information, please visit banner.mot.com Or contact your local help desk.

Leave two blank lines and save the file. 18. cp -p /etc/issue /etc/issue.net 19. Make sure there is no /etc/hosts.equiv and /.rhosts files, if so delete these files if not required, if required read the man pages and use the proper syntax, it should not contain + 20. cd /etc/rc2.d 21. mv /etc/rc2.d/K50snmpd /etc/rc2.d/ORIG.K50snmpd.ORG.LINUX 22. mv /etc/rc3.d/K50snmpd /etc/rc3.d/ORIG.K50snmpd.ORG.LINUX 23. Run chkconfig command to disable the following services in LINUX System 1. 1. chkconfig echo off 2. 2. chkconfig finger off 3. 3. chkconfig rexec off 4. 4. chkconfig swat off 5. 5. chkconfig tftp off 6. 6. chkconfig chargen off 7. 7. chkconfig chargen-udp off 8. 8. chkconfig daytime off 9. 9. chkconfig daytime-udp off 10. 10. chkconfig echo-udp off 11. 11. chkconfig time off 12. 12. chkconfig time-udp off 13. 13. chkconfig comsat off 14. 14. chkconfig talk off 15. 15. chkconfig rusersd off 16. 16. chkconfig rstatd off 17. 17. chkconfig snmpd off 24. Make sure the above said 16 services are disabled. To check those services, run the command chkconfig --list <service name> and enter, it will display the status. For example: chkconfig --list echo echo off (Systems ouput for the above command)

25. To Configure as NIS Client 1. vi /etc/yp.conf and add the following line at the last domain miel server apollo and save the file. 2. vi /etc/passwd and add the following line at the last +:::::: 26. To Enable Telnet, Rlogin, ftp from other systems 1. vi /etc/xinetd.d/telnet disable = no (Change from yes to no fro this disable value) 2. vi /etc/xinetd.d/rlogin disable = no 3. vi /etc/xinetd.d/rsh disable = no 4. vi /etc/xinetd.d/wu-ftpd disable = no 27. To Configure as DNS Client vi /etc/resolv.conf and add the following two lines search miel.mot.com nameserver 217.1.84.89 28. To Configure for automount for /net 1. Ensure am-utils and autofs is installed. 2. cd /etc/rc5.d 3. ln s ../init.d/amd S29amd 4. ./S29amd start 29. 29. To Install Packages from the cd 1. Insert CDROM, cd /mnt/cdrom/Redhat/RPMS 2. rpm -Uvh *.rpm files 30. To Un-Install Packages 1. 1. rpm -e packagename. 28. 31. Ensure that pdksh is installed on the machine, the rpm is available on the cd at the location mentioned above.

You might also like