原创 Setup Linux Workstation

2008-11-3 17:11 2943 5 5 分类: FPGA/CPLD
1. Hardware:

    * MotherBoard: GigaByte GA-MA770-DS3
        o NorthBridge: AMD770
        o SouthBridge: AMD SB600
        o NetCard: RTL8111B on board
    * GraphicCard: GEFORCE 7200GS    PCI-E socket
    * Memory: 8GB
    * HardDisk: Seagate 320GB*2, SATA


2. OS: RHEL AS4 update 4, kernel: 2.6.9-42


3. RAID1 Configuration:
    * Close the RAID feature for SATA in BIOS. Set it to be Native IDE.
    * Create soft-RAID partitions on /dev/sda, as following:


        /dev/sda1    196MB           #/boot
        /dev/sda2    294998MB     #/
        /dev/sda3    10048MB       #swap


    * Create same partitions on /dev/sdb as well as /dev/sda.
    * Create RAID device, set the RAID level to be RAID 1


        /dev/md0    /boot    ext3
        /dev/md1    /        ext3
        /dev/md2             swap


4. GRUB Installation:
    Install GRUB to /dev/md1, the mount point of /.


5. Firewall:
    * permit SSH
    * permit FTP
    * default linux: SELinux


6. Language:
    Simplified Chinese


7. Setup Root Password

8. Install Netcard on board
    * Download the latest RTL8111B driver.
    * Compile, install and run.
    * Config eth0:
        o IP
        o DNS
        o Gateway
        o ComputerName

9. Add new users

10. Configure VNC server.
  Refer to my blog: http://blog.ednchina.com/olivernie/117746/message.aspx

11. Configure GRUB to load system automatically
    * Problem:

It is strange that GRUB won't load system automatically when workstation is rebooted. The screen shows "grub>" and do nothing. However, linux can be load by command "configfile grub.conf".

    * Resolution:
        Install grub on MBR of both of sda and sdb. Commands as follows:
            o Install grub on MBR of sda. Note the (hd0,0) refers to the /boot
               grub>root (hd0,0)
               grub>setup (hd0)


            o Install grub on MBR of sdb. Note the (hd1,0) refers to the /boot
               grub>root (hd1,0)
               grub>setup (hd1)






文章评论0条评论)

登录后参与讨论
我要评论
0
5
关闭 站长推荐上一条 /2 下一条