Install Tomcat 6 on CentOS or RHEL --转载
Once you have added the above to ~/.bash_profile or ~/.bashrc,you <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">?
Step 2: Download and Install Tomcat 6.0.32:
Download apache-tomcat-6.0.32.tar.gz <a href="http://tomcat.apache.org/download-60.cgi" target="_blank">here Save the file to a directory. I'm saving it to /root/apache-tomcat-6.0.32.tar.gz Before proceeding,you should verify the MD5 Checksum for your Tomcat download (or any other download). Since we saved the Tomcat download to /root/apache-tomcat-6.0.32.tar.gz,we'll go to the /root directory and use the md5sum command. <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">?
Compare the output above to the MD5 Checksum provided by <a href="http://www.apache.org/dist/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.zip.md5" target="_blank">the Apache Tomcat MD5 page Now,move (mv) or copy (cp) the file to the /usr/share directory: <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">?
Change to the /usr/share directory and unpack the file using tar -xzf: <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">?
This will create the directory /usr/share/apache-tomcat-6.0.32 At this point,you could start Tomcat via the Tomcat bin directory using <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">?
Step 3: How to Run Tomcat as a Service.
We will now see how to run Tomcat as a service and create a simple (编辑:淮南站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 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类文件