Archive for the ‘sources.list’ Tag

Debian Lenny setup

Screenshot
Ok. A fresh install of Debian Lenny. I used the net install. I started the install and let it do it’s thing. It took about an hour and a half with my connection. I went and watched Bourne Supremacy while it was installing. I’m not going to go over the install. There are a bunch of guides and examples on the net Here’s a link to a quick over view. Remember, you do want the base system and desktop environment installed.

Debian 5 (Lenny) Step-by-Step

First thing I want to do is add myself to the sudoers list. This is how.

Add user(me) to sudoers list. In a terminal type:
$ su
Then type in the root password.
Then type:
# visudo
Now you can add a username to the list.
Under: root ALL=(ALL) ALL
Add:Your_username ALL=(ALL) ALL
Now press Ctrl+X and press Y when prompted to save. Then press enter.
Now you should be on the sudo list.

ADDING REPOSITORIES.

In a terminal type:
$ su
Type in root password.
Then navigate to etc/apt
then type:
# nano sources.list

My sources list looked like this:

deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

I changed to to this:

deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

Now press Ctrl+X and press Y when prompted to save. Then press enter.
At a terminal type:
$ sudo apt-get update
Done.

AUTO MOUNT USB STICKS.

In a terminal type:
$ sudo apt-get install ntfs-3g
This will also mount external hard drives formatted as NTFS.
Done

INSTALL FLASHPLAYER PLUGIN

To do this we must add backports. Here’s how.
In a terminal type:
$ su
Type in root password.
Then navigate to etc/apt
then type:
# nano sources.list
Add this to the source list.
deb http://www.backports.org/debian lenny-backports main contrib non-free
Now press Ctrl+X and press Y when prompted to save. Then press enter.
At a terminal type:
$ sudo apt-get update
Now from a terminal type:
$ sudo apt-get install debian-backports-keyring
Press y when asked.
Now the backports work. Lets install flash.
In a terminal Type:
$ sudo apt-get install flashplugin-nonfree
Press Y when prompted.
Done.
Now you are officially a freedom hater. Congratulations.
That’s enough for tonight.

Advertisements