Install Tomcat 6 on CentOS or RHEL --转载
Stop Tomcat: <div class="dp-highlighter"> <div class="bar"> <div class="tools"> <a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">view plain<a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">copy to clipboard<a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">print<a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">?
Restarting Tomcat (Must be started first): <div class="dp-highlighter"> <div class="bar"> <div class="tools"> <a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">view plain<a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">copy to clipboard<a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">print<a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">?
We should review the Catalina.out log located at /usr/share/apache-tomcat-6.0.32/logs/catalina.out and check for any errors. <div class="dp-highlighter"> <div class="bar"> <div class="tools"> <a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">view plain<a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">copy to clipboard<a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">print<a href="http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centos">?
We can now access the Tomcat Manager page at: http://yourdomain.com:8080 or http://yourIPaddress:8080 and we should see the Tomcat home page. <div style="color: #990000; text-align: center;">? <div style="color: #990000; text-align: center;"> Step 5 (Optional): How to Run Tomcat using Minimally Privileged (non-root) User.
In our Tomcat configuration above,we are running Tomcat as Root. For security reasons,it is always best to run services with the only those privileges that are necessary. There are some who make a strong case that this is not required,but it's always best to err on the side of caution. To run Tomcat as non-root user,we need to do the following:
(编辑:ASP站长) 【免责声明】本站内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。 |
-
无相关信息