Chinaunix首页 | 论坛 | 博客
  • 博客访问: 30300
  • 博文数量: 17
  • 博客积分: 685
  • 博客等级: 上士
  • 技术积分: 180
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-26 22:47
文章分类
文章存档

2011年(1)

2009年(16)

我的朋友

分类: LINUX

2009-07-08 11:56:32


==============F5 and NS===========================================================

b pool cal_trafficlim { monitor all udp member 10.7.180.17:1300 } 

b virtual cal_trafficlim { destination 10.7.179.136:1300 profiles udp pool cal_trafficlim }

NS:
add route 0.0.0.0 0.0.0.0
rm ...

rm ns ip IPaddress

remove a route :
rm route network netmask gateway

Enabling RNAT
 set rnat network netmask
 
verify F5 build up :
 
snmpwalk -public ...
ntpq -p
bigstart restart ntpd
 
 

=========================Solairs===================================================

inetadm - observe and configure services that are controlled by inetd.
svcadm - service administration, including enabling, disabling, and restarting services
svccfg - manipulate the contents of the repository, usually properties in a service
svcprop - observe property values in a read-only manner. outputs are formalized for easy use in 

shell scripts.
svcs - observe the state of all the service instances on the system, and detailed views of 

their dependencies, processes, etc

svcs | grep ftp

=========================Linux=====================================================

route del default
route add defautl gw ip_address

dig -q name
dig @host domain
dig -x address


useradd -d /home/junygu -g 1 -m -s /bin/ksh  junygu

==========================SSH======================================================

ssh-genkey -f filename -t rsa/dsa

ssh -i private.key root@destinationhost

echo "set nu">>~/.vimrc


==========================House keeping===========================================

du -h --max-depth=1 /ebay/half |sort -n  # max-deth=n n的数字代表目录深度,0就是目前的目录


gzip -dc /some/where/squid-2.5.STABLE4-src.tar.gz | tar xvf -



disable 的是service
down的是server



/ebay/dnstool/dnsupdate.pl -i filename -t CRno -u xxxx
阅读(632) | 评论(0) | 转发(0) |
0

上一篇:回顾

下一篇:Squid

给主人留下些什么吧!~~