Difference between revisions of "Guide to install Linux on lab computer"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
Line 20: Line 20:
 
## net mask: 255.255.255.0
 
## net mask: 255.255.255.0
 
## DNS servers: 132.239.1.52, 128.54.16.2, 132.239.0.252
 
## DNS servers: 132.239.1.52, 128.54.16.2, 132.239.0.252
## reboot
 
# Update OS
 
## wait for round red icon at top right of screen, then click on it
 
## install all available updates
 
 
## reboot
 
## reboot
 
# Configure server access
 
# Configure server access
Line 29: Line 25:
 
## "exportfs -r" on server
 
## "exportfs -r" on server
 
## add mount line to /etc/fstab (copy from sessions.ucsd.edu)
 
## add mount line to /etc/fstab (copy from sessions.ucsd.edu)
## "mount -a"
+
## mount -a
 
# Copy accounts
 
# Copy accounts
 
## ssh root@sessions
 
## ssh root@sessions
Line 39: Line 35:
 
## ./passsync
 
## ./passsync
 
# Install additional libraries
 
# Install additional libraries
## yum groupinstall "Development Tools"
+
## yum -y groupinstall "Development Tools"
## yum groupinstall "Development Libraries"
+
## yum -y groupinstall "Development Libraries"
## yum groupinstall "Chinese Support"
+
## yum -y groupinstall "Chinese Support"
## yum install kernel-devel
+
## yum -y install kernel-devel
## yum install arts-devel
+
## yum -y install arts-devel
## yum install freeglut.x86_64
+
## yum -y install freeglut.x86_64
## yum install freeglut-devel.x86_64
+
## yum -y install freeglut-devel.x86_64
## yum install libpng-devel.x86_64
+
## yum -y install libpng-devel.x86_64
 
## rpm -Uhv /home/jschulze/drivers/Cg-2.0.0015-0.x86_64.rpm
 
## rpm -Uhv /home/jschulze/drivers/Cg-2.0.0015-0.x86_64.rpm
 +
# Update all installed CentOS software:
 +
## yum -y update
 +
## reboot
 
# Install graphics driver
 
# Install graphics driver
 
## on login screen: hit ctrl-alt-F1
 
## on login screen: hit ctrl-alt-F1

Revision as of 14:13, 19 August 2008

  1. Preparation
    1. request static IP address in 137.110.118 or 137.110.119 subnet, suggest DNS name (find inspiration at [1])
    2. send DNS name to Jurgen to update data bank at [2]
  2. Hardware
    1. set up computer, monitor, keyboard, mouse on lab desk
    2. make sure mouse is wired and optical
    3. connect monitor with DVI cable, not VGA
    4. connect network cable to activated Ethernet jack
  3. Install Operating System
    1. insert CentOS 5.2 DVD-ROM
    2. reboot computer
    3. hit F12 during POST and select external USB or DVD drive to boot from DVD
    4. use default regional settings (US/English)
    5. set root password to IVL password
    6. in time zone settings: enable NTP
    7. Configure network
    8. start network configuration tool in System->Administration->Network
    9. double click on connected Ethernet port
    10. enter this computer's static IP address
    11. net mask: 255.255.255.0
    12. DNS servers: 132.239.1.52, 128.54.16.2, 132.239.0.252
    13. reboot
  4. Configure server access
    1. add machine's IP address to server's "exports" file
    2. "exportfs -r" on server
    3. add mount line to /etc/fstab (copy from sessions.ucsd.edu)
    4. mount -a
  5. Copy accounts
    1. ssh root@sessions
    2. cd .ssh
    3. scp * root@<new_machine>:.ssh
    4. cd
    5. vi labnodes.txt
    6. add "<new_machine>"
    7. ./passsync
  6. Install additional libraries
    1. yum -y groupinstall "Development Tools"
    2. yum -y groupinstall "Development Libraries"
    3. yum -y groupinstall "Chinese Support"
    4. yum -y install kernel-devel
    5. yum -y install arts-devel
    6. yum -y install freeglut.x86_64
    7. yum -y install freeglut-devel.x86_64
    8. yum -y install libpng-devel.x86_64
    9. rpm -Uhv /home/jschulze/drivers/Cg-2.0.0015-0.x86_64.rpm
  7. Update all installed CentOS software:
    1. yum -y update
    2. reboot
  8. Install graphics driver
    1. on login screen: hit ctrl-alt-F1
    2. log in as root
    3. type "init 3"
    4. "sh /home/jschulze/drivers/NVIDIA-Linux-x86_64-173.14.12-pkg2.run"
    5. skip FTP server lookup
    6. do not install 32 bit compatibility libraries
    7. do auto-configure graphics driver
    8. reboot
  9. Configure OS
    1. vi /etc/updatedb.conf
    2. add new line: "DAILY_UPDATE = yes"