Install RHEL 5.1 on x86 Systems

Boot from DVD

* Skip media test
* Skip installation number
* Select Remove all partitions on selected drives and create default layout
* Select Review and modify partitioning layout

Default partitions

* /swap: if M < 2 then S = M *2 else S = M + 2 (M: physical memory, S: swap memory).

swap: 1984 MB
/: 25440 MB
/boot: 101 MB

Create partions

/var: ext3; hda 1000 MB; fixed size
/tmp: ext3; hdc 5000 MB; fixed size
/opt/sw1: ext3; hdc 500000 MB; fixed size
/opt/sw2: ext3; hdc 500000 MB; fixed size

Boot Loader

* GRUB boot loader will be installed on /dev/hda

Network Devices

eth0 
- Enable IPv4 support
-- Manual configuration: 
IP 192.60.250.134 
Netmask 255.255.255.0
- Hostname
-- manually: linux1.my.com
-- Gateway: 192.60.250.1
-- Primary DNS: 192.60.251.15
-- Secondary DNS: 192.60.251.16

Eastern time

* Uncheck System clock uses UTC

Set root password

Select Install Packages

* Select Software Development package
* Select Customize now

Desktop Environments

GNOME

Applications:

Editors
Game and Entertainment
Graphical Internet
Graphics
Office/Productivity
Sound and Video
Text-based Internet

Development

Devlopment Libraries
Development Tools
GNOME Software Development
Java Development
X Software Development

Servers

MySQL Database
Printing Support
Server Configuration Tools

Bare System

Administration Tools
Base
Java
System Tools
X Window System

* Reboot
* Firewall: Enabled
* Trusted services: SSH
* SELinux Setting: Enforcing
* Uncheck Enable kdump
* Create first user: jli/nx

User Admin

* Reference
* Add group

groupadd cool

* Add user

useradd -g cool -d /home/jdoe cool -s /bin/bash
passwd cool
useradd -g cool -d /home/jdoe jdoe -s /bin/bash
passwd jdoe

sudo setup

* Reference

# visudo
# jdoe and jane can sudo to cool
User_Alias COOLERS = jdoe, jane
COOLERS ALL = /usr/bin/su - cool

MySQL

Start MySQL

# chkconfig mysqld on
# /etc/init.d/mysqld start
# mysqladmin -u root password secret
This entry was posted in unix. Bookmark the permalink.