redis介绍
2017-10-13Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster. 阅读全文...
pwd显示ln的源路经
2017-10-11ln -s /opt/help /help,执行pwd只能显示/help。为了知道确切的路径,需要用pwd -P。 阅读全文...
Bash的24个陷阱分析
2017-09-30bash编程常见错误。 阅读全文...
linux安装xfsprogs
2017-09-29XFS是SGI公司开发的文件系统,相比于其他的文件系统有很多的优势,比如扩展性(支持最大的文件和分区)、性能、快速恢复、日志型的有效结构等。 阅读全文...
linux查找文件中含有某个字符串
2017-09-26我们经常需要在某个目录查找某个文件,但是只记的某个字符串。 阅读全文...
CentOS 5.11 yum通过iso镜像安装软件
2017-09-23CentOS 5.11已经EOL,不在被支持,为了安装软件,我们可以访问vault.centos.org或archive.kernel.org/centos-vault或准备iso镜像文件。 阅读全文...
Python报错AttributeError: ‘module’ object has no attribute’xxx’
2017-09-22Python脚本完全正常没问题,但执行总报错"AttributeError: 'module' object has no attribute 'xxx'"。这其实是.pyc文件存在问题。 阅读全文...
python 编码问题 u'汉字'
2017-09-21python内部使用的是unicode编码, 阅读全文...
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)
2017-09-21python2.7.14或3.6.2配置nagios发送微信报错:[SSL: CERTIFICATE_VERIFY_FAILED] 阅读全文...
id_rsa和id_rsa.pub是否匹配
2017-09-21ssh-keygen -y -f id_rsa > id_rsa.pub2
diff id_rsa.pub2 id_rsa.pub 阅读全文...
CentOS 5.11 except urllib2.URLError, e: ^ SyntaxError: invalid syntax
2017-09-21CentOS 5.11默认python 2.4,不支持except urllib2.URLError as e:,需要升级python2.7 阅读全文...
Linux下Python基础调试
2017-09-21python -m pdb myscript.py 阅读全文...
linux如何关闭“You have new mail in /var/spool/mail/root”提示
2017-09-21linux每次进行一个操作,都会产生mail记录。 阅读全文...
discuz修改附件上传限制
2017-09-21Discuz! X3.2 论坛上传文件时,总提示文件尺寸小于2M。 阅读全文...
linux安装Python 3.6.2 SSL
2017-09-20Python 3.6安装过程。 阅读全文...