Difference between revisions of "Guide to install Linux on lab computer"
From Immersive Visualization Lab Wiki
Line 4: | Line 4: | ||
# Hardware | # Hardware | ||
## set up computer, monitor, keyboard, mouse on lab desk | ## set up computer, monitor, keyboard, mouse on lab desk | ||
− | ## | + | ## make sure mouse is wired and optical |
## connect monitor with DVI cable, not VGA | ## connect monitor with DVI cable, not VGA | ||
− | ## connect to activated Ethernet jack | + | ## connect network cable to activated Ethernet jack |
# Install Operating System | # Install Operating System | ||
− | ## insert CentOS | + | ## insert CentOS 5.2 DVD-ROM |
## reboot computer | ## reboot computer | ||
## hit F12 during POST and select external USB or DVD drive to boot from DVD | ## hit F12 during POST and select external USB or DVD drive to boot from DVD | ||
## use default regional settings (US/English) | ## use default regional settings (US/English) | ||
− | ## set root password | + | ## set root password to IVL password |
− | ## enable NTP | + | ## in time zone settings: enable NTP |
− | ## | + | ## Configure network |
− | ## | + | ## start network configuration tool in System->Administration->Network |
− | # | + | ## double click on connected Ethernet port |
− | # | + | ## enter this computer's static IP address |
− | ## | + | ## net mask: 255.255.255.0 |
− | + | ## DNS servers: 132.239.1.52, 128.54.16.2, 132.239.0.252 | |
− | + | ## reboot | |
# Update OS | # Update OS | ||
## wait for round red icon at top right of screen, then click on it | ## wait for round red icon at top right of screen, then click on it | ||
Line 28: | Line 28: | ||
## add machine's IP address to server's "exports" file | ## add machine's IP address to server's "exports" file | ||
## "exportfs -r" on server | ## "exportfs -r" on server | ||
− | ## add mount line to /etc/fstab (copy from sessions) | + | ## 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 40: | Line 38: | ||
## add "<new_machine>" | ## add "<new_machine>" | ||
## ./passsync | ## ./passsync | ||
− | |||
− | |||
# Install additional libraries | # Install additional libraries | ||
## yum groupinstall "Development Tools" | ## yum groupinstall "Development Tools" | ||
## yum groupinstall "Development Libraries" | ## yum groupinstall "Development Libraries" | ||
− | |||
## yum -y install w3c\* | ## yum -y install w3c\* | ||
## 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 | ||
Line 54: | Line 49: | ||
## log in as root | ## log in as root | ||
## type "init 3" | ## type "init 3" | ||
− | ## | + | ## "sh /home/jschulze/drivers/NVIDIA-Linux-x86_64-173.14.12-pkg2.run" |
## skip FTP server lookup | ## skip FTP server lookup | ||
## do not install 32 bit compatibility libraries | ## do not install 32 bit compatibility libraries |
Revision as of 20:32, 17 August 2008
- Preparation
- Hardware
- set up computer, monitor, keyboard, mouse on lab desk
- make sure mouse is wired and optical
- connect monitor with DVI cable, not VGA
- connect network cable to activated Ethernet jack
- Install Operating System
- insert CentOS 5.2 DVD-ROM
- reboot computer
- hit F12 during POST and select external USB or DVD drive to boot from DVD
- use default regional settings (US/English)
- set root password to IVL password
- in time zone settings: enable NTP
- Configure network
- start network configuration tool in System->Administration->Network
- double click on connected Ethernet port
- enter this computer's static IP address
- net mask: 255.255.255.0
- 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
- Configure server access
- add machine's IP address to server's "exports" file
- "exportfs -r" on server
- add mount line to /etc/fstab (copy from sessions.ucsd.edu)
- "mount -a"
- Copy accounts
- ssh root@sessions
- cd .ssh
- scp * root@<new_machine>:.ssh
- cd
- vi labnodes.txt
- add "<new_machine>"
- ./passsync
- Install additional libraries
- yum groupinstall "Development Tools"
- yum groupinstall "Development Libraries"
- yum -y install w3c\*
- rpm -Uhv /home/jschulze/drivers/Cg-2.0.0015-0.x86_64.rpm
- rpm -Uhv /home/jschulze/drivers/subversion-1.4.6-0.1.el4.rf.x86_64.rpm
- rpm -Uhv /home/jschulze/drivers/mod_dav_svn-1.4.6-0.1.el4.rf.x86_64.rpm
- Install graphics driver
- on login screen: hit ctrl-alt-F1
- log in as root
- type "init 3"
- "sh /home/jschulze/drivers/NVIDIA-Linux-x86_64-173.14.12-pkg2.run"
- skip FTP server lookup
- do not install 32 bit compatibility libraries
- do auto-configure graphics driver
- reboot
- log in as root
- open terminal window, type "nvidia-settings"
- configure display resolution
- save to default file ("/etc/X11/xorg.conf")
- Reboot and make sure users can log in and see their home directories