CentOS 5.11 except urllib2.URLError, e: ^ SyntaxError: invalid syntax

2017-09-21

CentOS 5.11默认python 2.4,不支持except urllib2.URLError as e:,需要升级python2.7  阅读全文...

Linux下Python基础调试

2017-09-21

python -m pdb myscript.py  阅读全文...

linux如何关闭“You have new mail in /var/spool/mail/root”提示

2017-09-21

linux每次进行一个操作,都会产生mail记录。  阅读全文...

discuz修改附件上传限制

2017-09-21

Discuz! X3.2 论坛上传文件时,总提示文件尺寸小于2M。  阅读全文...

linux安装Python 3.6.2 SSL

2017-09-20

Python 3.6安装过程。  阅读全文...

CentOS 7修改主机名hostname

2017-09-16

CentOS7之前的版本修改主机名/etc/sysconfig/network,7.0修改主机名/etc/hostname.  阅读全文...

awk实例

2017-09-15

awk是一个强大的文本分析工具,简单来说awk就是把文件逐行的读入,以空格为默认分隔符将每行切片,切开的部分再进行各种分析处理。结合grep和sed,能快捷的处理文本。有专门介绍awk的书。  阅读全文...

linux普通用户之间的ssh无密码访问

2017-09-11

普通用户test(两台服务器都有这个用户),在/home/test/.ssh下配置ssh无密码访问,运行scp命令,仍要求我输入密码。  阅读全文...

linux tracert

2017-09-09

tracert/traceroute/mtr  阅读全文...

fping

2017-09-07

fping is a program like ping which uses the Internet Control Message Protocol (ICMP) echo request to determine
if a target host is responding.  fping differs from ping in that you can specify any number of targets on the
command line, or specify a file containing the lists of targets to ping.  阅读全文...

散打

2017-09-07

散打的名称前身以前称为散手,是中华武术的精华;是具有独特中华民族风格的体育项目,多年来在民间流传发展并深受人民喜爱。散打也叫散手,古时称之为相搏、手搏、技击等。简单而言就是两人徒手面对面地打斗。  阅读全文...

linux安装rar和unrar

2017-09-05

WinRAR is a powerful archive manager.  阅读全文...

Linux 中将文件编码转换为 UTF-8

2017-09-05

有时候我们需要将文件转换编码格式,比如index.html页面,nginx.conf等等  阅读全文...

超高清4K电视

2017-08-24

4K电视是屏幕物理分辨率达到4096×2160像素的电视机产品,能接收、解码、显示相应分辨率视频信号,分辨率是2K电视的4倍,观众能看清画面中的每一个细节,每一个特写,拥有身临其境的观感体验。  阅读全文...

如何在Chrome 中查看SSL证书信息

2017-08-17

IE访问https网站时,地址栏会出现一个小锁图标,双击🔒图标可以看到证书的详细信息。那么Chrome访问https网站时如何查看ssl证书呢?  阅读全文...