代码改变世界

阅读排行榜

startssl 申请证书,并在Nginx, apache, Tomcat上使用

2014-03-21 13:19 by cmsd, 719 阅读, 收藏,
摘要: tomcat: http://blog.csdn.net/buyaore_wo/article/details/5771470 apache: http://blog.mowd.tw/index.php?pl=950 Nginx: http://blog.nicky1605.com/the-free-ssl-configuration-startssl-on-nginx.html 简要: apache: SSLCertificateFile /etc/pki/tls/certs/ssl.crt SSLCertificateKeyFile /etc/pki/tls/private/ssl.key SSLCertificateChainFile /etc/pki/tls/sub.class1.server.ca.pem SSLCACertificateFile /etc/pki/tls /ca.pem tomcat: 选Create PFX file。。。。。。。。。 输入之前保存的两个密文信息及密码 阅读全文

ipmi使用

2013-08-15 16:32 by cmsd, 697 阅读, 收藏,
摘要: 1.安装ipmitoolLinux: yum -y install OpenIPMI-tools备注:Linux机器也可以安装ipmi yum -y install OpenIPMI OpenIPMI-devel2.启动本机ipmiservice ipmi start3.查看本机ipmi sensor所有信息ipmitool -l open sdr或ipmitool sdr4.通过LAN查看其它服务器ipmitool -I lanplus -U root -P calvin -H 61.135.210.234 -l open sdr 或ipmitool -I lanplus -U root - 阅读全文

python 归档tarfile,zipfile学习

2013-09-05 12:59 by cmsd, 695 阅读, 收藏,
摘要: 一.tarfile用法:tarfile.open(cls, name=None, mode='r', fileobj=None, bufsize=10240, **kwargs) 返回一个TarFile类实例mode:'r' or 'r:*' open for reading with transparent compression'r:'open for reading exclusively uncompressed'r:gz'open for reading with gzip compression' 阅读全文

NFS

2014-02-24 15:02 by cmsd, 672 阅读, 收藏,
摘要: 转自http://www.cnblogs.com/mchina/archive/2013/01/03/2840040.html一、NFS服务简介 NFS 是Network File System的缩写,即网络文件系统。一种使用于分散式文件系统的协定,由Sun公司开发,于1984年向外公布。功能是通过网络让不同的机器、不同的操作系统能够彼此分享个别的数据,让应用程序在客户端通过网络访问位于服务器磁盘中的数据,是在类Unix系统间实现磁盘文件共享的一种方法。 NFS 的基本原则是“容许不同的客户端及服务端通过一组RPC分享相同的文件系统”,它是独立于操作系统,容许不同硬件及操作系统的系统共同进.. 阅读全文

pypi上传库

2017-01-03 10:07 by cmsd, 647 阅读, 收藏,
摘要: 把程序打包上传到PyPi版本库中 更新:新版上传变化了 详见 转自 1 首先必须要按照以下文件结构 ├── douban │ ├── cli.py │ ├── douban.py │ ├── douban_token.py │ ├── getch.py │ └── __init__.py ├── R 阅读全文
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页