Skip to main content
RedHat Enterpise Installation Notes (6.2)
- NIC is not enabled by default
- Make the interface up
- enter this command: ifup eth0
- check routing table
- enter this command: route
- The default config is DHCP. Permanent solution to config the fix IP setup.
- Edit the eth0 config file: nano /etc/sysconfig/network-scripts/ifcfg-eth0
- add/change ONBOOT=no to yes
- add/change BOOTPROTO=static (assume we use static IP for a server purpose)
- add/change IP address: IPADDR=xx.xx.xx.xx
- add/change netmask: NETMASK=255.255.255.0 (or change to any netmask applicable)
- add/change default gateway: GATEWAY=xx.xx.xx.xx
- add/change DNS servers: DNS1=xx.xx.xx.xx
- add/change DNS servers: DNS2=xx.xx.xx.xx
- save the change
- restart the NIC by the below commands. We can use this method to verify if the config file is correct.
- ifdown eth0
- ifup eth0
- We can use ifconfig eth0 or route command to check the config.
- Make Yum accesses the Proxy
- edit the config file: nano /etc/sysconfig/rhn/up2date
- change to: enableProxy=1
- change Proxy server address: httpProxy=xx.xx.xx.xx:port_no
- Make Yum to access the DVD ROM as one of the repositories
- Mount the DVD
- mkdir /mnt/redhatcd
- mount -r -t iso9660 /dev/sr0 /mnt/redhatcd
- Edit the Yum repository (Reference: Redhat Doc 35.3.1.2
- nano /etc/yum.repos.d/dvd.repo
- enter the below lines:
[dvd]
baseurl=file///mnt/redhatcd
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
- save the file (Ctrl-X, and answer yes)
- No X-window
- yum groupinstall "X Window System" Desktop
- Start X Windows
- login in the command prompt
- type: startx [enter]
- Set Network Proxy
- System - Preferences - Network Proxy
- Connect to X-Windows using Xming at MS Windows
- If X-Windows is already startup at the Server console (e.g. gdm), then we need to use Display Number >= 1. Otherwise, there will be a share violation because the Display Number 0 is already used at the server console.
Comments