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
Correct Java installation for Firefox can be checked on http://www.java.com/fr/ or http://www.java.com/fr/download/installed.jsp
--> 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 : Debian Etch, Debian Linux, Firefox 3.0.3, java, Linux, Mozilla, Mozilla Firefox
0 commentaires:
Enregistrer un commentaire
Abonnement Publier les commentaires [Atom]
<< Accueil