网站数据模版收费网站推广

news/2025/10/5 21:37:42/文章来源:
网站数据模版,收费网站推广,网页设计和网站设计的区别,做感恩网站的图片大全为什么80%的码农都做不了架构师#xff1f; 反正每次来做一个不熟悉的东西#xff0c;就是各种的search ,前一次去做过一个apache的东西#xff0c;各种蛋疼#xff0c;各种不能用。好多的东西也是比较旧了的咯。 这次结合前辈的各种东借西拿#xff0c;总… 为什么80%的码农都做不了架构师    反正每次来做一个不熟悉的东西就是各种的search ,前一次去做过一个apache的东西各种蛋疼各种不能用。好多的东西也是比较旧了的咯。 这次结合前辈的各种东借西拿总算是成功了。 如果有些不明白建议先看下一篇因为你的打开方式有些不对。 环境 win7 sp1.              jdk1.7              httpd2.4x64              tomcat7.59 我们这里是使用AJP模式来进行集群 sp 0: 首先是安装apache 修改httpd.conf中的一些路径设置各种路径为当前你放置apache-httpd的路径 ServerRoot D:\apache24-tct7\Apache24 //.....省略n多路径配置 sp 1. 配置一下模块打开 LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule slotmem_shm_module modules/mod_slotmem_shm.soLoadModule speling_module modules/mod_speling.soLoadModule ssl_module modules/mod_ssl.so #可能还需要这个 LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so LoadModule proxy_html_module modules/mod_proxy_html.so 1.1 配置反向代理 ProxyRequests Off proxy balancer://clusterBalancerMember ajp://127.0.0.1:9001 loadfactor1 routejvm1BalancerMember ajp://127.0.0.1:9002 loadfactor1 routejvm2BalancerMember ajp://127.0.0.1:9003 loadfactor1 routejvm3 /proxy sp 2. 配置tomcat 2.1改 SHUTDOWN 端口     #同一服务器中必须不一样因为可能冲突 Server port9006 shutdownSHUTDOWN 2.2改http port redirectPort      #同一服务器中必须不一样因为可能冲突 Connector port8081 protocolHTTP/1.1 executortomcatThreadPoolconnectionTimeout20000redirectPort9441 / 2.3 改ajp port redirectPort     #同一服务器中必须不一样因为可能冲突 Connector port9001 protocolAJP/1.3 redirectPort8441 / 2.4 改 Engine 加上 jvmRoute 需要跟httpd.conf中保持一致 Engine nameCatalina defaultHostlocalhost jvmRoutejvm1 2.5 加上Cluster  具体如下     #其中Receiver  port5001   同一服务器下不能一样 Cluster classNameorg.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions6Manager classNameorg.apache.catalina.ha.session.BackupManager expireSessionsOnShutdownfalse notifyListenersOnReplicationtrue mapSendOptions6 /Channel classNameorg.apache.catalina.tribes.group.GroupChannelMembership classNameorg.apache.catalina.tribes.membership.McastService address228.0.0.4 port45564 frequency500 dropTime3000 /Receiver classNameorg.apache.catalina.tribes.transport.nio.NioReceiver addressauto port5001 selectorTimeout100 maxThreads6 /Sender classNameorg.apache.catalina.tribes.transport.ReplicationTransmitterTransport classNameorg.apache.catalina.tribes.transport.nio.PooledParallelSender //SenderInterceptor classNameorg.apache.catalina.tribes.group.interceptors.TcpFailureDetector /Interceptor classNameorg.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor /Interceptor classNameorg.apache.catalina.tribes.group.interceptors.ThroughputInterceptor //ChannelValve classNameorg.apache.catalina.ha.tcp.ReplicationValve filter.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt; /Deployer classNameorg.apache.catalina.ha.deploy.FarmWarDeployer tempDir/tmp/war-temp/ deployDir/tmp/war-deploy/ watchDir/tmp/war-listen/ watchEnabledfalse /ClusterListener classNameorg.apache.catalina.ha.session.ClusterSessionListener //Cluster sp 3. 改项目web.xml 在其中添加 distributable / 节点 放一个完整一点的tomcat的server.xml ?xml version1.0 encodingutf-8? !--Licensed to the Apache Software Foundation (ASF) under one or morecontributor license agreements.  See the NOTICE file distributed withthis work for additional information regarding copyright ownership.The ASF licenses this file to You under the Apache License, Version 2.0(the License); you may not use this file except in compliance withthe License.  You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an AS IS BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License. -- !-- Note:  A Server is not itself a Container, so you may notdefine subcomponents such as Valves at this level.Documentation at /docs/config/server.html-- Server port9006 shutdownSHUTDOWNListener classNameorg.apache.catalina.startup.VersionLoggerListener /!-- Security listener. Documentation at /docs/config/listeners.htmlListener classNameorg.apache.catalina.security.SecurityListener /--!--APR library loader. Documentation at /docs/apr.html --Listener classNameorg.apache.catalina.core.AprLifecycleListener SSLEngineon /!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html --Listener classNameorg.apache.catalina.core.JasperListener /!-- Prevent memory leaks due to use of particular java/javax APIs--Listener classNameorg.apache.catalina.core.JreMemoryLeakPreventionListener /Listener classNameorg.apache.catalina.mbeans.GlobalResourcesLifecycleListener /Listener classNameorg.apache.catalina.core.ThreadLocalLeakPreventionListener /!-- Global JNDI resourcesDocumentation at /docs/jndi-resources-howto.html--GlobalNamingResources!-- Editable user database that can also be used byUserDatabaseRealm to authenticate users--Resource nameUserDatabase authContainertypeorg.apache.catalina.UserDatabasedescriptionUser database that can be updated and savedfactoryorg.apache.catalina.users.MemoryUserDatabaseFactorypathnameconf/tomcat-users.xml //GlobalNamingResources!-- A Service is a collection of one or more Connectors that sharea single Container Note:  A Service is not itself a Container,so you may not define subcomponents such as Valves at this level.Documentation at /docs/config/service.html--Service nameCatalina!--The connectors can use a shared executor, you can define one or more named thread pools--!--Executor nametomcatThreadPool namePrefixcatalina-exec-maxThreads150 minSpareThreads4/--!-- A Connector represents an endpoint by which requests are receivedand responses are returned. Documentation at :Java HTTP Connector: /docs/config/http.html (blocking  non-blocking)Java AJP  Connector: /docs/config/ajp.htmlAPR (HTTP/AJP) Connector: /docs/apr.htmlDefine a non-SSL HTTP/1.1 Connector on port 8080--Connector port8081 protocolHTTP/1.1 executortomcatThreadPoolconnectionTimeout20000redirectPort9441 /!-- A Connector using the shared thread pool--!--Connector executortomcatThreadPoolport8080 protocolHTTP/1.1connectionTimeout20000redirectPort8443 /--!-- Define a SSL HTTP/1.1 Connector on port 8443This connector uses the BIO implementation that requires the JSSEstyle configuration. When using the APR/native implementation, theOpenSSL style configuration is required as described in the APR/nativedocumentation --!--Connector port8443 protocolorg.apache.coyote.http11.Http11ProtocolmaxThreads150 SSLEnabledtrue schemehttps securetrueclientAuthfalse sslProtocolTLS /--!-- Define an AJP 1.3 Connector on port 8009 --Connector port9001 protocolAJP/1.3 redirectPort8441 /!-- An Engine represents the entry point (within Catalina) that processesevery request.  The Engine implementation for Tomcat stand aloneanalyzes the HTTP headers included with the request, and passes themon to the appropriate Host (virtual host).Documentation at /docs/config/engine.html --!-- You should set jvmRoute to support load-balancing via AJP ie :Engine nameCatalina defaultHostlocalhost jvmRoutejvm1Engine nameCatalina defaultHostlocalhost--Engine nameCatalina defaultHostlocalhost jvmRoutejvm1!--For clustering, please take a look at documentation at:/docs/cluster-howto.html  (simple how to)/docs/config/cluster.html (reference documentation) --!--Cluster classNameorg.apache.catalina.ha.tcp.SimpleTcpCluster/--Cluster classNameorg.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions6Manager classNameorg.apache.catalina.ha.session.BackupManager expireSessionsOnShutdownfalse notifyListenersOnReplicationtrue mapSendOptions6 /Channel classNameorg.apache.catalina.tribes.group.GroupChannelMembership classNameorg.apache.catalina.tribes.membership.McastService address228.0.0.4 port45564 frequency500 dropTime3000 /Receiver classNameorg.apache.catalina.tribes.transport.nio.NioReceiver addressauto port5001 selectorTimeout100 maxThreads6 /Sender classNameorg.apache.catalina.tribes.transport.ReplicationTransmitterTransport classNameorg.apache.catalina.tribes.transport.nio.PooledParallelSender //SenderInterceptor classNameorg.apache.catalina.tribes.group.interceptors.TcpFailureDetector /Interceptor classNameorg.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor /Interceptor classNameorg.apache.catalina.tribes.group.interceptors.ThroughputInterceptor //ChannelValve classNameorg.apache.catalina.ha.tcp.ReplicationValve filter.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt; /Deployer classNameorg.apache.catalina.ha.deploy.FarmWarDeployer tempDir/tmp/war-temp/ deployDir/tmp/war-deploy/ watchDir/tmp/war-listen/ watchEnabledfalse /ClusterListener classNameorg.apache.catalina.ha.session.ClusterSessionListener //Cluster!-- Use the LockOutRealm to prevent attempts to guess user passwordsvia a brute-force attack --Realm classNameorg.apache.catalina.realm.LockOutRealm!-- This Realm uses the UserDatabase configured in the global JNDIresources under the key UserDatabase.  Any editsthat are performed against this UserDatabase are immediatelyavailable for use by the Realm.  --Realm classNameorg.apache.catalina.realm.UserDatabaseRealmresourceNameUserDatabase//RealmHost namelocalhost  appBasewebappsunpackWARstrue autoDeploytrue!-- SingleSignOn valve, share authentication between web applicationsDocumentation at: /docs/config/valve.html --!--Valve classNameorg.apache.catalina.authenticator.SingleSignOn /--!-- Access log processes all example.Documentation at: /docs/config/valve.htmlNote: The pattern used is equivalent to using patterncommon --Valve classNameorg.apache.catalina.valves.AccessLogValve directorylogsprefixlocalhost_access_log. suffix.txtpattern%h %l %u %t quot;%rquot; %s %b //Host/Engine/Service /Server 具体根据需求的做法请参考tomcat的文档 http://http://tool.oschina.net/apidocs/apidoc?apitomcat-7.0-doc apache2.4 x64win 下载地址: http://www.apachelounge.com/download/ 其他的应该不用说了吧 测试就是写个jsp,打印下各tomcat下的项目中的session信息以及是哪个tomcat下面的 jvm3 ID 3C5555DBBBE06EEC67B6F9508CAB0520.jvm3 Session 列表a  123 转载于:https://my.oschina.net/rwrwd7/blog/406471

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/928759.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

