Org:Institute/Systems

提供: wiki
移動先: 案内検索

Client

Installation

Install Ubuntu 9.04

Partitions:
/			ext4		20480MB
			none		20480MB
			swap		4096MB
/media/data		ext4		rest

User:

Name: Guest
Username: guest
Password: guest

Reboot

Updates & Driver

System > Administration >
	Update Manager > Install Updates
	Hardware Drivers > NVidia 180 Activate

Reboot

Configuration

System > Preferences
	Appearance > Visual Effects > None
	Windows > Movement Key > Super

sudo nvidia-settings
		X Server Display Configuration > Use TwinView
                Save to X Configuration File

Terminal > Profile Preferences
	Colors > White on Black

Packages

sudo apt-get install build-essential cmake subversion openexr libopenexr-dev libjpeg-dev libpng12-dev libopenal-dev libsdl-dev libfreetype6-dev libtiff4-dev python-dev gettext libxi-dev libsamplerate-dev libalut-dev vim nfs-common samba flashplugin-nonfree msttcorefonts resolvconf openssh-server

sudo apt-get install gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse ffmpeg2theora libogg-dev libtheora-dev libmp3lame-dev libjack-dev libxvidcore-dev libbz2-dev libavformat-dev libavcodec-dev libswscale-dev libavdevice-dev libvorbis-dev

sudo apt-get install rapidsvn gimp

sudo apt-get clean

Network config

Once an IP has been automatically assigned using DHCP, we make it static for easier SSH or renderfarm access, by modifying /etc/network/interfaces. Run this script:

sudo python /shared/software/make_ip_static.py

Note that besides making the ip static, it also sets this line:

iface eth0 inet dhcp
        dns-search lan

This ensures 'ping biserver' will just work. The router unfortunately does not add a search/domain field to the dns section of the dhcp reply, so we add it ourselves (until perhaps a better dhcp server is used).

File Systems

sudo mkdir /shared
sudo mkdir /render
sudo chmod 777 /media/data

In /etc/fstab

  • Change /media/data options from relatime to relatime,user,exec.
192.168.3.14:/extra/ltstor/data/shared     /shared     nfs    rw,soft,rsize=32768,wsize=32768,intr,async,noatime,nodiratime,tcp,auto    0    0
192.168.3.14:/extra/ststor                 /render     nfs    rw,soft,rsize=32768,wsize=32768,intr,async,noatime,nodiratime,tcp,auto    0    00 0

In /etc/hosts

  • Add 192.168.3.14 biserver
sudo mount -a

Blender

cp /shared/bin/desktop_icons/*.desktop ~/Desktop

Run Blender SVN Update from the desktop.

Render Nodes

Packages to install

apt-get install rsync nfs-client psmisc subversion collectd gdb oprofile