Ubuntu LTS Slices

Latest Article:

Ubuntu LTS - adding an nginx init script

In the previous article we installed nginx from source. However, installing from source does not create an init script.

Let's create such a script so we can easily start, stop and restart nginx and, perhaps more importantly, ensure it automatically starts on a reboot.

Setting up your Ubuntu LTS Slice is simple with these comprehensive articles

The LTS tutorials take you from a 'barebones' Slice to a secure, up to date and quick server in very little time.

Ubuntu LTS:

Ubuntu LTS setup - page 1: A new Ubuntu LTS slice is a bare bones install. Let's go ahead and secure it as soon as possible.

Ubuntu LTS setup - page 2: Now the slice has been secured, let's customise the console, update and upgrade the base ready for the slice's primary task.

Ubuntu LTS - MySQL and RoR: Now our LTS Slice is ready for a MySQL and Ruby on Rails stack with subversion and postfix support.


Ubuntu LTS and Apache:

Apache and PHP install: Installing Apache 2.0.55 and PHP 5.1.2 on an Ubuntu LTS Slice is straight forward using apt-get.

Apache Configuration Layout: Ubuntu uses a 'Debian' style layout for the Apache install. Let's look at what this means.


Apache Configuration #1: Let's look at the main Ubuntu LTS apache2.conf file and see what the settings mean and what effect they have.

Apache Configuration #2: Continuing from the first Apache configuration article, this one examines some more settings in the main apache2.conf file.


Apache Virtual Hosts: Now Apache is installed and has been optimised we can configure it to host multiple sites by creating virtual hosts.

Apache Virtual Hosts #2: Continuing from the first vhosts article, we can now look in detail at the available settings in the vhosts file.

Apache, SSL and Virtual Hosts: We can secure the login area of an administration panel by creating and installing a self signed certificate.


Ubuntu LTS and nginx:

Nginx install: Nginx is not included in the default repositories. Let's install the latest stable version from source.

Add an nginx init script: When we installed nginx, no init script was created. Let's rectify that so nginx automatically starts on a reboot.

Please feel free to request articles or comment with any suggestions or ideas of your own.

PickledOnion