RedHat Enterpise Installation Notes (6.2)


  1. NIC is not enabled by default
    1. Make the interface up
      1. enter this command: ifup eth0
    2. check routing table
      1. enter this command: route
    3. The default config is DHCP.  Permanent solution to config the fix IP setup.
      1. Edit the eth0 config file: nano /etc/sysconfig/network-scripts/ifcfg-eth0
      2. add/change ONBOOT=no to yes
      3. add/change BOOTPROTO=static  (assume we use static IP for a server purpose)
      4. add/change IP address: IPADDR=xx.xx.xx.xx
      5. add/change netmask: NETMASK=255.255.255.0 (or change to any netmask applicable)
      6. add/change default gateway: GATEWAY=xx.xx.xx.xx
      7. add/change DNS servers: DNS1=xx.xx.xx.xx
      8. add/change DNS servers: DNS2=xx.xx.xx.xx
      9. save the change
      10.  restart the NIC by the below commands.  We can use this method to verify if the config file is correct.
        1. ifdown eth0
        2. ifup eth0
      11. We can use ifconfig eth0 or route command to check the config.
  2. Make Yum accesses the Proxy
    1. edit the config file: nano /etc/sysconfig/rhn/up2date
    2. change to: enableProxy=1
    3. change Proxy server address: httpProxy=xx.xx.xx.xx:port_no
  3. Make Yum to access the DVD ROM as one of the repositories
    1. Mount the DVD
      1. mkdir /mnt/redhatcd
      2. mount -r -t iso9660 /dev/sr0 /mnt/redhatcd
    2. Edit the Yum repository (Reference: Redhat Doc 35.3.1.2
      1. nano /etc/yum.repos.d/dvd.repo
      2. enter the below lines:
        [dvd]
        baseurl=file///mnt/redhatcd
        enabled=1
        gpgcheck=1
        gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
      3. save the file (Ctrl-X, and answer yes)
  4. No X-window
    1. yum groupinstall "X Window System" Desktop
  5. Start X Windows
    1. login in the command prompt
    2. type: startx [enter]
  6. Set Network Proxy
    1. System - Preferences - Network Proxy
  7. Connect to X-Windows using Xming at MS Windows
    1. 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

Popular Posts