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:
(编辑:威海站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |