piatok 30. októbra 2009

fix modprobe kernel problem

uname -r

return something

depmode something

utorok 20. októbra 2009

how to recompile pure-ftpd to use on VPS

short tutorial

apt-get source pure-ftpd
cd pure-ftpd-1.0.21/
nano debian/rules

line 12 add --without-capabilities

optflags=--with-everything --with-largefile --with-pam --with-privsep --with-tls --without-capabilities

apt-get build-dep pure-ftpd
dpkg-buildpackage -uc -b
cd ..
dpkg -i pure-ftpd-mysql_1.0.21-11.4_amd64.deb

Instead of using apt-pinning you can just set packages on hold:
echo package hold | dpkg --set-selections
To undo that:
echo package install | dpkg --set-selections
To view a list of "on hold" packages:
dpkg --get-selections | grep hold