DemonAngel

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

随笔分类 -  web服务

针对初中级的web服务应用,主要项目包括nginx、apache、tomcat等的部署配置及优化。
摘要:vi /etc/init.d/nginx #!/bin/sh # nginx Startup script for nginx # chkconfig: - 85 15 # processname: nginx # config: /etc/nginx/nginx.conf # config: /e 阅读全文
posted @ 2016-05-20 14:49 DemonAngel 阅读(346) 评论(0) 推荐(2)

摘要:Nginx安装 错误信息: /usr/local/nginx/sbin/nginx: error whileloading shared libraries: libpcre.so.1: cannot open shared object file: No such file or director 阅读全文
posted @ 2016-05-20 14:46 DemonAngel 阅读(12374) 评论(0) 推荐(1)

摘要:关于内核参数的优化: net.ipv4.tcp_max_tw_buckets = 6000timewait的数量,默认是180000。net.ipv4.ip_local_port_range = 1024 65000允许系统打开的端口范围。net.ipv4.tcp_tw_recycle = 1启用t 阅读全文
posted @ 2016-05-20 10:20 DemonAngel 阅读(4326) 评论(1) 推荐(1)