Pages

Linux DVD's for distribution

Ubuntu 14.04










Following Linux DVD's are available for distribution. Distribution charge is Rs. 150. It includes expenses of stationery items and postal charge.
Distribution Version and architecture Distribution charge
Ubuntu 12.04 & 14.04 (32&64 bit) Rs. 150
Linux Mint Quiana (MATE & Cinnamon) (32&64 bit) Rs. 150
Debian Wheezy (32&64 bit) Rs. 150
Xubuntu 12.04 & 14.04 (32&64 bit) Rs. 150







Service Area: Inside India Only.
Mode of Delivery: Speed Post (India Post)
Mode of payment Deposit Rs. 150 in the following bank account.
Account Owner: Vimal Kumar V.
Bank: State Bank of India
Account number: 30021430980
Branch name: Karyavattom, Technopark
Branch Code: SBIN0007617
Click here to fill details of bank transaction after depositing the money. Mention in the message about which Linux distribution you want.

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

Update Drupal using Drush

Drush is a command line shell and scripting interface for Druapl. Updating Drupal to latest version is easy with Drush.

sudo su 
apt-get install drush

Check new Drupal updates available. Enter inside the Drupal installation place/folder and apply following commands.
cd /usr/share/drupal7
drush up -n | grep available
drush up

You can find more Drush commands from following link,
http://drush.ws/

Drupal installation
https://help.ubuntu.com/community/Drupal

How to know PHP version number

Open Applications > Accessories > Terminal and apply following command,

php -i


Restore/Reset Firefox browser

Suppose something happened your Firefox browser and don't give performance like before. You can Restore the settings with Firefox. This process will backup and retain your bookmarks, passwords and browsing history.

Firefox > Help > Troubleshooting information


GRUB 2 recovery

We often come across a condition in which the boot loader gets corrupt. Here are a few steps that will help you recover your GRUB 2 boot loader.
Boot from a live CD or DVD, which supports GRUB 2 (Ubuntu 9.10 CD or above. A DVD will take more time than a CD, so I suggest you boot from a CD).
Open the terminal and run fdisk -l to check the partition from which you want to recover GRUB 2.
Here I assume that you want to recover it from /dev/sda1.
Then run the following commands:
 
sudo mkdir /media/sda1
sudo mount /dev/sda1 /media/sda1
sudo mount --bind /dev /media/sda1/dev
sudo mount --bind /proc /media/sda1/proc
Now chroot into that partition by running the command given below:

sudo chroot /media/sda1


Then re-install GRUB, as follows:

grub-install /dev/sda

The output should be like what’s shown below:

Installation finished. No error reported.

If you get an error, then try the following command:

grub-install --recheck /dev/sda

After a successful installation, exit from chroot and unmount the file systems that were mounted to recover GRUB. Now reboot.

exit
sudo umount /media/sda1/proc
sudo umount /media/sda1/dev
sudo umount /media/sda1
sudo reboot


You’ve successfully completed recovering your GRUB boot loader.

Information courtesy: EFYTimes News

How to force install .deb package

In certain contexts debian packages are reluctant to install using gdebi or software center due to dependencies problem. In that case, you can install .deb file using following command,

dpkg --force-all -i PackageName

e.g. dpkg --force-all -i google-chrome-stable_current_i386.deb

How to fix E: Could not get lock /var/lib/apt/lists/lock problem


You got following message when you try to run apt-get update command in Ubuntu?

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

 Solution

1. Search for processes

ps -A | grep apt-get

2. See if there is any process running as apt-get then kill that process

sudo kill -9 

If the error persists, apply following commands in a termina,

sudo su
sudo rm /var/lib/apt/lists/lock
apt-get update


How to Install Broadcom Wireless Driver (BCM4313) in Ubuntu / Xubuntu 12.04

I tried following method to install Broadcom wireless Driver with Dell Vostro 3500  in Ubuntu/Xubuntu 12.04 (64 bit) Linux.

First of all check your wireless chipset model number,

lspci | grep Network

Install following prerequisites,

sudo apt-get install linux-headers-generic build-essential dkms

Download the package from here,

Open following file,

gedit /etc/modprobe.d/blacklist.conf

Add following lines,

blacklist b43
blacklist b43legacy
blacklist bcma
blacklist ndiswrapper


Comment the following line,

# blacklist bcm43xx

Restart laptop and check wireless working or not.

Mobile media converter

Mobile Media Converter is a helpful tool for mobile users to cross platform transfer of media files. It can handle various formats like MP3, Windows Media Audio (wma), Ogg Vorbis Audio (ogg), Wave Audio (wav), MPEG video, AVI, Windows Media Video (wmv), Flash Video (flv), QuickTime Video (mov) and commonly used mobile devices/phones formats like AMR and 3GA audio (amr) and 3GP video.


Here is the link to mobile Media Converter

Install HP LaserJet P1108 printer in Ubuntu 12.04

Visit the following page to install HP Laserjet P1108 in Ubuntu 16.04 / Debian 8.
http://linuxhalwa.blogspot.in/2017/06/install-hp-laserjet-p1108-printer-in-ubuntu.16.04.html

You can find that HP LaserJet P1108 do not work simply adding printer with Ubuntu 12.04. You have to execute following commands to configure the printer


sudo apt-get install python-qt4
sudo apt-get install hplip-cups
sudo hp-setup -i


User settings,

sudo adduser vimal lp
sudo adduser vimal lpadmin

Replace vimal with your user name. 

Install Drupal on Ubuntu 12.04

Drupal is an Open Source content management system. Drupal is very powerful, flexible and popular among web developers. Whitehouse website build on Drupal.


Now Drupal is now available with Ubuntu 12.04 software repository and very easy to install. Please follow the instructions to install Druapl on your Ubuntu 12.04 server or desktop.

Install LAMP server
LAMP package contain MySQL, Apache and PHP.

apt-get update
apt-get upgrade
apt-get install lamp-server^

Enter MySQL root password during installation. 

Enable rewrite function in Apache,

sudo a2enmod rewrite
sudo service apache2 restart


Install Drupal

apt-get install drupal7

Check which version of Drupal is available latest and change version number.

Add Drupal configuration for Apache,

sudo cp /etc/drupal/7/apache2.conf /etc/apache2/mods-enabled/drupal.conf

Restart Apache

sudo service apache2 restart

Open a browser and type the address and proceed with installation process,

http://127.0.1.1/drupal7/install.php

Update Drupal to latest version using Drush
Drush is a command line shell and scripting interface for Druapl.

sudo su 
apt-get install drush

Check new Drupal updates available. Enter inside the Drupal installation place and apply following commands.
cd /usr/share/drupal7
drush up -n | grep available
drush up

Information courtesy: https://help.ubuntu.com/community/Drupal

To know wireless card information in your laptop?

To find wireless card model number is essential to install suitable driver. Execute following command in a terminal to display wireless driver information,

lspci | grep Network