Here's how you can run Firefox 5 and enjoy a modern browser and not have to do unset LD_PRELOAD before running Firefox

1) Set Proxy
-------------
If necessary, set the system proxy or set a proxy by hand in the terminal where you will run yum

http_proxy=http://server.fqdn:port;export http_proxy

2) Configure Public Yum
--------------
If you don't have access to ULN, configure your server for Oracle's public yum server.

cd /etc/yum.repos.d
wget http://public-yum.oracle.com/public-yum-el5.repo

Edit /etc/yum.repos.d/public-yum-el5.repo and change enabled from 0 to 1 for the update you are using. For instance if I was running OL 5.6, I'd edit the section that starts with [ol5_u6_base]

If unsure of the update, cat /etc/redhat-release to see what version of OL is installed.

3) Install / Update required software
-------------------------------------
Install or update the following:

libevent-1.4.13-1.i386
libstdc++-4.1.2-48.el5.i386
gtk2-engines-2.8.0-3.el5.i386

4) Download FF 5
------------------
Download Firefox 5 for Linux:
http://www.mozilla.com/en-US/firefox/all.html

Extract and move to /opt/firefox

remove symlink of /usr/bin/firefox and create new symlink.
ln -s /opt/firefox/firefox /usr/bin/firefox

mkdir /opt/firefox/plugins (so you can drop plugins in there later)

5) Get required libraries that are not part of OL 5.x
-------------------------------------------------------
Grab libstdc++-4.3.0-8.i386.rpm from the fedora archives

http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/i386/os/Packages/libstdc++-4.3.0-8.i386.rpm

Extract out the libraries with the following command

rpm2cpio libstdc++-4.3.0-8.i386.rpm | cpio -i --make-directories

In the directory where you ran the rpm2cpio command, there will be a new directory called /usr/lib that contains two files:
libstdc++.so.6
libstdc++.so.6.0.10

Copy these two files to /opt/firefox

6) Run /opt/firefox/firefox and enjoy your modern browser.


PS I'm working on a kiosk setup that uses the new Firefox 'sync'. Looks promising that you can have the kiosk instance of the browser automatically update and download all config, preferences, etc from one central location. I'll write it up when I have more time.

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to