使用pssh工具实现批量管理

1,本地服务器已做了公私钥 ssh gen 2, 安装 python yum install python 如安装setuptools包不成功: yum install python setuptools.noarch 3, 下载最新版本 wget http://www.theether.org/pssh/pssh 1.4.3.tar.gz tar z

Apache缓存系统

apache cookbook有个叫mem cahce的模块,使用mem cache模块,编译apache时候必须添加: " enable cache" " enable mem cache" 或者使用apxs ica 添加模块. mod mem cache需要mod cache模块的支持. mem cache 简单应用: CacheEnable mem / MCac

隐藏全部nginx版本信息

修改两个地方: vim nginx.conf 在http区域添加: server tokens off; 修改nginx目录中conf目录下的fastcgi.conf: fastcgi param SERVER SOFTWARE nginx/$nginx version; fastcgi param SERVER SOFTWARE nginx 可以在

IIS常见问题和错误及其解决方案

我整理了一些问题的解决方法写出来供大家参考: Q:为什么我的ASP页面到windows2003后就不能执行了,执行ASPX正常. A:windows2003中默认没有启用ASP支持,在IIS的Web Service Extensions里找到Active Server Pages,将ALLOW选上,就可以了. Q:我的IIS只要asp文件有错,就显示HTTP500错误,但是却不显示出错的详细信息.

nginx网页只有指定ip才能访问

让nginx服务器上的某个页面只有指定ip才能访问,只需要在server内添加如下字段即可. server { location /nginxallstatus { stub status on; allow 60.195.252.106; access log on; deny all; } }

linux下如何查看自己的外网IP

由于局域网的服务器是通过ADSL路由器连接外网的,但ADSL是从ISP运营商那儿通过动态获得IP的,那么我怎么知道自己的外网地址是多少呢? 现在介绍两个方法: 1、直接在命令行敲如下命令: curl s http://whatismyip.org 2、敲命令: wget http://whatismyip.org 然后再敲命令: cat index.htm