Nginx 与 tomcat 部署网站

时间:2022-12-23 16:26:02

http://www.blogjava.net/libin2722/articles/355631.html

http://congpeixue.iteye.com/blog/255011

keepalived+nginx+tomcat的简单部署

http://blog.51cto.com/xiaozhagn/1963250

Linux上 Nginx + Tomcat部署war(简单)

https://blog.csdn.net/kang389110772/article/details/59111287

linux下tomcat8安装详解(附图解步骤)

https://blog.csdn.net/a_18397219871/article/details/79466392

https://www.cnblogs.com/xdp-gacl/p/4097608.html

https://tomcat.apache.org/download-80.cgi

1.Nginx 下载地址: http://nginx.org/download/

2.修改版本

sed -i -e 's/1.6.2//g' -e 's/nginx\//ws/g' -e 's/"NGINX"/"ws"/g' src/core/nginx.h

3.编译:

./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module

4.查看版本 配置是否正确

启动

/usr/local/nginx/sbin/nginx -v

/usr/local/nginx/sbin/nginx -t

/usr/local/nginx/sbin/nginx