08 2016 档案

摘要:今天启动window上的nginx总是报错 错误信息是bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions) 大概 阅读全文
posted @ 2016-08-15 10:29 大空白纸 阅读(3595) 评论(0) 推荐(0) 编辑
摘要:将redis添加到windows服务中,如下图: 1、安装命令: redis-server.exe --service-install redis.windows.conf 或 redis-server.exe --service-install redis.windows.conf --logle 阅读全文
posted @ 2016-08-11 16:29 大空白纸 阅读(19657) 评论(4) 推荐(0) 编辑
摘要:nginx: [error] CreateFile() "E:\nginx\nginx-1.9.3/logs/nginx.pid" failed nginx: [error] Open() "E:\nginx\nginx-1.9.3/logs/nginx.pid" failed 解决方法: 使用命令 阅读全文
posted @ 2016-08-09 12:14 大空白纸 阅读(40565) 评论(0) 推荐(2) 编辑
摘要:1.下载 nginx 2.配置nginx 文件 1)配置该目录下E:\nginx\nginx-1.9.3\conf: 3.在iis中部署两个网站分别为:127.0.0.1:80 ,127.0.0.1:82 4.效果如下: nginx相关使用命令: 验证配置是否正确: nginx -t 查看Nginx 阅读全文
posted @ 2016-08-09 11:45 大空白纸 阅读(661) 评论(0) 推荐(0) 编辑
摘要:/// /// 将DateTime时间格式转换为Unix时间戳格式 /// /// DateTime时间 /// 精度:Seconds-秒,Milliseconds-毫秒 /// public static long ToUnixTimeStamp(this DateTime dateTim... 阅读全文
posted @ 2016-08-09 09:55 大空白纸 阅读(1857) 评论(0) 推荐(0) 编辑