How to Install Firefox 2 in Bayanihan Linux 4 Beta 2

Wednesday, March 21, 2007 at 8:01 am (Linux Setup and Configuration)

What is new in Firefox 2 ?If you want to know what is new in Firefox 2 click here

Installing Firefox2 in Bayanihan Linux 4 Beta 2

Prepare your system

sudo apt-get install libstdc++5

Now you need to backup your old firefox prferences

sudo cp -R ~/.mozilla ~/.mozillabackup

Now you need to download Firefox 2 from Mozilla site

wget -c ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0/linux-i686/en-GB/firefox-2.0.tar.gz

Unzip the .tar.gz file in /opt directory using the following command

sudo tar -C /opt -xzvf firefox-2.0.tar.gz

Now you need to link the plugins using the following command

cd /opt/firefox/plugins/

sudo ln -s /usr/lib/mozilla-firefox/plugins/* .

Now you need to create a link to your new firefox launcher using the following command

sudo dpkg-divert –divert /usr/bin/firefox.bayanihan –rename /usr/bin/firefox

sudo ln -s /opt/firefox/firefox /usr/bin/firefox

sudo dpkg-divert –divert /usr/bin/mozilla-firefox.bayanihan –rename /usr/bin/mozilla-firefox

sudo ln -s /opt/firefox/firefox /usr/bin/mozilla-firefox

This will complete the installation of firefox 2

Happy Installing …… :)

Permalink Leave a Comment

How to automatically Mount NTFS and Fat32 Partition in Bayanihan Linux 4

Tuesday, March 20, 2007 at 6:46 am (Linux Setup and Configuration)

First Lets look for our NTFS and Fat32 Partition

localhost:~# sudo fdisk -l

you’re looking for NTFS and Fat32, the output should look like this

Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4909 39327120 83 Linux
/dev/hda3 4910 4998 714892+ 82 Linux swap / Solaris

Disk /dev/hdb: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 60945 30716248+ 7 HPFS/NTFS
/dev/hdb2 60946 158786 49311517+ f W95 Ext’d (LBA)
/dev/hdb5 60946 101586 20482843+ b W95 FAT32
/dev/hdb6 101586 102479 449788+ 82 Linux swap / Solaris
/dev/hdb7 102479 158786 28378791 83 Linux
localhost:~#

in this case hdb1 is the NTFS Partition and hdb5 is the FAT32 partition, now lets create a mount point for our partition. This is a folder into which this disk will be mounted.We will put it in the /media directory so it’ll show up on the desktop.

localhost:~# sudo mkdir /media/ntfs
localhost:~# sudo mkdir /media/fat32

Now let’s make a backup of our fstab
localhost:~# sudo cp /etc/fstab /etc/fstab.bak

lets edit the fstab

localhost:~# mcedit /etc/fstab

append the following line just below the /dev/cdrom

/dev/hdb1 /media/ntfs ntfs nls=utf8,umask=0222 0 0
/dev/hdb5 /media/fat32 vfat iocharset=utf8,umask=000 0 0

now press F2 to save and F10 to exit. now to remount fstab without rebooting

localhost:~# sudo mount -a

or just reboot to make changes take effect……. :)

Permalink Leave a Comment

Bayanihan Linux 4 Repositories

Thursday, March 15, 2007 at 8:49 am (Linux Setup and Configuration)

Since BL4 is now debian-based, you can use the official debian sarge repositories. Add the following lines to your /etc/apt/sources.list file:

Code:
deb http://ftp.debian.org/debian sarge main contrib non-free
deb http://security.debian.org/ sarge/updates main contrib non-free

If you need to compile programs that use KDE widgets (UI), add the lines below to get the development headers for Xorg6.8.2 and KDE3.5:

Code:
deb http://www.backports.org/debian/ sarge-backports main

Run apt-get update and use either aptitude (recommended) or synaptic (GUI) to select the packages you would like installed/upgraded.
Thanks to RAGE Callao for this info.

Permalink Leave a Comment