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 (编辑:应用网_常德站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 内存管理 – 哪些数据结构使用128MB的1GB Linux内核空间?
- linux – 内核模块中的EXPORT_SYMBOL | insmod期间未定义的
- linux – 如何将子域重定向到同一服务器上的其他端口?
- 修复Ubuntu中的 “Unable to parse package file” BUG
- 心心念的应用,让 Linux 新手在 Ubuntu 上轻松玩游戏
- 5 种拆分 Linux 终端的技巧
- OS Prober 被禁用,Ubuntu 正在考虑新的多重引导方法
- 关于在Linux下组织C开发的源代码和构建的建议(CMake as gen
- linux中日历命令显示
- 安装软件时提示缺少一个.so文件,无法继续怎么办