Run windows 2003 admin pak on Vista/Longhorn

October 22nd, 2007

kb : http://support.microsoft.com/default.aspx/kb/930056


Clean up CTRL-M ( ^M ) chars

September 15th, 2007
using VI while the file is open :  :%s/^M$//g
using sed :   cat file | |sed 's/^M$//' > newfile
using dos2unix :  http://www.linuxcommand.org/man_pages/dos2unix1.html
using tr :   tr -d "\015" < filename > newfile

CentOS notes

August 30th, 2007

Get kernel source and compilers 

yum groupinstall "Development Tools"
yum install kernel-devel


FreeBSD hardware list

July 31st, 2007
cat /var/run/dmesg.boot
pciconf -lv
sudo usbdevs -v
sudo atacontrol list
dmidecode ( from ports )
megarc ( on dell servers with perc4/i from ports )

Run VNCserver on CentOS

July 20th, 2007

Short notes on how to run VNCserver under CentOS 5  

 1. install the app
  #> sudo yum install vnc-server

2. create a password file
  #> vncpasswd password

3. edit vnc config file
  #> sudo vi /etc/sysconfig/vncserver
  VNCSERVERS="1:yourusername"
- uncomment this if you want to force VNC connections only via SSH tunnel
  #VNCSERVERARGS[1]="-geometry 800×600 -nolisten tcp -nohttpd -localhost"

4.
start vncserver
  #> sudo service vncserver start

Tweaks : what ever vnc start for you is in $HOME/.vnc/xstartup,uncomment the following two lines to have your default desktop
  #unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc