自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 python 检测主机端口状况

今天看到python 的网络编程,顺便写个小程序实践一下。脚本功能:        运用python 程序,向服务器发送socket 请求,根据请求状态实现对linux 主机的监控。程序代码:#!/usr/bin/python2.6import socketimport reimport sysimport MySQLdbdef check_server

2013-07-11 16:50:04 1074

原创 导出linux man 帮助

导出txt 版man -t test |col -b > man-test.txt导出pdf 版man -t test |ps2pdf - test.pdf

2013-05-31 10:56:08 592

原创 postgres 增加用户及远程连接

yum install postgres-* 1 :  Add  user  and   create   database         sudo -u postgres psqlcould not change directory to "/root"psql (8.4.9)Type "help" for help.postgres=# CREATE USER tes

2012-04-18 12:22:36 1594

原创 Nginx 访问控制

Nginx   access control一  :Based   on  the  users  1  yum install httpd      # install  httpd     creat      htpasswd command2 htpasswd -c /usr/local/nginx/conf/htpasswd        test      # create

2012-04-17 23:13:51 674

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除