[NTLUG:Discuss] Help installing Apache on Debian
David Stanaway
david at stanaway.net
Wed Dec 18 13:24:58 CST 2002
jose sanchez said:
> Hello:
>
> I'm trying to install Apache on Debian 3.0 and I'm
> getting an error when trying to configure it.
>
> ./configure -v --prefix=/usr/apache
Whats wrong with the debian package for apache?
If you want to tweak the config it is not too hard.
Step 1: add a deb-src entry to /etc/apt/sources.list
Step 2: apt-get source apache
Step 3: tweak apache-*/debian/rules to config/build the way you want
(Take a note of this some place)
Step 4: build
cd apache-*/
dpkg-buildpackage -rfakeroot
Step 5: install
cd ..
echo *.deb
sudo dpkg -i <list of debs you want to install>
Step 6: Place apache on hold (And other apache packaes that you built that
you installed)
sudo dpkg --set-selections <<EOF
apache-common hold
libapache hold
<etc ...>
EOF
Now you can keep uptodate with security packages fine, and when a new
version of apache comes out, you will see that it is not upgraded as it is
on hold, and you will need to repeat steps 1-6 again.
--
David Stanaway
More information about the Discuss
mailing list