uname -r
return something
depmode something
piatok 30. októbra 2009
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
apt-get build-dep pure-ftpd
dpkg-buildpackage -uc -b
cd ..
dpkg -i pure-ftpd-mysql_1.0.21-11.4_amd64.deb
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
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
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
Prihlásiť na odber:
Príspevky (Atom)