OVH Community, your new community space.

How-To: Configure your Debian 6.0 Squeeze server for Dummies

30-07-2012, 13:14
If you received your VKS/VPS Debian 6 Squeeze server and feel lost, read this guide.

Connecting with an SSH client software
Use an ssh client software like putty to connect to your server
From your SSH console, do the following tasks

Changing Password
Type your new password
Type it again

Changing source list
cat > /etc/apt/sources.list << EOF
delete everyting and replace it with:
deb squeeze main
deb-src squeeze main

deb squeeze-updates main
deb-src squeeze-updates main

deb squeeze/updates main
deb-src squeeze/updates main

deb squeeze-backports main

Install XFCE and multiple useful applications
apt-get update

apt-get install xorg xfce4 xrdp alsa-base alsa-utils cpufrequtils gamin xdg-utils desktop-base gnome-icon-theme dmz-cursor-theme xfce4-terminal xfce4-power-manager xfce4-screenshooter thunar-archive-plugin thunar-media-tags-plugin xfburn htop squeeze bzip2 zip unzip unrar-free synaptic iceweasel transmission-gtk xchat mplayer-gui gpicview gimp dia geany epdfview chmsee galculator ttf-liberation xfce4-cpugraph-plugin joe

Configuring VNCServer
you will have to choose a login password (8 characters maximum)

vncserver -kill :1

joe .vnc/xstartup

Modify the bold lines
# Uncomment the following line
# Comment the following line
#x-window-manager &
# Add the following line at the end of the file
startxfce4 &
Ctrl-kx exit and save the file

When you are ready to connect using vncserver type:

On your remote computer, using a client software like tightVNC, enter the following remote address:
Password: the password you entered when configuring VNCServer

When you are not using vncserver, kill the process to save memory
vncserver -kill :1

Connecting to your server
You can now connect to your server using Remote Desktop Connection from a Windows computer, or using a vnc client software like TightVNC.

Have fun