最新文章
-
ER-X如何设置支持ipv6上网?
这是我的ipv6部分以及相应防火墙的设置,er-x sfp,应该和er-x差不多,eth0是wan口,eth1-eth4为lan口,switch0,供参考: configure #Configure the PPPoE fo…… -
Install SSR (ShadowsocksR)
前言 ShadowsocksR 是一款开源的用来穿透 GFW 的软件 ShadowsocksR 是 SS(Shadowsocks) 的一个分支,在 SS(Shadowsocks) 的基础上又添加了一些干扰识别(进行…… -
执行npm ,再不用sudo
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share} 或者在install后面加上–no-optional -
mysql 数据库中根据当前系统时间,取前后几秒 几分钟 几小时 几天
取当前时间: select current_timestamp; 输出:2016-06-16 16:12:52 select now(); 输出:2016-06-16 16:12:52 取当前时间的前一分钟: select SUBDATE…… -
Centos 7.x 安装 Swoole 4.0.x
安装依赖包 openssl, openssl-devel, 安装编译程序 gcc, gcc-c++ 安装http2依赖 nghttp2 https://github.com/nghttp2/nghttp2/releases 下载后解…… -
[转]谷歌验证 (Google Authenticator) PHP版
开启Google的登陆二步验证(即Google Authenticator服务)后用户登陆时需要输入额外由手机客户端生成的一次性密码。 开启Google的登陆二步验证(即Google Auth…… -
centos nginx使用acme.sh安装免费Let’s Encrypt通配符证书
一、安装acme.sh curl https://get.acme.sh | sh 二、检查是否安装好 #直接运行 acme.sh #如报错请运行如下 &…… -
服务器运营常见问题
接受長字串POST出現500 error open() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied) cd…… -
linux crontab 实现每秒执行
llinux crontab 命令,最小的执行时间是一分钟。如需要在小于一分钟内重复执行,可以有两个方法实现。 编写shell脚本实现 crontab.sh #!/bin/bash step=2&nb…… -
nginx: [emerg] open() "/home/www/log/error.log" failed 问题瞎想
不知道有人在这个问题上遇到过坎没,反正是困扰我很久了 原因是这样的,外面云平台的 VPS的centos里面没有问题,自己安装的系统呢,更改了www和日志目录后,ng……
友情链接