This website describes how to setup a server to act as either an Apache webserver or MySQL database server. In particular, as the data related to these services is located on a separate '/local' partition, these instructions describe how to configure a Ubuntu system to allow this. In summary, this requires configuring: App Armor, to allow MySQL access to the '/local' partition; and MySQL/Apache, so that they store their data in the '/local' partition.

Setup a Ubuntu 14 LTS server

Setup a Ubuntu 16 LTS server

Setup a Ubuntu 18 LTS server

Setup a Ubuntu 20 LTS server