This page is intended as a starting point for anyone wanting to host a single (or multiple) websites on their own linux server running Ubuntu 14.04 LTS Server. Having set up the latest (currently 14.04) long-term-support (LTS) release of Ubuntu server, I’ve decided to cover everything from local network settings to basic server hardening tips. For those interested in running WordPress, I also have a guide specifically on its installation (as well as multiple site configurations).
Is Ubuntu 14.04 LTS Server user friendly?
Ubuntu 14.04 LTS Server, like most terminal-based Linux flavours, can be daunting for new users but like I’ve found out, a few good outlines will get you well on your way!
Quick introduction on a LAMP stack
The setup that I decided for is a Linux-Apache-MySQL-PHP (LAMP) stack, as it is commonly referred to. My personal setup allows for the hosting of multiple project and production WordPress websites with a minimal hardware investment.
For those unfamiliar with a LAMP stack, it is composed of 4 pieces of software as mentioned above. Linux (Ubuntu 14.04 LTS Server in our case) is the base operating system and a ‘flavour’ of Linux (Like Windows and Mac OS X). Apache is web server application that handles data requests and delivers web data to users. MySQL is a database application that stores all the information for Apache to read/write/deliver in conjunction to static web files. PHP is a scripting language used in web development along with HTML.
How to set up Ubuntu 14.04 LTS Server
I recommend following the guides in order unless you are looking for one step in particular. Good luck and have fun!
- Make a bootable USB drive for Ubuntu 14.04 LTS Server x64/x86 (Official Ubuntu Guide)
- Install Ubuntu 14.04 LTS server from bootable USB drive
- Getting cozy in the terminal with basic commands
- Apache, MySQL and PHP install/ upgrade
- WAN/ LAN router settings – Static, dynamic and general settings
- (Optional: SSH setup for remote terminal access)
- Hosting your first site (Optional: Install WordPress)
- (Optional: Hosting multiple sites using your single IP address with Apache Virtual Hosts)
- Ubuntu 14.04 LTS Server – Separate intermediate guides
- Cron jobs – How to automate tasks
- Apache2, PHP and MySQL configuration files
- Server Hardening – General security
- Server Maintenance – Automated tasks,
- Server Monitoring – Access logs, general hardware monitoring
Remaining server guides will be released throughout the following weeks. Questions can be left in the comments section!