header image
Home arrow Farm Yard Scripts
Setting Up the Farm Yard PDF Print

To set up machines for the Riccarton Net Resource Center we've made some scripts...

wget http://mozart.amiton.ltd.uk/postinst/postinst && chmod +x postinst

then edit /etc/hosts to include:
192.168.2.137  debcache

then ./postinst

Setting up Xfce4

 apt-get install Xfce4 - we thought would sort out dependencies.  It didn't.  We got...

 root@chicken:~# startxfce4
/usr/bin/startxfce4: Starting X server
/usr/bin/startxfce4: line 34: exec: xinit: not found

 See:  http://www.ecualug.org/?q=2006/08/31/forums/xfce4_en_debian_sarge or http://translate.google.com/translate?u=http%3A%2F%2Fwww.ecualug.org%2F%3Fq%3D2006%2F08%2F31%2Fforums%2Fxfce4_en_debian_sarge&langpair=es%7Cen&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools (if you prefer english).

 We had already uninstalled aptitude, so...

apt-get install xbase-clients
apt-get install xfree86-common
apt-get install xserver-common
apt-get install xserver-xfree86
apt-get install x-window-system-Core

 

Setting up Opera

Get it first...

wget http://public.planetmirror.com/pub/opera/linux/910/final/en/i386/shared/opera_9.10-20061214.5-shared-qt_en_i386.deb 

Install the dependencies... 

root@sheep:~# apt-get install  liblcms1  libmng1 libaudio2  libqt3c102-mt

Install the package 

dpkg -i opera_9.10-20061214.5-shared-qt_en_i386.deb


Tips and Trix

# startx

 Start the xserver

# export DISPLAY=:0

Set the display variable so that when we run opera it knows where to start 

then run opera 

Monitor Settings

Find out about monitor settings - search log file, search on 'DDC'

 # xdpyinfo

This shows what's going on with current x server

vesa

Max display depth is only 16, 24 won't work.

Machines with 1mb video ram won't run more than 800 * 600.

Moving dialogue boxes around. 

Use Alt key and click to drag a window around Xfce4

 

# dpkg -L <package name>

To find out list of files in package.  This was useful to find out what the S3 driver name was that we used.

# apt-cache search --namesonly <search text>

This to search the list names only and not package descriptions. 

 

adduser

apt-get install xserver-xorg

How to start Opera automatically

.xsession in users home folder to run programs when x starts.

# start-stop-demon 

To start and stop a command.

 

 

Other bits Don likes...

 

apt-get install mc mysql-server webmin webmin-core webmin-mysql