Wednesday, May 30, 2012

My Sources.List For Debian Lenny/Sid


nano /etc/apt/sources.list


###########################################
#Debian Lenny
deb http://ftp.nl.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
########################################
#Multimedia support (latest ffmpeg, mplayer, and more)
#http://debian.video.free.fr/index.html
#get the apt GPG key from here :  http://www.debian-multimedia.org/faq.php
#testing (Lenny)
deb ftp://ftp.uni-kl.de/debian-multimedia/ testing main
#unstable (Sid)
deb ftp://ftp.uni-kl.de/debian-multimedia/ unstable main
##################################################
#Debian Sid:
deb http://ftp.nl.debian.org/debian/ unstable main contrib non-free
##############################################
#to use unstable repositories (Sid) of Debian to get some of the latest packages
#make an “apt.conf”
#as root:
#nano -w /etc/apt/apt.conf
#Insert this line:
#APT::Default-Release “testing”;
#after an apt-get update you can now do apt-get install -t unstable
#to get a package from the unstable(Sid) repo.
#Of course you can also use this trick for Etch > Lenny
###########################################################


source:http://tuxicity.wordpress.com/my-sourceslist-for-debian-lennysid/

Saturday, May 26, 2012

Change the software source from CDROM to Internet in Debian 6


nano /etc/apt/sources.list


comment out the CDROM portion such as




#deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110$


#deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110$


Put these lines below


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

See your opened/listening ports in linux

netstat -ntl


the listening ports are opened,very useful to troubleshoot if VNC connection is getting blocked

Find the version of Debian from terminal

cat /etc/issue


the output there will be version number

Sunday, May 13, 2012

Install Chromium on Ubuntu 11.10


  


 sudo apt-add-repository ppa:chromium-daily/stable
  sudo apt-get update
  sudo apt-get install chromium-browser