[Solved] Unbuntu binary lighttpd 1.4.45 package on same system as lighttpd 1.4.50 source build?
Added by brianddk over 5 years ago
As the title implies I've installed lighttpd on Ubuntu with apt-get install lighttpd
I've then done a source build of 1.4.50 to try to get some of the features, but had some questions before I do a make install
Questions¶
- Will
make uninstall
totally backout the work ofmake install
(is it well tested, or considered deprecated?) - Will
make install
clobber any of the files placed fromapt-get install lighttpd
- Will changing
ExecStart
in/lib/systemd/system/lighttpd.service
with the propper-m
and-f
switches be sufficient to switch between the two versions?
Answers (Updated)¶
make uninstall
appears to work perfectly on 1.4.50- With the default settings in
./configure
, everything seems to install under/usr/local
so no clobbering. - Changed all references in
lighttpd.service
to/usr/local/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf -m /usr/local/lib
and it works great!
SysInfo¶
- Ubuntu 18.04.1 LTS (Bionic Beaver)
- Kernel 4.15.0-1021-gcp x86_64 (packaged with bionic)
- lighttpd 1.4.45-1ubuntu3 bionic in
/usr/sbin
- lighttpd 1.4.50 source build in
/usr/local/sbin
- Client: Chrome Version 69.0.3497.100 (Official Build) (64-bit)
- Client: Tor Browser 8.0.1
- Client: lynx/bionic,now 2.8.9dev16-3 amd64
- Client: dillo/bionic,now 3.0.5-4build1 amd64
- Client: seamonkey-mozilla-build/stable,now 2.49.4-0ubuntu1 amd64