nginx伪静态规则

 要将http://dede.com/index.php?t=3用伪静态规则改写成http://dede.com/t3.html,即可在nginx的conf/nginx.conf里面添加即可。 在location

212   0   0   0

lamp综合环境测试

lamp综合环境测试 ServerAdmin 管理员email ServerName 主机名称 DocumentRoot 根目录 DirectoryIndex主页文件 UserDir虚拟目录 Alia

207   0   0   0

Git之忽略文件(ignore file)

1、 环境Windows XP SP3 + TortoiseGit + msysGit2、 ignore files的三种方法以下涉及的ignore文件均为如下格式:# 以#开始的行,被视为注释.

210   0   0   0

CentOS 7 下安装 Nginx

安装所需环境Nginx 是 C语言 开发,建议在 Linux 上运行,当然,也可以安装 Windows 版本,本篇则使用 CentOS 7 作为安装环境。一. gcc 安装安装 nginx 需要先将官网下载的源码进行

207   0   0   0

Centos修改root密码

[root@localhost ~]# passwdChanging password for user root.New password:Retype new password:passwd: all authe

180   0   0   0

Redis 启动警告错误解决

启动错误1.WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix thi

216   0   0   0

【redis】redis的bind配置

在配置文件redis.conf中,默认的bind 接口是127.0.0.1,也就是本地回环地址。这样的话,访问redis服务只能通过本机的客户端连接,而无法通过远程连接, 这样可以避免将redis服务暴露于危险的网络

227   0   0   0

Redis 列表(List)

Redis 列表是简单的字符串列表,按照插入顺序排序实例127.0.0.1:6379>lpushnamekeyredis (integer)1 127.0.0.1:6379>lpushnamekeymongodb (

192   0   0   0

redis cli命令

redis安装后,在src和/usr/local/bin下有几个以redis开头的可执行文件,称为redis shell,这些可执行文件可做很多事情。可执行文件作用redis-server 启动redisredis-

203   0   0   0

nginx服务器安装及配置文件详解

1. 安装nginx1.1 选择稳定版本我们编译安装nginx来定制自己的模块,机器CentOS 6.2 x86_64。首先安装缺少的依赖包:# yum -y install gcc gcc-c++ make lib

212   0   0   0

出现Permission denied的解决办法

得到一个以.run结尾的安装文件,赋予它可执行权限。如果开启了SElinux模块,请先禁用!如:# chmod +x NVIDIA-Linux-x86_64-295.59.run向一个目录(myResources)粘

189   0   0   0

redis设置开机启动

方式一1.设置redis.conf中daemonize为yes,确保守护进程开启,也就是在后台可以运行.(设置为yes后,启动时好像没有redis的启动界面,不知道为什么)#vi编辑redis安装目录里面的redis

221   0   0   0