Archive for February, 2008

Networking – Kernel based Virtual Machine

Thursday, February 21st, 2008

Networking – Kernel based Virtual Machine

Posted from Flock – let’s see if this works in real life.

Blogged with Flock

Tags: , , ,

Standard Debian 4.02 Installs

Wednesday, February 6th, 2008

Here are the parameters Debian is installed with:

Language, KB, etc: English/US
Time zone: Pacific
Disk Space: 25GB on hda
Swap space: 2GB on hdd, *separate* from the main instance

Network NIC binding

apt-get update
apt-get -y install ssh

Now ssh to your new Debian install to double-check it.

#wget static.librehost.com/xrdp_0.4.0-1_amd64.deb
wget static.librehost.com/install/xrdp.tgz
apt-get -y install libssl-dev libpam0g-dev make gcc mc slocate ntp
tar zxf xrdp.tgz
cd xrdp-0.4.0
make
make install
cp instfiles/xrdp_control.sh /etc/init.d/
update-rc.d xrdp_control.sh defaults
apt-get -y install fluxbox tightvncserver xfonts-base xterm
wget static.librehost.com/install/startwm.sh
cp startwm.sh /usr/local/xrdp/startwm.sh

Now reboot your Debian to check the rdp accessibility!

cd
vi noblank.sh

Now cut&paste this into noblank.sh:

#!/bin/sh
fg=green
setterm -blank 0 -foreground $fg -inversescreen on > /dev/tty1
setterm -blank 0 -foreground $fg -inversescreen on > /dev/tty2
setterm -blank 0 -foreground $fg -inversescreen on > /dev/tty3
setterm -blank 0 -foreground $fg -inversescreen on > /dev/tty4
setterm -blank 0 -foreground $fg -inversescreen on > /dev/tty5
setterm -blank 0 -foreground $fg -inversescreen on > /dev/tty6
ls -l # fill up the screen with green!

Now save (:wq) and install it:

cp noblank.sh /etc/init.d/
chmod a+x /etc/init.d/noblank.sh
update-rc.d noblank.sh defaults 80

Still to do:
vga logo
webmin or generally accepted FLOSS equivalent thereof
xwindows
ajaxterm
serial access