CF2115 VP 记录

CF2115 Div1 B 比较人类智慧. 后面操作会覆盖前面的,考虑对序列 \(b\) 构造一种具有必要性的操作使得满足题目限制,因为一个重要事实是序列 \(a\) 并不唯一,只要对于任意位置,在被覆盖前没有覆盖其他位置的操作,或…

设计网站教程wordpress根目录没有.htaccess

近几年,我国潮玩市场经历了爆发式的发展阶段,尤其是盲盒市场屡创新高!盲盒商品主打IP衍生品、周边等具有收藏价值的商品,深受市场的追捧,满足了不同年龄群体的需求。面对盲盒的蓝海市场,众多的品牌也纷纷加…

基于springboot的医护人员排班平台设计与构建(源码+文档+部署讲解)

pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", …

做网站的软件公司中国室内设计师联盟

🍎个人博客:个人主页 🏆个人专栏:日常聊聊 ⛳️ 功不唐捐,玉汝于成 目录 前言 正文 一、整体介绍 对话系统(Chat) 自主代理(Agent) 二、技术对比 技术差异 优…

2-SAT模板

洛谷p4782 #include<iostream> #include<vector> #include<algorithm> using namespace std; const int N=2e6+10; int n,m; int dfn[N],low[N],stk[N],instk[N],tot,cnt,scc[N],top; vector<int…

