作者:欧阳
发布时间:2020年01月09日
阅读: 3,225
分类:Linux摘要
在linux里在线升级CFS,但Protocol scheme提示不支持https报Oops: Unable to download: Protocol scheme 'https' is not supported (LWP::Protocol::https need to be installed.)错误
yum -y install perl-LWP-Protocol-https perl-Crypt-SSLeay
安装即可解决该问题。
作者:欧阳
发布时间:2020年01月04日
阅读: 13,852
分类:学习笔记
Typecho后台设置
登录Typecho后台 -> 设置 -> 基本 -> 站点地址改成https域名。
编辑Typecho根目录下config.inc.php文件加入下面配置,不然网站后台还是会调用HTTP资源。
/** 开启HTTPS */
define('__TYPECHO_SECURE__',true);
注意:Chrome内核的浏览器有不安全提示的时候,需要找到主题目录下面的comments.php文件
再将其中的$this->commentUrl(),替换为:echo str_replace("http","https",$this->commentUrl());最后保存。
文章来源:https://ws234.com/1024.html
作者:欧阳
发布时间:2019年12月24日
阅读: 6,179
分类:学习笔记
i-doit是一个基于Web的IT文档和CMDB,软件可以对IT基础架构管理,IP管理以及固定资产管理等。在国内貌似使用不多,估计主要是汉化,同时也没看到太多相关文章,安装中总是遇到一些问题,所以记录下来以便下次能够快速解决。使用Google进行了简单的汉化。
作者:@ouyang
发布时间:2019年12月11日
阅读: 3,678
分类:Linux摘要
有时候需要下载网页进行本地查看,以下命令非常有用:
wget -r -k -p -np http://xx.wang/xx
参数:
-r, –recursive(递归) specify recursive download.(指定递归下载)
-k, –convert-links(转换链接) make links in downloaded HTML point to local files.(将下载的HTML页面中的链接转换为相对链接即本地链接)
-p, –page-requisites(页面必需元素) get all images, etc. needed to display HTML page.(下载所有的图片等页面显示所需的内容)
-np, –no-parent(不追溯至父级) don’t ascend to the parent directory.
作者:@ouyang
发布时间:2019年12月04日
阅读: 3,468
分类:热点话题
251,404,从此粉转黑
- «
- 1
- ...
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- ...
- 28
- »