网站目录的软链更新后,代码还是老代码?

nginx配置网站的root目录是A,A软链到B1。后来发布新代码后,新代码的目录是B2, 将A软链到B2,但是在访问网站的时候,运行的还是B1的代码, 这是怎么回事?
17年4月11日 阅读 (1291) 有用 (1)

Windows服务器提示 您的帐户已被停用

Windows 系统用远程桌面登录,输入 administrator 账号和密码后提示如下所示:
17年4月11日 阅读 (2476) 有用 (2)

改了php.ini中的open_basedir仍报错open_basedir restriction in effect

报错如下: [error] 9342#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning : open_basedir restriction in effect. File(/index.php) is n...
17年4月11日 阅读 (7776) 有用 (63)

umeditor 报错:Discontiguous selection is not supported

umeditor报错的代码是:me._bakRange && nSel.addRange(me._bakRange)。 1》错误信息:Discontiguous selection is not supported 2》有时还有waring: The b...
17年4月10日 阅读 (4141) 有用 (43)

百度umeditor Ctrl A 全选 清除格式 的时候把最外层div的样式也给清除了

手动选中内容,再点击“清除格式”的时候是OK的, 但点击“全选”+ “清除格式” 或“Ctrl+A ”+ “清除格式” 的时候把最外层div的样式也给清除了,清除之后就没有边距了,如下图,有些难看,而且还撤不回去,肿么办?
17年4月10日 阅读 (1515) 有用 (6)

wireshark如何抓某个域名的包?

wireshark有两种过滤器:捕捉过滤器(CaptureFilters):用于决定将什么样的信息记录在捕捉结果中。 显示过滤器(DisplayFilters):用于在捕捉结果中进行详细查找。本文介绍 显示过滤器下 只显示某个域名下的全部数据包的方法。
17年4月9日 阅读 (3148) 有用 (3)

js如何获取浏览器窗口的尺寸?(涵盖所有浏览器)

有三种方法能够确定浏览器窗口的尺寸(浏览器的视口,不包括工具栏和滚动条),基于三种,给出涵盖所有浏览器的JavaScript获取的方案。
17年4月8日 阅读 (1488) 有用 (1)

跨域请求出错 when the request credentials mode is include

XMLHttpRequest跨域请求出错: XMLHttpRequest cannot load http://test.com . The value of the 'Access-Control-Allow-Origin' header in the re...
17年4月7日 阅读 (7454) 有用 (20)

YUM 操作提示:GPG key retrieval failed : [Errno 12] Timeout on

YUM 操作提示:GPG key retrieval failed : [Errno 12] Timeout on http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CengOS
17年4月5日 阅读 (2064) 有用 (1)

YUM 操作报错:Error: rpmdb open failed

执行 yum 命令来安装程序时候,出现报错: Error: rpmdb open failed 。示例输出:
17年4月5日 阅读 (1494) 有用 (0)