How to Install Ubuntu 14.04 LTS

Step 1: Install Ubuntu 14.04LTS

Server Edition amd64 Preferred

http://www.ubuntu.com/download

  • Ubuntu Server 14.04LTS amd64 has all the required packages.
  • Ubuntu Server 14.04LTS has some minor differences from 12.04LTS, mainly to the Apache Sites Configuration, now resides at /etc/apache2/sites-available/000-default.conf and the Default Webroot now at /var/www/html/. This document has been updated to reflect those changes.
  • You can use either VI (lightweight editor) or VIM (heavyweight editor), however, if you wish to use VIM you will need to install it
sudo apt-get install vim
  • VI or VIM Commands

To edit a file press “Insert” Key
To finish editing press “Esc” Key
To write the file press “:w”
To Exit the editor press “:q”
You can also write and quit “:wq”

  • In Ubuntu, the standard user, the account you created during the install, does not have rights to install/write to many of the directories. In the below tutorial we will be using the term “sudo” which stands for “super user do” before most of the commands.

Step 2: Install Apache/MySQL/PHP

Open up Terminal and install the following;

  •  :22 in the Video
sudo apt-get update

 

sudo apt-get install apache2 mysql-client mysql-server php5

It will prompt you to set the root password for mysql – please, please my dear friends, WRITE IT DOWN and spare yourself some grief, you will need it in step 6.

Step 3: Install Additional Software

  • 1:10 in the video
sudo apt-get install graphviz aspell php5-pspell php5-curl php5-gd php5-intl php5-mysql php5-xmlrpc php5-ldap clamav

Restart Apache so that the modules are loaded correctly

sudo service apache2 restart

We will be using Git to install/update the Moodle Core Application

sudo apt-get install git-core

Read More

Advertisements