摘要: 环境: ip hostname software version OS port 192.168.1.120 nginx-proxy-master.gz01 nginx-1.8.1 CentOS Linux release 7.4.1708 (Core) 80 192.168.1.136 tomca 阅读全文
posted @ 2020-04-05 19:14 包小哲 阅读(291) 评论(0) 推荐(0)
摘要: 环境: IP 角色 软件 192.168.1.131 proxy-server nginx 192.168.1.124:8080 Tomcat1 tomcat 192.168.1.124:8081 Tomcat2 tomcat 192.168.1.124:8082 Tomcat3 tomcat 19 阅读全文
posted @ 2020-03-30 17:47 包小哲 阅读(692) 评论(0) 推荐(0)
摘要: 环境: IP 角色 软件 192.168.1.131 proxy-server nginx 192.168.1.124:8080 Tomcat1 tomcat 192.168.1.124:8081 Tomcat2 tomcat 192.168.1.124:8082 Tomcat3 tomcat 19 阅读全文
posted @ 2020-03-30 15:35 包小哲 阅读(407) 评论(0) 推荐(0)
摘要: (https://www.nginx.com/resources/wiki/start/topics/examples/redhatnginxinit/) Save this file as /etc/init.d/nginx(根据自己安装目录修改调试即可) 1 #!/bin/sh 2 # 3 # 阅读全文
posted @ 2020-03-30 09:48 包小哲 阅读(346) 评论(0) 推荐(0)
摘要: 环境: 1 nginx-proxy-server: 2 IP:192.168.1.131 3 [root@gz01-nginx-proxy-master ~]# uname -r 4 3.10.0-693.el7.x86_64 5 [root@gz01-nginx-proxy-master ~]# 阅读全文
posted @ 2020-03-30 01:16 包小哲 阅读(330) 评论(0) 推荐(0)
摘要: 环境: 1 [root@gz01-nginx-proxy-master ~]# uname -r 2 3.10.0-693.el7.x86_64 3 [root@gz01-nginx-proxy-master ~]# cat /etc/redhat-release 4 CentOS Linux re 阅读全文
posted @ 2020-03-29 23:37 包小哲 阅读(359) 评论(0) 推荐(0)
摘要: 1、将源码编译后打包的war包上传需要部署的机器 1 [root@gz01-tomcat-node01 war]# mkdir -p /usr/local/jeesns 2 [root@gz01-tomcat-node01 war]# cd /usr/local/jeesns/ 3 [root@gz 阅读全文
posted @ 2020-03-29 19:10 包小哲 阅读(431) 评论(0) 推荐(0)
摘要: 1、将war包丢进webapps 将web工程打成war,丢进tomcat/webapps目录即可,tomcat会自动解压。无需修改任何配置文件即可完成部署。 测试:直接将jenkins.war包放入webapps目录 1 [root@gz01-tomcat-node01 webapps]# ll 阅读全文
posted @ 2020-03-29 01:27 包小哲 阅读(642) 评论(0) 推荐(0)
摘要: 配置多实例目录: 安装好tomcat后,创建三个实例目录,将主站点的:conf、 work 、temp、logs目录分别复制到3个实例目录下。 1 [root@gz01-tomcat-node01 tomcat]# mkdir {bbs.fox.com,www.fox.com,e-mail.fox. 阅读全文
posted @ 2020-03-28 23:42 包小哲 阅读(211) 评论(0) 推荐(0)
摘要: Tomcat目录结构: 1 [root@gz01-tomcat-node01 ~]# ll /usr/local/tomcat/ 2 总用量 124 3 drwxr-x . 2 root root 4096 3月 28 01:09 bin 4 -rw-r . 1 root root 19318 3月 阅读全文
posted @ 2020-03-28 11:53 包小哲 阅读(296) 评论(0) 推荐(0)