Pages

Installation of Moodle on Ubuntu 14.04

Install Apache/MySQL/PHP

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

sudo apt-get install graphviz aspell php5-pspell php5-curl php5-gd php5-intl php5-mysql php5-xmlrpc php5-ldap
sudo apt-get install git-core

Restart Apache
sudo service apache2 restart

Download Moodle
cd /opt
sudo git clone git://git.moodle.org/moodle.git
cd moodle
sudo git branch -a
sudo git branch --track MOODLE_27_STABLE origin/MOODLE_27_STABLE
sudo git checkout MOODLE_27_STABLE


Copy local repository to /var/www/html/
sudo cp -R /opt/moodle /var/www/html/
sudo mkdir /var/www/moodledata
sudo chown -R www-data /var/www/moodledata
sudo chmod -R 777 /var/www/moodledata
sudo chmod -R 0755 /var/www/html/moodle


Setup MySQL Server
sudo gedit /etc/mysql/my.cnf
Add following lines under Basic settings section.

default-storage-engine = innodb

Save and close the file.

Restart MySQL
sudo service mysql restart

Create the Moodle MySQL User

mysql -u root -p

mysql>

CREATE DATABASE moodle DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

mysql>

GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,CREATE TEMPORARY TABLES,DROP,INDEX,ALTER ON moodle.* TO moodle@localhost IDENTIFIED BY 'moodle';

mysql>

quit;
Complete Setup
sudo chmod -R 777 /var/www/html/moodle
Open your browser and go to http://127.0.1.1/moodle
After you have ran the installer and you have moodle setup, you NEED to revert permissions so that it is no longer writable using the below command.

sudo chmod -R 0755 /var/www/html/moodle

Reference: Moodle Documentation

Add Google Input Tools extension on Chrome browser

Google Input Tool is helpful to type various languages without any hassle. Google Input Tool now has Chrome browser extension. User can type regional languages without leaving Chrome browser. You can add Google Input tools extension from this link,

The Google Input Tools extension provides virtual keyboards for over 90 languages, full IMEs or direct transliteration for over 30 different scripts, and handwriting input for over 40 languages.

Install Google Chrome
Download Google Chrome from the official website. Download .deb package for Ubuntu users.

Install Input Tools extension
Go to Google Chrome > Settings > More tools > Extensions > Get More extensions
Search, find and install Google Input Tools extension.

How to enable your regional language
Google Input Tools extension appear on browser page.


Click on the Google Input Tools extension button and select Extension Options.
Select your languages and close the window.

You can type your language in any browser based applications (e.g. Facebook).

Install LXQt on Ubuntu 14.04

LXQt is the Qt port and the upcoming version of LXDE, the Lightweight Desktop Environment. It is the product of the merge between the LXDE-Qt and the Razor-qt projects: A lightweight, modular, blazing-fast and user-friendly desktop environment.

Installation
Apply following commands in a terminal,

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:lubuntu-dev/lubuntu-daily
sudo add-apt-repository ppa:gilir/q-project
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install lxqt-metapackage lxqt-panel


Logout from desktop, change desktop session to LXQt Desktop.

Home page of LXQt: http://lxqt.org