摘要:
转自: http://blog.csdn.net/kkgbn/article/details/52153383 tomcat关闭后 请求返回502状态码 在nginx的html目录新建个502.html 所有的tomcat都关闭,测试结果如图所示 检测nginx配置后重启
阅读全文
posted @ 2018-02-28 10:44
1161588342
阅读(246)
推荐(0)
摘要:
1) ls -lt 时间最近的在前面 2) ls -ltr 时间从前到后 3) 利用sort ls -l | sort +7 (日期为第8列) 时间从前到后 ls -l | sort -r +7 时间最近的在前面
阅读全文
posted @ 2018-02-27 14:55
1161588342
阅读(285)
推荐(0)
摘要:
-- 安装>yum install nginx -y -- 查看>whereis nginx>目录>/usr/sbin/nginx 执行命令>/etc/nginx 配置文件位置>启动>/usr/sbin/nginx -c /etc/nginx/nginx.conf>停止sbin>nginx -s stop
阅读全文
posted @ 2018-01-27 10:22
1161588342
阅读(103)
推荐(0)
摘要:
前端项目VUE 端口8081 , 后端项目JAVA 端口8080 #js, css缓存 location ~ .*\.(js|css)$ { proxy_set_header Host $host; proxy_pass http://127.0.0.1:8080; proxy_redirect o
阅读全文
posted @ 2018-01-27 10:17
1161588342
阅读(510)
推荐(0)
摘要:
比如编码utf-8, 环境为test. 在这里nohup 命令使用了解一下 操作系统中有三个常用的流: 0:标准输入流 stdin 1:标准输出流 stdout 2:标准错误流 stderr 一般当我们用 > console.txt,实际是 1>console.txt的省略用法;< console.
阅读全文
posted @ 2018-01-27 10:14
1161588342
阅读(399)
推荐(0)
摘要:
来自: https://www.cnblogs.com/wangluochong/p/7194037.html
阅读全文
posted @ 2018-01-27 10:11
1161588342
阅读(6143)
推荐(0)
摘要:
https://www.cnblogs.com/rich23/p/6121438.html
阅读全文
posted @ 2018-01-25 18:46
1161588342
阅读(107)
推荐(0)
摘要:
一、首先使用 df -h 命令查看磁盘剩余空间 二、du -ah --max-depth=1 三、du -ah --max-depth=1 | sort -hr
阅读全文
posted @ 2018-01-25 12:29
1161588342
阅读(536)
推荐(0)
摘要:
来自: https://www.cnblogs.com/sweetchildomine/p/6978037.html?utm_source=itdadao&utm_medium=referral Cglib方式 1:添加注解 2:修改yml配置 3:添加Aop依赖 默认mvc没有包括aop的 4:调
阅读全文
posted @ 2018-01-22 15:06
1161588342
阅读(346)
推荐(0)
摘要:
https://www.cnblogs.com/nsw2018/p/6398020.html
阅读全文
posted @ 2018-01-22 10:39
1161588342
阅读(450)
推荐(0)