![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux 系统
文章平均质量分 50
hongjie7456
这个作者很懒,什么都没留下…
展开
-
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 · 1619 阅读 · 0 评论 -
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 · 677 阅读 · 0 评论 -
导出linux man 帮助
导出txt 版man -t test |col -b > man-test.txt导出pdf 版man -t test |ps2pdf - test.pdf原创 2013-05-31 10:56:08 · 597 阅读 · 0 评论 -
python 检测主机端口状况
今天看到python 的网络编程,顺便写个小程序实践一下。脚本功能: 运用python 程序,向服务器发送socket 请求,根据请求状态实现对linux 主机的监控。程序代码:#!/usr/bin/python2.6import socketimport reimport sysimport MySQLdbdef check_server原创 2013-07-11 16:50:04 · 1084 阅读 · 0 评论