Posts Tagged ‘ Debian

Rip and convert to MP3 files in Debian Lenny

To create an audio file in , you need to the proper package to encode them. I suggest you add the “debian-multimedia” repository while you are at it. Edit your  /etc/apt/sources.list and add:

deb http://www.-multimedia.org lenny main

run

aptitude update

then install the gstreamer lame encoder:

aptitude install gstreamer0.10-lame

Then you are done. You can launch and convert formats to MP3 using VBR and other technologies. You can also use to CD’s

Install the proprietary Closed source version of Virtualbox on Debian Lenny

I like the closed source version of . I just do. This is how to it quickly and simply:

add this to sources.list

deb http://download.virtualbox.org/virtualbox/  non-free

run this to get the public key and install it:

wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -

then just install it

aptitude install virtualbox-2.1

this will automatically create the group “vboxusers” and add the user who installed it to the group. If you need to add others:

sudo adduser `[username]` vboxusers

Install Debian Lenny Nvidia Drivers using binary packages

As usual, the official wiki has a great writeup on getting the Drivers installed. http://wiki.debian.org/NvidiaGraphicsDrivers. Do yourself a favor and read the document. It will give you the full story and not just the regurgitated short version below. I use debian because I like the packaging system. I think it works well. why add the agony of recompiling drivers whenever you update kernels and whatnot. Since X was broken, The key was to switch to a console session BEFORE logging in using GDM. As soon as the login page comes up, press CTRL+ALT+F2. This is what I had to be able to log in and use my X session:

Login as root.

I used the netinst disk and had to add the “non-free” and “contrib” repositories. to do this, edit /etc/apt/sources.list.

nano /etc/apt/sources.list

Find the line line that has something like

deb http://mirror.cc.columbia.edu/pub/linux/debian/debian/  main
deb-src http://mirror.cc.columbia.edu/pub/linux/debian/debian/  main

add “contrib non-free” to the end of both of these lines and then do a “aptitude update”

# apt-get  module-assistant -kernel-common
# m-a auto- nvidia-kernel${VERSION}-source
# apt-get  nvidia-glx${VERSION}

In the device section, add

 "nvidia"

Restart GDM (and subsequently X)

# invoke-rc.d gdm restart

Install The nvidia settings interface thingy if you want. This can also verify if the driver is actually running.

aptitude install nvidia-settings

In debian, the package doesn’t install a shortcut for some reason, so just launch it by typing “nvidia-settings” into the console.

Debian Samba share. no password. read only

Just server:

apt-get install samba

edit the config:

nano /etc/samba/smb.conf

set security to “share”

security = share

and guest account to nobody

guest account = nobody

then you just need to create your share like this:

[guest share]
comment = a guest share
path = /path/to/files
browseable = yes
read only = yes
guest ok = yes

Zabbix 1.6 Proxy with Debian

I set up a today on a little VM. looks to work nicely. Intructions will be kept up to date on this page.