linux常用操作
2016-12-15 00:00
316 查看
摘要: 图片- - 可下载
lnmp 环境配置
解析域名:
/alidata/server/nginx/conf/nginx.conf
http:keepalive_timeout 60//60秒不在握手
cgi // common gateway input/out ---通用网管协议
fastcgi //常驻(long-live)型的CGI解释器
php-fpm->php 集成到 自己 输入输出管理协议
127.0.0.1:9000
buffers//缓存
gzip 压缩8k->2k
#limit_zone crawler--禁止爬虫
配置虚拟主机:
root/alidata/www/52zheng.cn:
expires 30d ;//过期时间30天(图片/js)
www.52zheng.cn/1.js?
最简单的域名配置:server_name/root/access_log
重启nginx: nginx -s reload
which nginx
拓展:apache / nginx / lis
chrome->www.jinjiang.tv =>1.缓存
->2.hosts
-> 3.DNS 8.8.8.8goole /112.112.112.112/..如果没有再上一级解析域名../www (全球8台)
lnmp 环境配置
解析域名:
/alidata/server/nginx/conf/nginx.conf
http:keepalive_timeout 60//60秒不在握手
cgi // common gateway input/out ---通用网管协议
fastcgi //常驻(long-live)型的CGI解释器
php-fpm->php 集成到 自己 输入输出管理协议
127.0.0.1:9000
buffers//缓存
gzip 压缩8k->2k
#limit_zone crawler--禁止爬虫
配置虚拟主机:
root/alidata/www/52zheng.cn:
expires 30d ;//过期时间30天(图片/js)
www.52zheng.cn/1.js?
最简单的域名配置:server_name/root/access_log
重启nginx: nginx -s reload
which nginx
拓展:apache / nginx / lis
chrome->www.jinjiang.tv =>1.缓存
->2.hosts
-> 3.DNS 8.8.8.8goole /112.112.112.112/..如果没有再上一级解析域名../www (全球8台)
相关文章推荐
- Linux socket 初步
- Linux Kernel 4.0 RC5 发布!
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)
- Linux 信号signal处理机制
- linux下mysql添加用户
- Scientific Linux 5.5 图形安装教程