Setting up a new Ubuntu Webserver

Posted on Sat 11 November 2017 in Sysadmin • Tagged with Ubuntu, webserver

Here's a collection of links that provide helpful information when you have a brandnew Ubuntu machine with root access and you want to set it up as a webserver:


Continue reading

Setting up a systemd Service under Ubuntu

Posted on Sat 11 November 2017 in Sysadmin • Tagged with Ubuntu, systemd, service

Starting with 15.04, Ubuntu uses systemd instead of Upstart as the default system and service manager. This page offers a good comparison between the two systems.

If you want to add a new systemd service (e.g. for running a Java application everytime your machine boots), create the following …


Continue reading

Redirecting Requests from Apache to Jetty

Posted on Sun 05 November 2017 in Sysadmin • Tagged with Apache, Jetty, Ubuntu, web server, SSL, proxy

Assuming you are running an Apache server with a virtual host for abs.mydomain.com, put this into the virtual host's .conf file to redirect all traffic to a Jetty web server running locally behind your Apache:

<Proxy *>
    Order deny,allow
    Allow from all
</Proxy>

ProxyPass / http://localhost:1234/ retry …

Continue reading