BE AWARE: My sense is rattling limited. I am non certain these codes are perfect. I merely wishing tell that they operate for me. Thanks
http://www.java.com/en/download/help/linux_install.xml#selfextracting
Download coffee jre-6u20-linux-i586.bin fromhttp://javadl.sun.com/webapps/download/AutoDL?BundleId=39485
To install the Linux (self-extracting) file
Follow these instructions:
1. Change the permission of the file you lot downloaded to endure executable. Type:
chmod a+x jre-6u20-linux-i586.bin
2. Verify that you lot stimulate got permission to execute the file. Type:
ls -l
3. Change to the directory inward which you lot wishing to install. Type:
cd
For example, to install the software inward the /usr/java/ directory, Type:
cd /usr/java/
Note almost origin access: To install Java inward a system-wide location such equally /usr/local, you lot must login equally the origin user to compass the necessary permissions. If you lot exercise non stimulate got origin access, install the Java inward your domicile directory or a subdirectory for which you lot stimulate got write permissions.
4. Run the self-extracting binary Type:
./jre-6u20-linux-i586.bin
The license understanding is displayed. Review the agreement. Press the spacebar to display the side past times side page. At the end, move inward yes to proceed amongst the installation.
5. Java is installed into its ain directory. In this example, it is installed inward the /usr/java/jre1.6.0_20 directory. When the installation has completed, you lot volition run across the give-and-take Done.
6. Verify that the jre1.6.0_20 sub-directory is listed nether the electrical flow directory. Type:
ls
Enable together with Configure
Firefox or Mozilla
1. Create a symbolic link to the libjavaplugin.so file inward the browser plugins directory
* Go to the plugins sub-directory nether the Firefox installation directory
cd
* Create the symbolic link
ln -s
ns7/libjavaplugin_oji.so
In the ln ascendency employment above, role ns7-gcc29 if Firefox was compiled amongst gcc2.9.
If you lot install Firefox 1.5 or later, you lot tin enable the Java Console carte detail inward the Tools menu. Change directories to the Firefox extensions directory, together with then unzip ffjcext.zip there.
cd /usr/lib/firefox-1.4/extensions
unzip /usr/java/jre1.6.0/lib/deploy/ffjcext.zip
Example
* If Firefox is installed at this directory:
/usr/lib/firefox-1.4/
* And if the Java is installed at this directory:
/usr/java/jre1.6.0_20
* Then type inward the concluding window to become to the browser plug-in directory:
cd /usr/lib/firefox-1.4/plugins
* Enter the next ascendency to exercise a symbolic link to the Java Plug-in for the Mozilla browser.
ln -s /usr/java/jre1.6.0_20/plugin/i386/ns7/libjavaplugin_oji.so
2. Start the Firefox browser, or restart it if it is already up.
In Firefox, type about:plugins inward the Location bar to confirm that the Java Plugin is loaded. If the version is Firefox 1.5 or later, click the Tools carte to confirm that Java Console is there
http://ubuntuforums.org/showthread.php?p=226828
Download Tomcat from http://mango.serotoninsoftware.com/downloads/apache-tomcat-6.0.20.tar.gz
Add tomcat
Place the uncompressed packet in:
/usr/tomcat/
Step 1 – Set JAVA_HOME together with CLASSPATH
You require to betoken out where you lot installed Java SDK. You volition stimulate got to edit the file '.bashrc'. Backup this file first!
In concluding type:
Code:
gedit /.bashrc
Add the next lines to the file:
Code:
#Stuff nosotros added to brand tomcat go
export JAVA_HOME=/usr/java/jre1.6.0_20/
export CLASSPATH=/usr/tomcat/apache-tomcat-6.0.20/lib/jsp-api.jar:/usr/tomcat/apache-tomcat-6.0.20/lib.jar
#endStuff nosotros added to brand tomcat go
N.B. cry upwardly to modify the give-and-take tomcat to the cite of the packet you lot placed inward /usr/tomcat
Step ii – Start tomcat
Tomcat should immediately endure laid upwardly to run.
In concluding type:
Code:
sh /usr/tomcat/apache-tomcat-6.0.20/bin/startup.sh
If everything is working fine, you lot volition run across the next lines:
Code:
Using CATALINA_BASE: /usr/tomcat/apache-tomcat-6.0.20
Using CATALINA_HOME: /usr/tomcat/apache-tomcat-6.0.20
Using CATALINA_TMPDIR: /usr/tomcat//apache-tomcat-6.0.20/temp
Using JRE_HOME: /usr/lib/j2sdk1.5-sun/
In your browser caput to http://localhost/ together with attempt out if it is serving. If you lot didn't modify the port release it was serving on, caput to http://localhost:8080/
If Tomcat started successfully, you lot should run across a Tomcat welcome page when you lot straight your browser to http://localhost:8080/ (if you lot did non modify the port inward server.xml).
Shut downward Tomcat earlier continuing amongst the installation. Either unopen the Tomcat window, or execute either
To halt tomcat type:
Code:
sh /usr/tomcat/apache-tomcat-6.0.20/bin/shutdown.sh
http://mango.serotoninsoftware.com/download.jsp
Download Mango http://mango.serotoninsoftware.com/downloads/mango-1.8.2.tar.gz
These instructions assume that you lot volition endure installing Mango equally the origin application inside Tomcat. Mango tin also endure installed inward an application path if desired, but such an installation is non described here.
You may optionally clear out the applications that are shipped amongst Tomcat, equally they are non required. To exercise so, delete all directories under
Unzip the Mango binary archive into the
Upon installation, Mango creates a unmarried login concern human relationship amongst username "admin" together with password "admin". Once you lot log in, you lot are strongly encouraged to modify at to the lowest degree the password for this concern human relationship on the "Users" page (). Also, you lot tin laid diverse organisation properties on the "System settings" page ().
Congratulations! Mango is immediately laid upwardly to use!