Wednesday, March 30, 2011

How to Install Firefox 4 in Ubuntu Linux


Earlier today, we reported that Firefox 4 has just been released. Why do you need instructions to install the newest Firefox in Ubuntu? If you go into your Ubuntu Software Center, you’ll see that you more than likely have Firefox 3.6 installed, and it’s “up to date”. Naturally, they don’t add programs to the Software Center as soon as they are released. That would be foolish if there was something wrong with the new version. I don’t blame them for waiting at least a few days for the adventure seekers to provide some feedback.
There are three ways that I know of to add the newest Firefox to Ubuntu.
firefox 4

Method 1: Download Bzipped Package

You can go to the Firefox download page, download the TAR.BZ2 package and manually install it. The advantage of that method is that you won’t lose the current version 3.6 of Firefox. However, you’ll have to unpack the BZ2 file to a folder somewhere, locate the “firefox” executable file, then double click to launch it. If you’d like to, you can also create your own launcher link on the desktop or add it to a panel.

Method 2: Command Line Install

You can add the Firefox “Stable” repository and install the latest version from the command line in a terminal window. That’s actually the easiest method for most linux users. Here are the three simple commands you need to enter into the terminal.
sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
sudo apt-get upgrade

Method 3: Software Center Install

Open your “Ubuntu Software Center” and click “Edit” > “Software Sources” then click the ‘Other Software’ tab. Add the PPA as shown below. When you exit the “Software Sources” applet, your Software Center will reload the repositories and it may even automatically find the updated Firefox for you.
ppa:mozillateam/firefox-stable
add firefox stable ppa to the software center




Sunday, March 27, 2011

Ubuntu Linux Configure DNS Name Server IP Address ( DNS Client )

Type the following command, enter:
sudo gedit /etc/resolv.conf

Append your ISP name server or free fast dns nameservers IP address as follows:
nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 202.51.5.52



or
Use Google DNS


8.8.8.8
8.8.4.4

Wednesday, March 23, 2011

.htaccess & .htpasswd Files not Working in ubuntu

My solution to solve this is change /etc/apache2/sites-available/default

sudo vi /etc/apache2/sites-available/default
or
sudo nano ....
depending on your preference


You see something like:
Code:
<directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>

Change this to:
Code:
<directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>
and restart apache (sudo /etc/init.d/apache2 force-reload) and you see the .htaccess file is read and you are required to enter a username/password