tomcat
oToyix
好记性,不如烂笔头。且记且珍惜!!!!!!
展开
-
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environ
Neither the JAVA_HOME nor the JRE_HOME environment variable is definedAt least one of these environment variable is needed to run this programvim /bin/setclasspath.sh增加50、51两行 49 if [ -z "$JAVA_HOME" -a -z "$JRE_HOME" ]; then 50 export JAV原创 2021-12-25 15:51:34 · 844 阅读 · 0 评论 -
tomcat优化
优化说明tomcat优化 = 内核参数优化(文件描述符与TCP握手及挥手优化等) +tomcat配置参数优化内核优化请见之前的文档linux内核优化 - 文件描述符https://blog.csdn.net/oToyix/article/details/108739786centos7 内核参数优化https://blog.csdn.net/oToyix/article/details/108949357tomcat配置优化1、修改catalina.sh文件[root@localhost原创 2020-10-07 18:31:35 · 115 阅读 · 0 评论 -
nginx代理tomcat 、php-fpm 负载均衡、读写分离
一、nginx代理tomcat实现负载均衡及读写分离[root@5723e1da4335 html]# cat /usr/local/nginx/conf/nginx.conf |grep -v '^$'|grep -v '#' worker_processes 1;events { worker_connections 1024;}http { include mime.types; default_type application/octet-str原创 2020-08-20 19:39:38 · 289 阅读 · 0 评论 -
tomcat 部署站点(jforum),并通过nginx代理,实现动静分离
一、环境tomcat:IP:192.168.1.22 Centos7.7nginx:IP:192.168.1.21 Centos7.7二、基于tomcat部署jforum站点1、yum 安装jdk11[root@localhost ~]# yum install java-11-openjdk.x86_64 -y[root@localhost ~]# java --versionopenjdk 11.0.7 2020-04-14 LTSOpenJDK Runtime Environ原创 2020-06-27 12:19:47 · 281 阅读 · 0 评论