28 septembre 2008

Mozilla Firefox 3.0.3 setup on linux Debian with Java enabled

Installation pre-requisistes for Firefox 3.0.3 on Linux Debian (Etch):

--> Login as root as installation is done in /opt
--> Install GTK 2.10 in /opt
--> Modify slightly the end of the script for JRE download or download it manually from www.java.com

#!/bin/sh

#
# Login as root
#
echo "Please Login as root"
su -

#
# Go to Mozilla Firefox install directory
#
cd /opt

#
# Download Mozilla Firefox Package
#
echo "Downloading Mozilla Firefox"
wget "http://download.mozilla.org/?product=firefox-3.0.3&os=linux&lang=fr"

#
# Extract Firefox Directory
#
echo "Extracting Mozilla Firefox"
bzip2 -d firefox-3.0.3.tar.bz2
tar -xvf firefox-3.0.3.tar
rm -fr firefox-3.0.3.tar

#Or
#tar -xjf firefox-3.0.3.tar
#rm -fr firefox-3.0.3.tar.bz2

#
# Create Firefox start script
#
echo "Creating Firefox start script"
cat > firefox/start-firefox.sh << EOF
#!/bin/sh
export LD_LIBRARY_PATH="/opt/gtk210/lib"
export MOZ_NO_REMOTE=1
/opt/firefox/firefox \$*
EOF
chmod a+x firefox/start-firefox.sh

#
# Download Java Runtime Environment
#
echo "Downloading Java JRE"
wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=23103
echo "Installing Java JRE"
chmod u+x jre-6u7-linux-i586.bin
./jre-6u7-linux-i586.bin
rm -fr jre-6u7-linux-i586.bin

#
# Set up Java plugin for Mozilla Firefox
#
echo "Setting up Java Plugin for Firefox"
ln -s /opt/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so firefox/plugins/

Correct Java installation for Firefox can be checked on http://www.java.com/fr/ or http://www.java.com/fr/download/installed.jsp

Libellés : , , , , , ,

0 commentaires:

Enregistrer un commentaire

Abonnement Publier les commentaires [Atom]

<< Accueil

11 septembre 2008

Adobe Flash Player 9 sous Debian Etch

L'installation d'Adobe Flash Player version 9 est plus simple que par le passé sous Linux.

On se rend sur la page d'Adobe: http://www.adobe.com/fr/products/flashplayer/ puis on clique sur http://www.adobe.com/go/getflashplayer.

Le fichier téléchargé est une archive: install_flash_player_9_linux.tar.gz.

Après s'être loggé en root:

gzip -d install_flash_player_9_linux.tar.gz
tar -xvf install_flash_player_9_linux.tar

ou

tar -xzf install_flash_player_9_linux.tar.gz

Le contenu du répertoire décompressé est le suivant:
flashplayer-installer
libflashplayer.so

On lance alors le script Shell d'installation ./flashplayer-installer

Copyright(C) 2002-2006 Adobe Macromedia Software LLC. All rights reserved.

Adobe Flash Player 9 for Linux

Adobe Flash Player 9 will be installed on this machine.

You are running the Adobe Flash Player installer as the "root" user.
Adobe Flash Player 9 will be installed system-wide.

Support is available at http://www.adobe.com/support/flashplayer/

To install Adobe Flash Player 9 now, press ENTER.

To cancel the installation at any time, press Control-C.



NOTE: Please exit any browsers you may have running.

Press ENTER to continue...

L'installation de Flash demande confirmation et la fermeture des navigateurs.

Il suffit ensuite de préciser le répertoire d'installation de Firefox:

Please enter the installation path of the Mozilla, Netscape,
or Opera browser (i.e., /usr/lib/mozilla): /opt/firefox


----------- Install Action Summary -----------

Adobe Flash Player 9 will be installed in the following directory:

Browser installation directory = /opt/firefox

Proceed with the installation? (y/n/q): y

Installation complete.


Perform another installation? (y/n): n


Please log out of this session and log in for the changes to take effect.


The Adobe Flash Player installation is complete.

Le Plugin Flash est alors installé dans le répertoire /opt/firefox/plugin:

ls /opt/firefox/plugins/
libflashplayer.so libnullplugin.so

Libellés : , , , , , , , , ,

0 commentaires:

Enregistrer un commentaire

Abonnement Publier les commentaires [Atom]

<< Accueil