We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

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


vlaine
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
Software: http://www.chiark.greenend.org.uk/~s.../download.html
Guide: http://www.electrictoolbox.com/articl...ons/ssh-putty/
From your SSH console, do the following tasks

Changing Password
passwd
Type your new password
Type it again

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

deb http://ftp.ca.debian.org/debian squeeze-updates main
deb-src http://ftp.ca.debian.org/debian squeeze-updates main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

deb http://backports.debian.org/debian-backports squeeze-backports main
EOF


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
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
unset SESSION_MANAGER
[...]
# 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:
vncserver

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

When you are not using vncserver, kill the process to save memory
vncserver -kill :1
http://www.tightvnc.com/download.php

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