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

PiBakery

Posted on Thu 09 March 2017 in Sysadmin • Tagged with boinc, headless, PiBakery, raspberry pi, tor, VNC

A great way to configure a Raspberry Pi from scratch is PiBakery. After struggling a while with setting up a VNC server and some other things on a fresh Pi connected only via Ethernet (no display, keyboard, or mouse), finding PiBakery was very helpful.

Here's my configuration:

PiBakery configuration

The long string …


Continue reading

Renewal of Let's Encrypt Certificates Using Plesk

Posted on Tue 14 June 2016 in Sysadmin • Tagged with Apache, certificate, let's encrypt, Plesk, SSL, web server

Note to self: If the Let's Encrypt extension for Plesk fails to renew a certificate (when triggered manually), disable the automatic forwarding to an SSL connection in the Apache settings. This forced secure connection seems to disturb the renewal script.

The error I got was something like this:

Let's …

Continue reading

Owncloud with Apache 2.4, PHP FPM, and Plesk

Posted on Mon 04 April 2016 in Sysadmin • Tagged with Apache, HTTP, SSL, Owncloud, PHP, Plesk

After about two weeks of fiddling around, I finally managed to get my own instance of owncloud up and running with Apache behind Plesk. Here's how I did it:

  1. Set up a sub-domain in Plesk, e.g. owcloud.mydomain.com
  2. Set up a database for owncloud using Plesk.
  3. Make sure …


Continue reading