Archive for the ‘Linux’ Category

Thanks for appreciating my previous post on the same topic. With the launch of the web version, evernote has become even more popular. They have their windows and mac version but still there is no linux version of evernote.

In my earlier post, I described how we can use ‘wine’ to install evernote on linux. Now an open source clone of evernote (called Nevernote) is available which could be installed on linux.

“This is an open source clone of Evernote designed to run on Linux.  It is written in Java so it will also run on Windows & OS-X, but the primary focus has been to try and get a usable environment for Linux.  While this is designed to work with Evernote, it is in no way connected with or supported by Evernote.  Any problems you encounter will not be corrected by them and, since this is GPL software, you are using this software at your own risk.”

You can find more information about Nevernote from their homepage.

Mysql setup

Install mysql

sudo yum search mysql // find the right names of the packages here

sudo yum install mysql-server.x86_64 mysql.x86_64 mysql-devel.x86_64

Edit mysql configuration

sudo vim /etc/my.cnf

Add the following lines if not already present:


# Allow packets up to 4MB


# Allow small words in full-text indexes


Start Mysql server

sudo /etc/init.d/mysqld start

Login as root

mysql -uroot // no password by default

Create the database for bugs in the mysql terminal by using the following sql

create database bugs;

Create the user bugs

create user bugs identified by ‘passw0rd’;

Grant the permissions to user bugs on bugs database


Flush privileges in order to take effect immediately. Very important!


NOTE: Update your password if you need to :

update mysql.user set Password=password(‘passw0rd’) where User=’bugs’

Bugzilla Setup

Download latest stable bugzilla version from the website. It’s 3.4.4 as of now

wget -O bugzilla-3.4.4.tar.gz

Change to the apache directory from where it serves files

cd /var/www/html/

Unzip the tar here /var/www/html/ so that apache can see it

sudo tar -xzvf ~/bugzilla-3.4.4.tar.gz

(optional) Rename the directory to hide the version

sudo mv bugzilla-3.4.4/ bugzilla

Change ownership so that apache can read/write to it

sudo chown -R apache.apache /var/www/html/bugzilla/

Change to bugzilla directory

cd /var/www/html/bugzilla/

Run – this will show you the perl modules missing

sudo ./ –check-modules

Install gcc (if the linux distro doesn’t already come it), as you will need it to make/compile the modules

sudo yum install gcc.x86_64

Install any missing modules //here are commonly missing modules

sudo /usr/bin/perl CGI

sudo /usr/bin/perl Digest::SHA

sudo /usr/bin/perl Date::Format

sudo /usr/bin/perl DateTime

sudo /usr/bin/perl DateTime::TimeZone

sudo /usr/bin/perl DateTime::Locale

sudo /usr/bin/perl Template

sudo /usr/bin/perl Email::Send

sudo /usr/bin/perl Email::MIME

Run the without any parameters to create a localconfig file.

sudo bash /var/www/html/bugzilla/

Change the permissions in case there should be a conflict.

sudo chmod -R 777 /var/www/html/bugzilla/

Edit localconfig

sudo vim localconfig

Update the database connection details like username and password

# The DNS name of the host that the database server runs on.

$db_host = ‘localhost’;

# The name of the database

$db_name = ‘bugs’;

# Who we connect to the database as.

$db_user = ‘bugs’;

# Enter your database password here. It’s normally advisable to specify

# a password for your bugzilla database user.

# If you use apostrophe (‘) or a backslash (\) in your password, you’ll

# need to escape it by preceding it with a ‘\’ character. (\’) or (\)

# (Far simpler just not to use those characters.)

$db_pass = ‘passw0rd’;

# Sometimes the database server is running on a non-standard port. If that’s

# the case for your database server, set this to the port number that your

# database server is running on. Setting this to 0 means “use the default

# port for my database server.”

$db_port = 0;

# With the introduction of a configurable index page using the

# template toolkit, Bugzilla’s main index page is now index.cgi.

