摘要: # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the clie... 阅读全文
posted @ 2018-01-03 18:06 wuzhiyi 阅读(2316) 评论(0) 推荐(0) 编辑
摘要: vim /etc/yum/pluginconf.d/fastestmirror.conf 阅读全文
posted @ 2018-01-03 17:36 wuzhiyi 阅读(2367) 评论(0) 推荐(0) 编辑
摘要: centos5.11后的yum源,5.11前的不支持 阅读全文
posted @ 2017-12-22 10:25 wuzhiyi 阅读(783) 评论(0) 推荐(0) 编辑
摘要: #/bin/bash echo ''>httpd.txt SECONDS=0 while [ $SECONDS -le 1800 ] do sleep 2 varmem=`ps aux | grep httpd | grep -v grep |awk '{sum+=$6} END {print sum}'` vardate=`date "+%H:%M:%S"` echo $varmem ',' ... 阅读全文
posted @ 2017-12-19 09:50 wuzhiyi 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-08-23 10:46 wuzhiyi 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 爬取花瓣网的图片 阅读全文
posted @ 2017-05-17 17:26 wuzhiyi 阅读(1364) 评论(0) 推荐(0) 编辑
摘要: 问题重现: 解决方案: Django doc: import app.views import view_name url( ) 阅读全文
posted @ 2017-03-03 10:33 wuzhiyi 阅读(2318) 评论(0) 推荐(0) 编辑
摘要: 豆瓣:https://pypi.doubanio.com/simple/ pip3 install -i https://pypi.doubanio.com/simple/ selenium easy_install -i https://pypi.doubanio.com/simple/ sele 阅读全文
posted @ 2016-11-10 16:13 wuzhiyi 阅读(12072) 评论(0) 推荐(0) 编辑
摘要: 在一个系统中共存Python2、python3的时候,pip、pip2、pip3使用的时候会报错: c:\Python35\Scripts>pip3Fatal error in launcher: Unable to create process using '"' 解决方法: python3: p 阅读全文
posted @ 2016-11-10 16:06 wuzhiyi 阅读(25895) 评论(0) 推荐(0) 编辑
摘要: 问题: 在提交代码时如出现:warning: refname 'HEAD' is ambiguous 解决方法: 1 2 3 阅读全文
posted @ 2016-11-10 11:19 wuzhiyi 阅读(9480) 评论(0) 推荐(0) 编辑