开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

查看: 2201|回复: 2
收起左侧

[原创视频分享] 收款系统第八课:Linux部署Web程序

[复制链接]

结帖率:76% (32/42)
发表于 2017-7-9 17:02:39 | 显示全部楼层 |阅读模式   山东省济南市
本帖最后由 宇智波·佐助 于 2017-7-10 12:50 编辑

教程大纲请看这:http://bbs.125.la/forum.php?mod= ... ;extra=#pid11408618




  1. [root@localhost tomcat]# vim conf/server.xml

  2.     -->
  3.     <Engine name="Catalina" defaultHost="localhost">

  4.       <!--For clustering, please take a look at documentation at:
  5.           /docs/cluster-howto.html  (simple how to)
  6.           /docs/config/cluster.html (reference documentation) -->
  7.       <!--
  8.       <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
  9.       -->

  10.       <!-- Use the LockOutRealm to prevent attempts to guess user passwords
  11.            via a brute-force attack -->
  12.       <Realm className="org.apache.catalina.realm.LockOutRealm">
  13.         <!-- This Realm uses the UserDatabase configured in the global JNDI
  14.              resources under the key "UserDatabase".  Any edits
  15.              that are performed against this UserDatabase are immediately
  16.              available for use by the Realm.  -->
  17.         <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
  18.                resourceName="UserDatabase"/>
  19.       </Realm>


  20.       <Host name="localhost"  appBase="webapps"
  21.             unpackWARs="true" autoDeploy="true">

  22.         <!-- SingleSignOn valve, share authentication between web applications
  23.              Documentation at: /docs/config/valve.html -->
  24.         <!--
  25.         <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
  26.         -->

  27.         <!-- Access log processes all example.
  28.              Documentation at: /docs/config/valve.html
  29.              Note: The pattern used is equivalent to using pattern="common" -->
  30.         <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
  31.                prefix="localhost_access_log." suffix=".txt"
  32.                pattern="%h %l %u %t "%r" %s %b" />
  33.         <Context path="" docBase="../webapps/pay" debug="0"/>
  34.       </Host>
  35.     </Engine>
  36.   </Service>
  37. </Server>
复制代码



百度云:http://pan.baidu.com/s/1bUQwWm微云:https://share.weiyun.com/720785334c5b6039dd57063e0f0df0da

本帖被以下淘专辑推荐:

结帖率:32% (6/19)

签到天数: 1 天

发表于 2024-3-12 09:04:27 | 显示全部楼层   贵州省黔东南苗族侗族自治州
感谢分享,很给力!~
回复 支持 反对

使用道具 举报

发表于 2017-7-15 16:37:03 | 显示全部楼层   广西壮族自治区贵港市
js,看不懂  !
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 793400750,邮箱:wp@125.la
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表