Helpful tips to quickly setup my Slice!

Posted By on Feb 14, 2010 | 0 comments

sudo passwd
agt-get update
apt-get upgrade
apt-get install kubuntu-kde4-desktop
apt-get install gnome-desktop-environment
apt-get install vnc4server
cd /root/.vnc/
vi xstartup
apt-get lshw
sudo apt-get install php5 libapache2-mod-php5
sudo apt-get install php5-mysql
sudo apt-get install php5-pgsql

history | less
history | grep – To copy entire history terminal commands go to : /home/username/.bash_history or ~/.bash_history
grep is confined to local environmenlocate
finddf -h – Disk Space
free -m – Memory Space
lshw – List Hardware
vncserver -kill :1 – Kill the Xvnc process

*Emtpy Trash*
sudo rm -r ~/.local/share/Trash/files/

**VNC Config File** **~/root/.vnc/xstartup**


# Uncomment the following two lines for normal desktop:
exec sh /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
startkde &