Deploy web projects in Redhat Enterprise Linux 5 (4) rhel5

Source: Internet
Author: User

 

 

I.DeploymentWebProject

1. Package the project file, such Jdan. War File, put Tomcat Installation Directory Webapps Lower (/Apache-Tomcat-6.0.14/webapps /) .

2. terminal window, go to /Apache-Tomcat-6.0.14/bin/, RUN startup. sh , start the service

3.Modify configuration fileConfig. properties:

/Apache-Tomcat-6.0.14/webapps/jmam32/WEB-INF/classes/CONF/config. Properties

4. restart Tomcat service: in the terminal window /Apache-Tomcat-6.0.14/bin/ RUN shutdown. sh and startup. sh

5. disable RedHat default firewall, system -- > Management -- > Security Level and firewall , disable the firewall.

 

II.IsFirefoxSpecifyJRE

1. In rhel5, the default value is firefox1.5 and too old... MeDownload the latest versionFirefox3.0.4And install

2. In the terminal window, enter Firefox Installation path, enter the link command Firefox Specify JRE (/usr/Java/ Is Java Path ) :

Ln-S/usr/Java/jdk1.5.0 _ 16/JRE/plugin/i386/ns7/libjavaplugin_oji.so./plugins/libjavaplugin_oji.So

(Note thatRoot).

3.Check: OpenFirefoxIn the address bar, enterAbout: plugins,You can see that the installation is complete.JREEnvironment.

 

3..SetAppletPermission:

The system requires the client Applet and the execution permission.

Find File/Usr/Java/jdk1.5.0 _ 16/JRE/lib/security/Java. Policy

Add the following sentence:

Permission java. Security. allpermission;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.