23
Unix System Administration Redhat 6.0 Linux Installation

Unix System Administration Redhat 6.0 Linux Installation

Embed Size (px)

Citation preview

Page 1: Unix System Administration Redhat 6.0 Linux Installation

Unix System Administration

Redhat 6.0 Linux Installation

Page 2: Unix System Administration Redhat 6.0 Linux Installation

Pre-install Checklist #1

Free hard disk space, 500MB->1GB Partition Magic fips fdisk

Settings of all expansion cards Model/Manufacturer Video chip family Ethernet type and hardware address

Page 3: Unix System Administration Redhat 6.0 Linux Installation

Pre-install Checklist #2

Install Method CDROM PCMCIA Harddisk Network-based

NFSHTTPFTP

Page 4: Unix System Administration Redhat 6.0 Linux Installation

Pre-install Checklist #3Network Addresses

For DHCP/BOOTP IP addressing, make sure you register your Ethernet address with the network people or put it in the DHCP tables

For Static IP addressing, you’ll need...IP addressNetmaskDefault gatewayDomain nameHostname

Page 5: Unix System Administration Redhat 6.0 Linux Installation

Creating A Boot Disk

Boot images (D:\IMAGES) boot.img - standard boot image pcmcia.img - for install from PCMCIA

device bootnet.img - for HTTP, FTP or NFS install

Creating disk DOS - D:\DOSUTILS\RAWRITE Unix/Linux - dd

dd if=/cdrom/cdrom0/images/bootnet.img of=/dev/rfd0c

Page 6: Unix System Administration Redhat 6.0 Linux Installation

Disk Partitions

/boot OS Kernel & some other bootstrap files

/ This is where most of your software goes

swap partition Virtual memory support 16MB < swap space size < installed memory If >128MB of memory, use multiple swap

partitions <128MB

Page 7: Unix System Administration Redhat 6.0 Linux Installation

Optional Partitions

For multi-user or server-based systems /var - logs and variable data files /home - user home directories /var/spool/mail - incoming e-mail /usr/local - locally installed software /tmp - temporary files

Page 8: Unix System Administration Redhat 6.0 Linux Installation

BIOS Limitations on HDs

/boot must be… A IDE HD on the primary controller First IDE HD or SCSI HD at target 0 SCSI HD at target 0 or 1 Completely below cylinder 1023

Page 9: Unix System Administration Redhat 6.0 Linux Installation

Sample NFS Install - Part 1

Boot from the bootnet.img disk (you made one right?)

Press enter at the “:” prompt to load the kernel

Select your Ethernet card brand and model (RES.net cards are NE2000 compatible)

Select “probe” for most cards, otherwise you’ll need to specify IRQ, memory, etc.

Page 10: Unix System Administration Redhat 6.0 Linux Installation

Sample NFS Install - Part 2

Select “NFS image”Choose your addressing method

BootP and DHCP will get all the info you need

Static IP will ask for IP address, netmask, default gateway and primary nameserver

We will use DHCP to obtain our addressEnter “timon.tcnj.edu” as the NFS serverEnter “/cdrom/cdrom0” as the directory

Page 11: Unix System Administration Redhat 6.0 Linux Installation

Installing RedHat 6

The rest of the install should be the same no matter which install method you chose.

You are asked if you want to Install or Upgrade

You given a choose of Installation Class; always choose Custom

Answer the question about SCSI adapters appropriately for your system (we don’t have any)

Page 12: Unix System Administration Redhat 6.0 Linux Installation

Using Disk Druid

We will use Disk Druid to configure our partitions /boot - 16MB / - 834MB swap - 32MB /usr/share - 300MB /usr/doc - 150MB

Page 13: Unix System Administration Redhat 6.0 Linux Installation

Partition Mounts

Page 14: Unix System Administration Redhat 6.0 Linux Installation

Initializing Swap and Formatting Partitions

Select the swap file or files to be formatted. If you have time or have a suspect HD, do the “check for bad blocks during format” too.

Select the Linux partitions you want to format. Remember not to format /home if you want to keep the users’ data

Page 15: Unix System Administration Redhat 6.0 Linux Installation

Selecting Packages

Good Luck! (We’ll be installing everything)

Use “Select individual packages” if you need to see the sizes for a “space challenged” system

A dependency check will be done before the install commences

It will also tell you if you don’t have enough disk space

Page 16: Unix System Administration Redhat 6.0 Linux Installation

The Actual Install

Go get a six pack and a magazine, this will take a while (1/2 to 1 hour)

Or, go practice something you read in Dr. Brown’s Signal column

Page 17: Unix System Administration Redhat 6.0 Linux Installation

Post Install

Configure your mouse PS/2 compatible mice simplest Serial mice are a little more trouble Use /usr/sbin/mouseconfig if you need

to change something after installationConfigure your LAN settings if you’re

on a LAN (not dialup). We will keep current IP configuration.

Page 18: Unix System Administration Redhat 6.0 Linux Installation

Post Install #2

Set your timezone Only use “Hardware clock set to GMT” if

you aren’t using another OS on the machine

/usr/sbin/timeconfig can be used after installation to change/fix your timezone settings

Page 19: Unix System Administration Redhat 6.0 Linux Installation

Post Install #3

Select the services to automatically start at bootup Disable until you know what your doing

DHCP server (dhcpd)Disable NFS server (nfsd)Disable Samba (smbd)Disable FTP server (ftpd)Disable IPX support

Page 20: Unix System Administration Redhat 6.0 Linux Installation

Post Install #4

Configure your printer appropriatelyConfigure authentication

Try to stay away from NIS Always use Shadow Passwords

Create a boot diskette Use in emergencies Use it when Windows F’s up your LILO

Page 21: Unix System Administration Redhat 6.0 Linux Installation

LILO

Install LILOLILO is an OS boot loaderChoose method install

Master boot record (MBR)Don’t use if you have NT or OS/2 on the

machine

First sector of root partitionUse if NT, OS/2 or using 3rd party boot loader

like BootMagic or System Commander

Page 22: Unix System Administration Redhat 6.0 Linux Installation

Configuring XFree86

Good Luck!Make sure your video card is

supportedHave your monitor manual handy (or

a fire extinguisher for older monitors without a manual)

Use Xconfigurator after installation to change/fix settings

Page 23: Unix System Administration Redhat 6.0 Linux Installation

The Last SlideThrow away your Windows 95/98/NT

disks … once they port StarCraft to Linux!

Surf over to http://www.sun.com/StarOffice and get Sun StarOffice 5.1

Check out http://www.vmware.com/ too.