Install Tomcat 6 on CentOS or RHEL --转载
The above will create a home directory for the user tomcat in the default user home as /home/tomcat If we want the home directory to be elsewhere,we simply specify so using the -d switch. <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">?
The above will create the user tomcat's home directory as /usr/share/apache-tomcat-6.0.32/tomcat
Note: it is possible to enhance our security still further by making
Step 6 (Optional): How to Run Tomcat on Port 80 as Non-Root User.
Note: the following applies when you are running Tomcat in "stand alone" To run services below port 1024 as a user other than root,you can add the following to your IP tables: <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">?
Learn More About Apache Tomcat (编辑:淮南站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- linux-kernel – / proc / sys / fs / file-max的缺省值
- ios7 beta2固件升级 ios7 beta2刷机图文教程
- linux – 来自便利库的符号未在可执行文件中导出
- linux-kernel – linux内核如何从Device树中获取数据?
- 新型止鼾神器火爆国外 从此告别打呼噜!
- 海信电视怎么设置3d 海信电视设置3d模式教程
- install keepalived on RedHat/CentOS to provide IP failo
- 甩不掉的“小尾巴” CES惊现智能跟随行李箱
- 微信语音怎么保存 微信语音导出文件夹教程
- 访问DOCUMENT_ROOT之外的PHP类文件