Installing nginx, php, MariaDB and Froxlor on Ubuntu 18.04

Stefan tests

In this post I explain step by step how to install the rather rudimentary, but somehow dear server management software Froxlor on your own "blank" server. All it takes is Server, which already has a minimalist Ubuntu 18.04 was installed and a domain that branches to the server.

My initial situation is: I have a cheap hosting package with a web hoster with included domains. In addition, I rented a virtual server on which I set up a Nextcloud instance for my private data, calendar synchronization, etc. My hoster allows me to manage the DNS records of the domains arbitrarily, so I can change the A-record of a subdomain (here in the example srv.Server.Tld) to the IP-address of the server. About this my Froxlor will be available at the end of the installation.

Why Froxlor?

I have looked at some server management tools. And the very most are cannons on sparrows for my purposes. I don't want to bother with the maintenance and security of a mail server – I already have a cheap hosting package for that anyway. I don't need a DNS server, I don't have customers I want to bill automatically, and most importantly, I want to be able to add server components as I see fit, perhaps only temporarily. So actually I was just looking for a way to create vHosts on the fly (to try something out if I feel like it), to have templates for (php-)configurations and otherwise to run a lean web server that offers as little attack surface as possible. And that's how I just ended up with Froxlor.

Requirements

I assume for this tutorial that you have a freshly installed Ubuntu 18.04 on a server, and a domain is routed to it, through which you want to reach your Froxlor installation (in this example: srv.Server.Tld).

You'll also need an open console or SSH access to your server, of course (your provider should provide you with an appropriate image – or you can find one at https://www).Ubuntu.Com).

Let's go – the preparations

First we update the server software:

Get coffee (if necessary. A new bootloader (GRUB) is installed; here just keep the local copy and let it write to all partitions).

The line "IP address srv.Server.Add "tld srv" to the end of the /etc/hosts file

So, for example, the line might look like this:

And reboot the server with :

Installation of NGINX

Reconnect to the server via ssh and start with the actual installation. First we install the LAMP components: nginx, php7.2 and MariaDB. We'll start with the web server:

Leave a Reply

Your email address will not be published. Required fields are marked *