2019年7月26日
摘要: 线上环境使用默认 tomcat 配置文件,性能很一般,为了满足大量用户的访问,需要对tomcat 进行参数性能优化,具体优化的地方如下: Linux 内核的优化 服务器资源配置的优化 Tomcat 参数优化 配置负载集群优化这里着重讲解 tomcat 参数的优化:server.xml 文件, 阅读全文
posted @ 2019-07-26 20:44 heping1314 阅读(155) 评论(0) 推荐(0) 编辑
  2019年7月19日
摘要: 1) 优化 Linux 文件打开最大数: vi /etc/security/limits.conf * soft nproc 65535 * hard nproc 65535 * soft nofile 65535 * hard nofile 65535 为了防止失控的进程破坏系统的性能,Unix 阅读全文
posted @ 2019-07-19 17:32 heping1314 阅读(1501) 评论(0) 推荐(0) 编辑
  2019年7月3日
摘要: 1.前提环境关掉防火墙 2.绑定/etc/hosts 3.部署ansible (git clone git@github.com:heheping0312/ansible.git) yum -y install ansible [root@nn01 test]# pwd/root/test [roo 阅读全文
posted @ 2019-07-03 19:34 heping1314 阅读(154) 评论(0) 推荐(0) 编辑
摘要: nfs的服务器 yum install -y rpc-bind nfs-utils systemctl start rpcbind mkdir /public vi /etc/exports [root@nn01 /]# cat /etc/exports/public 172.16.0.0/24(r 阅读全文
posted @ 2019-07-03 17:58 heping1314 阅读(135) 评论(0) 推荐(0) 编辑