该文被密码保护。 Read More
posted @ 2019-10-24 16:44
活出自己范儿
Views(0)
Comments(0)
Diggs(0)
防火墙层面: /sbin/iptables -I INPUT -p tcp --dport 8011 -j ACCEPT #开启8011端口 /etc/rc.d/init.d/iptables save #保存配置 /etc/rc.d/init.d/iptables restart #重启服务 查看 Read More
posted @ 2019-10-24 16:42
活出自己范儿
Views(8428)
Comments(0)
Diggs(0)
Spring Profile是Spring3引入的概念,主要用在项目多环境运行的情况下,通过激活方式实现多环境切换,省去多环境切换时配置参数和文件的修改,并且Spring profile提供了多种激活方法,例如配置文件,命令行,jvm参数设置等,下面将详细介绍下。 一、为什么要使用Profile 在 Read More
posted @ 2019-10-24 16:21
活出自己范儿
Views(297)
Comments(0)
Diggs(0)
1、grep -A 5 匹配行及后5行 2、grep -B 5 匹配行及前5行 3、grep -C 5 匹配行及前后各5行 Read More
posted @ 2019-10-24 15:37
活出自己范儿
Views(1319)
Comments(0)
Diggs(0)
问题:生产服务器上部署了几个java程序,突然出现了CPU100%的异常告警,你如何定位出问题呢? 下面给出两种系统下的排查步骤,都是一模一样的,只是命令稍有区别! 查消耗cpu最高的进程PID 根据PID查出消耗cpu最高的线程号 根据线程号查出对应的java线程,进行处理。 查消耗cpu最高的进 Read More
posted @ 2019-10-24 15:24
活出自己范儿
Views(298)
Comments(0)
Diggs(0)
1、面试小知识:MySQL索引相关 https://www.cnblogs.com/kubidemanong/p/10382788.html Read More
posted @ 2019-10-24 11:00
活出自己范儿
Views(160)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号