Setting up Apache, MYSQL and PHP on Ubuntu Linux (LAMP)

Setting up Apache, MYSQL and PHP on Ubuntu Linux (LAMP)

This article shows you the commands required to set up an Apache web server on a fresh Ubuntu Linux installation from a Command Line Interface. It goes through the steps to setup PHP and MySQL and link both to the Apache web server. It doesn’t just finish there though. I also cover installing OpenSSL for managing secure certificates, VSFTP for file transfer protocol accounts and the GD PHP image library. These are popular things to do for say running WordPress but not essential to a LAMP (Linux, Apache, MySQL and PHP) setup. The examples use Ubuntu 14.04.4 LTS (Long Term Support) but could easily be performed on any recent Ubuntu

Upgrading packages on Ubuntu from the command line

Upgrading packages on Ubuntu from the command line

This short article goes through the commands required to upgrade to the latest trusted distribution of Ubuntu 14.04 Long Term Support (LTS) but the same commands can be used for any Ubuntu upgrade. The following example shows the commands and actions for upgrading all of the packages on Ubuntu to their latest distributed versions rather than just applying updates to currently installed packages. The first thing to do is login using your Command Line Interface (CLI). You will probably login with an account that does not have upgrade privileges. You can either run the command “sudo -i” to switch to a privileged account or you can prefix the commands with