DemonAngel

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

2016年5月20日

摘要: 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 阅读(334) 评论(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 阅读(12349) 评论(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 阅读(4272) 评论(1) 推荐(1) 编辑