# Most web servers will allow you to use index.cgi as a directory

# index, and many come preconfigured that way, but if yours doesn’t

# then you’ll need an index.html file that provides redirection

# to index.cgi. Setting $index_html to 1 below will allow

# to create one for you if it doesn’t exist.

# NOTE: will not replace an existing file, so if you

# wish to have create one for you, you must

# make sure that index.html doesn’t already exist

$index_html = 1;

Re-run the

sudo bash /var/www/html/bugzilla/

Apache setup

Almost all linux distributions come with httpd pre-installed (i.e. Apache)

If not, install it using

sudo yum install apache


sudo yum install httpd

Edit /etc/httpd/conf/httpd.conf

sudo vim /etc/httpd/conf/httpd.conf

and add the following lines

ScriptAlias /cgi-bin/ “/var/www/html/bugzilla/”

<Directory /var/www/html/bugzilla>

AddHandler cgi-script .cgi

Options +Indexes +ExecCGI

DirectoryIndex index.cgi

AllowOverride Limit


Find the line

DirectoryIndex index.html index.html.var

Change it to

DirectoryIndex index.html index.html.var index.cgi

Start the httpd server

sudo /etc/init.d/httpd restart

and you are good to go!

Try http://localhost/bugzilla and have fun!

Source: twincling

Real Player 11 though as not much popular these days, did strike back big with cool features with its version 11 allowing downloading streaming video.

Here is how you can download videos from YouTube.

Download RealPlayer 11 for your Operating System. You can use the following link to download:

After downloading the file, start to installation by double clicking on the executable file and following the installation steps. When you come to the installation step (as shown below), make sure to check the check box for “Download & Recording”. Continue with the installation process.

After installation is finished, open the Real Player. Go to Tools->Preferences. Click on the “Download & Recording” tab from the “Category“list on the left hand side of the window (as shown below)

Select “Only on mouse-over” radio button. You can also change here the directory path where you want the downloaded video to be saved. Click the “OK” button. Close the internet browser and then again reopen.

Now to download the video from the YouTube, start to play the video you want to download on YouTube. Point the mouse cursor to the top right corner of the screen and click the download button.

The download of the gets started. Real Player can download multiple files simultaneously. The file is saved with “.flv” extension which can be later player by RealPlayer or VLC. Happy downloading 🙂

Evernote allows you to easily capture information in any environment using whatever device or platform you find most convenient, and makes this information accessible and search able at anytime, from anywhere. With the new version of Evernote (still in beta) not only can one download the software but can also work online and later synchronize Of all the available notes solution available in the market, Evernote is one of the most desired software application for taking down notes, pictures, videos, etc. But the bad news for Linux/Ubuntu users is that Evernote installable is only available in Windows XP/Vista and Mac. There is no Linux support.

But using wine I was easily able to install Evernote on my Ubuntu. The steps are as follows:

If you do not have wine installed, you can get it with the following command:

> sudo apt-get install wine

Download the Windows installation executable of Evernote from the Evernote site (

After wine is install, type the following command:

> wine location where the executable is downloaded

For example, in mine case:

> wine /home/abby/apps/Evernote_3.0.0.594.exe

The installation process starts which is similar similar to Windows.

Complete the installation steps and you will have Evernote installed on your Ubuntu. There shall be a icon to start Evernote on the desktop too after installation is complete.

Since Evernote is in Beta, to get the invitation one need to give there  email id at this link ( they shall send you the invitation to register. I have 18 invitations remaining. In case you need one, do let me know.

Now no reason to be sad since your favourite Evernote works with your favourite Ubuntu 🙂

Update: For linux alternative of evernote, click here

# To install MySql database:

sudo apt-get install mysql-server

# To start MySql server:

/etc/init.d/mysql start

# To stop MySql server:

/etc/init.d/mysql stop

# To restart MySql server:

/etc/init.d/mysql restart

# To check the status of  MySql server:

/etc/init.d/mysql status