ngx_python 是为 nginx 嵌入 python 脚本的模块。 环境 - python 2.7.* - nginx-1.6.3+ 安装 摘要 ...
分类:
编程语言 时间:
2018-11-17 16:16:50
阅读次数:
204
第三方库jq https://stedolan.github.io/jq/manual/ 读取文件文本 修改文本文件(逐行匹配,替换) ...
分类:
Web程序 时间:
2018-11-17 14:26:06
阅读次数:
1040
cat filename.txt |while read LINE do echo $LINE done # LINE在这里面只是随便一个变量,并不是内置 或者 #!/bin/bash while read aa do echo $aa done< filename.txt #这种格式看起来更好 #... ...
分类:
系统相关 时间:
2018-11-17 12:01:05
阅读次数:
178
http://support.fortinet.com.cn/index.php?m=content&c=index&a=show&catid=36&id=347 http://support.fortinet.com.cn/index.php?m=content&c=index&a=show&ca ...
分类:
其他好文 时间:
2018-11-17 11:00:43
阅读次数:
122
传统方式将路由规则配置在配置文件中,如果路由规则发生了改变,需要重启服务器。这时候我们结合上节课内容整合SpringCloud Config分布式配置中心,实现动态路由规则。 将yml的内容粘贴到码云上: 添加到依赖: 可以实现手动刷新 yml中添加: 开启所有监控中心接口 启动类里面添加: yml ...
分类:
编程语言 时间:
2018-11-17 10:31:19
阅读次数:
311
window->preferences,然后寻找xml catalog,点击add如下所示 将dtd网址复制到key中 key type选择uri,选择dtd的下载路径。 ...
分类:
其他好文 时间:
2018-11-17 00:29:24
阅读次数:
497
解决办法: cat /etc/udev/rules.d/70-persistent-net.rules 然后 vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE和HWADDR 保存; service network restart ...
分类:
系统相关 时间:
2018-11-16 22:34:17
阅读次数:
259
ApacheGeronimo是一款开源应用程序服务器,其允许开发人员和系统管理员创建可移植、可伸缩的企业应用程序,并且与已有技术集成。ApplicationsManager让Geronimo服务器监控变得轻而易举,因为它可以让服务器以最高性能运行,并且在停机时仍保持监控。跟踪响应时长和内存使用情况迅速响应可以确保服务器高效率运行。ApplicationsManager在跟踪服务器响应时间的同时,还
分类:
Web程序 时间:
2018-11-16 21:04:49
阅读次数:
232
linux相关环境配置环境说明[root@localhostPython-3.6.6]#cat/etc/redhat-releaseRedHatEnterpriseLinuxServerrelease7.4(Maipo)[root@localhostPython-3.6.6]#uname-aLinuxlocalhost.localdomain3.10.0-693.el7.x86_64#1SMPTh
分类:
系统相关 时间:
2018-11-16 21:04:27
阅读次数:
253
背景说明抓取网页代码后,下一步是从网页中获取信息。提取信息的方法有很多,可以使用正则表达式,但是写起来比较繁琐。也可以使用强大的解析库。此外,还有非常强大的解析方法,比如Xpath解析和CSS选择器解析等。环境说明[root@localhostPython-3.6.6]#cat/etc/redhat-releaseRedHatEnterpriseLinuxServerrelease7.4(Maip
分类:
其他好文 时间:
2018-11-16 21:01:38
阅读次数:
258