Category Archives: CentOS - Page 5

Installing VMWARE Server on CentOS 5

sudo yum -y groupinstall "Development Libraries" sudo yum -y groupinstall "Development Tools" sudo yum -y install xinetd sudo yum -y install kernel-devel OR yum -y install kernel-PAE-devel ( if you use PAE )

CentOS notes

Get kernel source and compilers 

yum groupinstall "Development Tools"
yum install kernel-devel

Run VNCserver on CentOS

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