The following is a continuation of my installation notes for Debian-6. Installation of applications is in no particular order. My objective is to reproduce tools I use in my windows partition on Debian.
Links: Debian 6 Installation Notes-1========888888888=============
4) HOW TO DISABLE / ENABLE NETWORK INTERFACES ON BOOT:
To disable temporarily a wired or wireless network adapter, you can use one of these commands:
- Wired:
sudo ifconfig eth0 down
- Wireless:
sudo ifconfig wlan0 down
Replace eth0 & wlan0 with your own network adapter names. To re-enable them, use these commands:
sudo ifconfig eth0 up
or do
sudo ifconfig wlan0 up
To disable these network interfaces automatically at bootup time, edit as root filename "rc.local":
command gedit /etc/rc.local
- Insert now the command for stopping the network interface just before the "exit 0" line:
5) HOW TO UPDATE DEBIAN:
- after any Linux installation, its a good practice to update installed packages.
- Edit as root the file "sources.list": gedit /etc/apt/sources.list
a) Update debian: add everything below this line to the above file:
deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
# squeeze-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ squeeze-updates main
deb-src http://ftp.us.debian.org/debian/ squeeze-updates main
## Debian – Stable
deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free
## Security Updates
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free
## Multimedia
deb http://www.deb-multimedia.org stable main non-free
deb http://www.deb-multimedia.org squeeze main non-free
deb http://backports.debian.org/debian-backports squeeze-backports main
deb http://mozilla.debian.net/ squeeze-backports iceweasel-release
b) command to update debian: aptitude update
and then I had to fix a couple of errors:
err1) fix this error after aptitude update:
error message:
W: GPG error: http://mozilla.debian.net squeeze-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 85A3D26506C4AE2A
solution / fix:
1) install mozilla.debian.net archive key. Download the file(pkg-mozilla-archive-keyring_1.1_all.deb) from here: http://mozilla.debian.net/)
2) command to install downloaded file: dpkg -i pkg-mozilla-archive-keyring_1.1_all.deb
err2) fix this error after aptitude update
error message:
: GPG error: http://www.deb-multimedia.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: GPG error: http://www.deb-multimedia.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
or
W: GPG error: http://security.debian.org squeeze/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA"
solution / fix:
1) Install the debian-archive-keyring:
command: apt-get install debian-keyring
2) Add the Key
command: gpg --keyring /usr/share/keyrings/debian-keyring.gpg -a --export 07DC563D1F41B907 |apt-key add -
reference: http://asteriskopensourcev2.blogspot.com/2011/09/gpg-error-nopubkey-debian-60-squeeze.html
With errors fixed after aptitude is updated, then an upgrade is done with
command: apt-get dist-upgrade
6) HOW TO INSTALL NETWORK MANAGER:
While its possible to use Linux without the Network Manager, the tool comes in handy when you have several interfaces and you want to do things fast, as in snappy!
command: apt-get install network-manager - to install the daemon
During installation, would ask to insert - Official i386 CD Binary-1 20120929-15:56'
command: apt-get install network-manager - to install the front end
Network Manager will now be available under System >> Preferences
NOTE: network-manager will only detect interface cards not configured in /etc/network/interfaces; therefore we need to remove any previous manual configuration in /etc/network/interfaces.
- delete every configuration in /etc/network/interfaces, restore to below default:
# The loopback network interface
auto lo
iface lo inet loopback
- then reconfigure IPs using Network Manager.
7) INSTALL RDESKTOP AND CREATE REMOTE DESKTOP LAUNCHERS:
I always prefer rdesktop whereever I can find it.
a) install rdesktop: apt-get install rdesktop
b) create desktop launchers: right click on your desktop >> create launcher
- name: any name, ex: RDP to 1.2.3.4
- command: rdesktop -g 1280x1024 (ip-address) - where "1280x1024" will be the window-size of the RDP connection.
Right click the launcher and Open, adjust window-size as you please.
8) HOW TO INSTALL FIREFOX:
Debian ships with Epiphany and Iceweasel web browers. To install firefox,
a) download Firefox for Linux: http://www.mozilla.org/en-US/. I downloaded the file, for ex: firefox-18.0.tar.bz2
b) unpack the downloaded file:
from the command line, ex -ommand: tar -xjf firefox-18.0.tar.bz2
or
right click on the file to select extract the contents of the archive using Archive manager. In both of the above cases, Firefox is extracted into a dir named "firefox".
c) copy and paste the firefox-dir into a folder somewhere within your file-system, for ex: somewhere in your home-dir, and then create a launcher from your desktop to firefox.
Ex: my firefox-dir is in a subdir of my home-dir. This is the launcher command: /home/tokunbo/installs/firefox/firefox
d) create a desktop launcher: right click on your desktop >> create launcher Use the BROWSE button to locate filename "firefox" in the firefox-dir....wherever you placed it.
9) HOW TO INSTALL SKYPE:
a) download Skype for Debian: http://www.skype.com/intl/en/get-skype/on-your-computer/linux/
b) install .deb file: dpkg -i filename.deb
10) INSTALL SYNAPTIC PACKAGE MANAGER: I am more used to Synaptic, rather than the Aptitude that ships with Debian. In their own words:
Synaptic is a graphical package management program for apt. It provides the same features as the apt-get command line utility with a GUI front-end based on Gtk+. Continue reading: click here
commands: apt-get -f install, apt-get install synaptic
will promt to insert: Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 CD Binary-1 20120929-15:56'
Synaptic Package Manager will now be availale under system >> administration
11) HOW TO INSTALL TEAMVIEWER:
a) download .deb file from here: http://www.teamviewer.com/en/download/linux.aspx
To install .deb files manually after download,
dpkg -i teamviewer_linu x.deb
b) command to install directly from internet: apt-get install teamviewer_linux.deb
12) HOW TO INSTALL GOOGLE CHROME:
a) download .deb file from here: https://www.google.com/intl/en_uk/chrome/browser/index.html?platform=linux#eula
b) install with command: dpkg -i google-chrome-stable_current_i386.deb
any dependency error can be corrected with:
command: apt-get -f install
Google chrome is now available in Applications >> Internet >> Google Chrome