千度网站wordpress加联系方式

LntonAIServer作为一款智能视频监控平台&#xff0c;集成了多种先进的视频质量诊断功能&#xff0c;其中包括抖动检测和过暗检测算法。这些算法对于提升视频监控系统的稳定性和图像质量具有重要意义。 以下是对抖动检测算法和过暗检测算法的应用场景及优势的详细介绍。 一、L…

票务网站策划书手加工外包加工网

点击下方卡片&#xff0c;关注“小白玩转Python”公众号 简介 在计算机视觉领域&#xff0c;准确地测量图像相似性是一项关键任务&#xff0c;具有广泛的实际应用。从图像搜索引擎到人脸识别系统和基于内容的推荐系统&#xff0c;有效比较和查找相似图像的能力非常重要。Siames…

lab5

流程图 到了这个lab5才算是真正看清除了整个lab的样子, 之前还一直纳闷lab2好像没什么用… 这个系统的核心思想是 分而治之。通过将整个键空间划分为多个分片(Shard),并将这些分片分配给不同的、可独立运行的服务器…

lab4

架构 架构图:简单说, 我们要建立的KV数据库是位于raft层之上的, 或者说我们的KV数据库使用了raft库。客户端(就是代码中的clerk)调用应用层(server)的RPC,应用层收到RPC之后,会调用Start函数,Start函数会立即返回…

