江户川丶柯南

导航

2016年8月12日 #

Nginx开启Gzip压缩

摘要: 1、Vim打开Nginx配置文件 vim /usr/local/nginx/conf/nginx.conf 2、找到如下一段,进行修改 gzip on; gzip_min_length 1k; gzip_buffers 4 16k; #gzip_http_version 1.0; gzip_comp_level 2; gzip_types text/plain application/x-... 阅读全文

posted @ 2016-08-12 11:45 hfshu 阅读(164) 评论(0) 推荐(0) 编辑

VMware克隆虚拟机,克隆机网卡启动不了解决方案

摘要: 解决办法: 1. vi /etc/udev/rules.d/70-persistent-net.rules 2. 查看 NAME="eth1" 的 Mac 地址,即 ATTR{address},记录下来 3. vi /etc/sysconfig/network-scripts/ifcfg-eth0 阅读全文

posted @ 2016-08-12 09:49 hfshu 阅读(246) 评论(0) 推荐(0) 编辑