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) 大概
阅读全文
摘要:将redis添加到windows服务中,如下图: 1、安装命令: redis-server.exe --service-install redis.windows.conf 或 redis-server.exe --service-install redis.windows.conf --logle
阅读全文
摘要: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 解决方法: 使用命令
阅读全文
摘要: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
阅读全文
摘要:/// /// 将DateTime时间格式转换为Unix时间戳格式 /// /// DateTime时间 /// 精度:Seconds-秒,Milliseconds-毫秒 /// public static long ToUnixTimeStamp(this DateTime dateTim...
阅读全文