公司网站要使用我个人的信息备案如何用表格做网站

7-10 解一元二次方程 分数 20 全屏浏览 切换布局 作者 李祥 单位 湖北经济学院 请编写程序&#xff0c;解一元一次方程 ax2bxc0 。 已知一元二次方程的求根公式为&#xff1a; 要求&#xff1a; 若 a0&#xff0c;则为一元一次方程。 若 b0&#xff0c;则方程有唯一解&…

公司关于网站建设的通知春风摩托车官方网

API作用使用场景curl localhost:9200/_cluster/health?pretty查看ES健康状态curl localhost:9200/_cluster/settings?pretty查看ES集群的设置其中persistent为永久设置&#xff0c;重启仍然有效&#xff1b;trainsient为临时设置&#xff0c;重启失效curl localhost:9200/_ca…

某中心2026年推出1111个技术实习岗位

某中心宣布2026年将提供1111个实习岗位,涵盖工程、产品管理、研究等技术领域。实习生将参与影响数百万互联网用户的实际项目,并享受包括无服务器应用平台在内的免费技术资源。某中心承诺2026年提供1111个实习机会 某…

NumPy广播:12个技巧替代循环,让数组计算快40倍

写Python数据处理代码时反复用for循环?这其实是在给程序性能交"税"。NumPy的广播(broadcasting)机制能让你摆脱这种困境——代码量更少,执行更快,关键是思维方式从"逐个迭代"转向"整体形状…

网站建设费用如何做账务处理wordpress 修改页面内容

198. 打家劫舍&#xff08;题目链接&#xff1a;力扣&#xff08;LeetCode&#xff09;官网 - 全球极客挚爱的技术成长平台&#xff09; 思路&#xff1a;dp题除背包外的另外一类题目&#xff0c;重点不在于看前面的情况&#xff0c;而在于考虑本节点的情况。一种情况&#xf…

川土微变频器应用分享

川土微电子在变频器领域的应用主要体现在隔离接口、隔离运放和隔离驱动产品上的解决方案上,其产品通过高可靠性和定制化设计,有效提升了变频器的信号传输安全性和系统稳定性‌了。以下是具体应用场景及产品方案: 一…

wordpress单页导航模版建设网站优化

目录 前言1. 公共逻辑2. 单个删除3. 批量删除 前言 由于近期慢慢转全栈&#xff0c;后续会以前后端的形式讲解 对应的Avue相关知识推荐阅读&#xff1a;【vue】avue-crud表单属性配置&#xff08;表格以及列&#xff09;对应后端知识推荐阅读&#xff1a;java框架 零基础从入…

论文阅读笔记——Large Language Models Are Zero-Shot Fuzzers - 详解

pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", …

深入解析:低秩矩阵、奇异值矩阵和正交矩阵

pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", …

POLIR-Society-Philosophy- Hegels 形而上学System Philosophy Dialectics 系统化哲学辩证法: 自由意志+封闭的绝对精神

POLIR-Society-Philosophy- Hegels 形而上学System Philosophy & Dialectics Hegel的 "系统化哲学&辩证法": 自由意志+封闭的绝对精神

wordpress插件 标签页青岛济南网站建设优化

其实学过java的人基本都知道&#xff0c;工厂模式&#xff0c;我们是基本每天都在用&#xff0c;只不过工厂模式也分为几种情况&#xff1a;简单工厂&#xff0c;抽象工厂和智能工厂。 简单工厂其实&#xff0c;大家时时刻刻都在用&#xff0c;个人理解&#xff0c;当我们在一个…