Web Server Updates


A perfectly miserable rainy day of stage 3 lock downs here in 3055. Perfect time for some boring updates.

  • Ubuntu from 16.0.4 -> 18.0.4
    • via do-release-upgrade
  • Nginx 1.16.1 -> 1.18.0
  • Passenger from 6.0.4 -> 6.0.5

Ruby required recompilation due to shared library updates.

export NV='2.6.6'; sudo apt install libjemalloc-dev libpng-dev libjpeg-dev; cd ~/.rbenv && git pull && cd plugins/ruby-build/ && git pull   && cd && RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install ${NV} ; rbenv shell ${NV} &&  gem install bundler; cd ~/booko; bundle install

Passenger upgrade fixed a compilation error when building Nginx 1.18.0.

sudo service nginx stop; passenger-install-nginx-module --auto --prefix=/opt/nginx --nginx-source-dir=/home/deploy/source/nginx-1.18.0 --languages ruby --extra-configure-flags="--with-http_realip_module  --with-http_v2_module"

Next time I build web servers I’ll be migrating to Phusion’s APT repository versions, rather than compiling them.


Leave a Reply