网上有些教程比较旧,比如header_access在3.0里面已经淘汰了
正确的使用方法是:
request_header_access X-Forwarded-For deny all
request_header_access Via deny all
网上有些教程比较旧,比如header_access在3.0里面已经淘汰了
正确的使用方法是:
request_header_access X-Forwarded-For deny all
request_header_access Via deny all
from:http://www.cnblogs.com/ttyp/archive/2005/11/18/279124.html
#!/bin/sh
groupname=”yourgroup”
ipaddress=”192.168.0.1″
snmpwalk=”/usr/bin/snmpwalk”
export PATH=$PATH:/usr/bin:/bin
datestr=`date +”%Y/%m/%d %R”`
curtime=`date +%H%M`
#up link port
inf=your port no
1. 建立免密码账户 (http://www.chinaunix.net/jh/6/16477.html)
、用同样的方法安装好客户机,即重复1-3
2、将客户机的公钥:id_dsa_1024_a.pub拷到服务器端用户主目录,本人为root的根目录/ 的.ssh2中—
最好重命名—为了防止覆盖掉服务器中的同名文件,假设改为hello.pub
3、在客户端的用户主目录的.ssh2文件夹中建立文件identification, echo"IdKey
id_dsa_1024_a" >; identification */此文件用来标识客户机自己的私钥,用来和拷到服务端的自己的公
钥校验 /*
(more…)
CC=gcc CFLAGS=”-O3″ CXX=gcc CXXFLAGS=”-O3 -felide-constructors -fno-exceptions -fno-rtti” \
./configure \
–with-client-ldflags=-all-static \
–prefix=/usr/local/mysql –enable-assembler \
–localstatedir=/data/mysql –without-debug \
–enable-thread-safe-client –without-docs \
–with-big-tables –enable-local-infile –with-plugins=blackhole,heap,partition,myisam,innobase,innodb_plugin \
–with-charset=utf8 –with-extra-charsets=gbk,gb2312,latin1
Powered by WordPress