How to install New Firefox on Ubuntu

This simple step by step tutorial will explain you how to download and install Mozilla Firefox on your Ubuntu PC / Laptop.

  1. Download Mozilla Firefox from their downloads page (Since now they support both 32bit and 64bit architectures, make sure to download the correct version): Click Here
  2. Once you have downloaded, go to that download directory and extract the downloaded tar.bz2 file
  3. Then move that extracted content (firefox folder) to /opt/ directory
  4. Now create a link in /usr/share/pixmaps/ pointing firefox icon. (in-order to use with desktop entry)
  5. Now create a desktop entry for ease of access.
    1.   Create a new .desktop file for firefox
    2. Copy and Paste below content to opened firefox.desktop file
    3. Now save that file
  6. That’s it. you are ready to go. Now you can simply search in Ubuntu dash for firefox.

If you find this useful, Please leave a comment below.

How To Install Redis in Ubuntu

What is Redis?

Redis is a flexible, open-source, key value data store. Following in the footsteps of other NoSQL databases, such as Cassandra, CouchDB, and MongoDB, Redis allows the user to store vast amounts of data without the limits of a relational database. Additionally, it has also been compared to memcache and can be used, with its basic elements as a cache with persistence.

Set-up Environment For Installation.

Before installing redis, there are a couple of prerequisites that need to be downloaded in-order to proceed with the installation.

1. Update all of the apt-get packages.

2. Download a compiler with build essential in-order to install Redis from source.

 3. Download and install tcl8.5

Install Redis

After all of the prerequisites and dependencies downloaded to the server, you can proceed with the Redis installation from source.

1. Download the Stable Redis release from their website. google code. The latest stable version is 2.8.3 Continue reading How To Install Redis in Ubuntu

How to uninstall Redis server from Ubuntu

Today I came across with a bit of a problem while trying to remove Redis 2.6 from one of my servers. The problem was, when I was installing at the first time I used make install  (Source build) instead of apt-get install (from repository). Since the make file didn’t had a un-install option, I had to remove it manually. In this post I will guide you through both uninstallation methods, You can chose the suitable method depending on how you installed it.

If you use apt-get

You can simply type below command in your terminal. This will remove the redis-server package and any other dependant packages which are no longer needed (Because of --auto-remove). And also it will delete your local/config files for redis-server (Because of purge).

 

If you used makefile

This is where it gets bit tricky. Because you will have to manually remove installed files. Here is how to do it; Continue reading How to uninstall Redis server from Ubuntu

Installing Zend Guard on Linux distributions (Centos 6, Debian, Ubuntu)

Zend Optimizer is a PHP extension and can be used to run PHP scripts that are encoded with Zend Guard. Zend Optimizer is compatible with PHP 5.2. If you are running PHP 5.3 or above you should use Zend Guard, which is an analogue of Zend Optimizer. In this article I will go through the steps you need to follow when installing Zend Guard on popular Linux distributions like Centos 6, Debian, Ubuntu.

1. First you need to know the linux distribution, it’s architecture, and the PHP version you are using.

  • To find the linux distribution, type cat /etc/issue in terminal.
  • To find the architecture of your system, type uname -a in terminal.
  • To find the php version, type php -v in terminal.

2. Download the appropriate Zend Gard

  • For 32-bit operating systems :
  •  For 64-bit operating systems :

Continue reading Installing Zend Guard on Linux distributions (Centos 6, Debian, Ubuntu)

How to Reinstall and Update Grub 2 with a Ubuntu Live CD

I had Windows 7 + Ubuntu 12.04 (Precise Pangolin) installed on my PC. But I needed to develop applications to Windows Phone 8. Since the SDK for Windows Phone 8 only works perfectly under Windows 8, I had to upgrade my Windows 7 installation to Windows 8. After the upgrade, and when I reboot my PC, I noticed that the GRUB won’t appear any more. The reason is Grub 2 gets overridden when you install Windows or another Operating System. But It can be fixed. In order to make Ubuntu control the boot process back again, you just need Reinstall (Repair/Restore) Grub using a Ubuntu Live CD. This is how it should be done :

Continue reading How to Reinstall and Update Grub 2 with a Ubuntu Live CD