echo "deb http://www.debian-multimedia.org squeeze main non-free" >> /etc/apt/sources.list
aptitude update
aptitude install libglib2.0-dev libmp3lame-dev libvorbis-dev libao-dev libmad0-dev libogg-dev libaudiofile-dev libid3tag0-dev libsqlite3-dev libcurl4-openssl-dev libsamplerate-dev 
wget https://sourceforge.net/projects/musicpd/files/mpd/0.15.13/mpd-0.15.13.tar.bz2/download
tar -xjvf mpd-0.15.13.tar.bz2
cd mpd-0.15.13
./configure  --disable-oss --enable-pipe-output --enable-httpd-output
make install
cp doc/mpdconf.example /etc/mpd.conf
paste config
mkdir /usr/local/share/mpd
chown nobody:nogroup /usr/local/share/mpd
mpd --create-createdb