摘要: 今天在测试之前写的ansible playbook 发现一个正则表达式没有匹配到,经过摸索后,我怀疑是因为正则表达式中包含了保留字符$,于是将该字符转义处理,果然问题解决了。 修改前的正则表达式: ^path=.;$JAVA_HOME 修改后的正则表达式:^path=.;\$JAVA_HOME 经过 阅读全文
posted @ 2019-02-03 22:26 李欢欢 阅读(3326) 评论(0) 推荐(0)
摘要: 1.确保你已经正确开启了httpd 2.4.6的https配置,并且配置了该网站的虚拟主机,如下所示: <VirtualHost *:443> DocumentRoot "/appvol/wordpress_blog" ServerName robin.org.cn ServerAlias www. 阅读全文
posted @ 2019-02-03 22:25 李欢欢 阅读(650) 评论(0) 推荐(0)
摘要: wordpress中输入两个"--"的时候会识别成一个横杠,如果此时的文章中有代码在,那么其他人在复制粘贴的时候就没法使用,于是乎我寻找了三种有效的方法解决此问题! WordPress中会默认会自动转义一些字符,网络上也称“转换全半角标点符号”或者“代码转义”,WordPress使用了wptextu 阅读全文
posted @ 2019-02-03 22:23 李欢欢 阅读(449) 评论(0) 推荐(0)
摘要: refer to https://www.jianshu.com/p/fede3333205f 作者:hitchc 链接:https://www.jianshu.com/p/fede3333205f 來源:简书 简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。 在github上, 阅读全文
posted @ 2019-02-03 22:20 李欢欢 阅读(451) 评论(0) 推荐(0)
摘要: prepare the running env of os make sure you are using redhat or centen os 7.5 cat /etc/redhat-release yum install git yum install openssl prepare the 阅读全文
posted @ 2019-02-03 22:17 李欢欢 阅读(199) 评论(0) 推荐(0)
摘要: 摘自github官方网站,稍后我将抽空翻译。 Fork a repo https://help.github.com/articles/fork-a-repo/ Syncing a fork https://help.github.com/articles/syncing-a-fork/ 阅读全文
posted @ 2019-02-03 22:10 李欢欢 阅读(1891) 评论(0) 推荐(0)