2

I have an embedded system running 18.04 LTS with lighttpd 1.4.45. There are features that have been added since 1.4.46 that I would like to use. I have searched to see if anyone has had success running a later version on this OS, but I haven't found anything. Any insight would be greatly appreciated.

1 Answers1

1

Note: by following the below method you will get lighttpd-1.4.46 which may have some security breaches, be careful.

To compile LigHTTPd from source we need

  1. Enable source code repositories from Software & Updates (software-properties-gtk)

  2. Get build dependencies of existing version

    sudo apt-get build-dep lighttpd
    sudo apt-get install checkinstall
    
  3. Get source of 1.4.46 version:

    cd ~/Downloads
    wget https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.46.tar.gz
    tar -xf lighttpd-1.4.46.tar.gz
    cd lighttpd-1.4.46/
    ./configure
    make
    sudo checkinstall make install # to create deb
    
  4. Check the version

    $ lighttpd -v  
    lighttpd/1.4.46 - a light and fast webserver
    
N0rbert
  • 103,263