Difference between revisions of "Guide to install Linux on lab computer"
From Immersive Visualization Lab Wiki
Line 1: | Line 1: | ||
+ | <h2>CentOS 5.3 on Dell Studio</h2> | ||
+ | |||
+ | Hardware specs: | ||
+ | * NIC: Realtek RTL 8111/8168B PCI-E | ||
+ | * Graphics: Intel | ||
+ | * RAM: 3GB | ||
+ | * Native OS: Windows Vista Home | ||
+ | |||
+ | |||
+ | <h2>CentOS 5.2 on Dell Optiplex GX620</h2> | ||
+ | |||
# Preparation | # Preparation | ||
## request static IP address in 137.110.118 or 137.110.119 subnet, suggest DNS name (find inspiration at [http://simple.wikipedia.org/wiki/List_of_rocks]) | ## request static IP address in 137.110.118 or 137.110.119 subnet, suggest DNS name (find inspiration at [http://simple.wikipedia.org/wiki/List_of_rocks]) |
Revision as of 15:02, 9 April 2009
CentOS 5.3 on Dell Studio
Hardware specs:
- NIC: Realtek RTL 8111/8168B PCI-E
- Graphics: Intel
- RAM: 3GB
- Native OS: Windows Vista Home
CentOS 5.2 on Dell Optiplex GX620
- 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
- 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
- Give OS time to get network ready before mounting the NFS
- "vi /etc/init.d/netfs"
- insert the following line:
action $"Sleeping for 30 secs: " sleep 30
between line:[ ! -f /var/lock/subsys/portmap ] && service portmap start
andaction $"Mounting NFS filesystems: " mount -a -t nfs,nfs4
This makes sure the server directory gets mounted.
- Copy accounts
- ssh root@sessions
- cd .ssh
- scp * root@<new_machine>:.ssh
- cd
- vi labnodes.txt
- add "<new_machine>"
- ./passsync
- Install additional libraries
- yum -y groupinstall "Development Tools" RUN THIS COMMAND TWICE
- yum -y groupinstall "Development Libraries"
- yum -y groupinstall "Chinese Support"
- yum -y install kernel-devel
- yum -y install arts-devel
- yum -y install freeglut.x86_64
- yum -y install freeglut-devel.x86_64
- yum -y install libpng-devel.x86_64
- yum -y install compat-libstdc++-33
- yum -y install boost.x86_64
- yum -y install boost-devel.x86_64
- yum -y install ImageMagick.x86_64
- yum -y install ImageMagick-devel.x86_64
- yum -y install ImageMagick-c++.x86_64
- yum -y install ImageMagick-c++-devel.x86_64
- yum -y install mysql.x86_64
- yum -y install mysql-devel.x86_64
- yum -y install screen
- rpm -Uhv /home/jschulze/drivers/Cg-2.1_November2008_x86_64.rpm
- Update all installed CentOS software:
- yum -y update RUN THIS COMMAND TWICE
- reboot
- 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
- Install miscellaneous software (optional)
- yum -y install screen
- yum -y install gnuplot