ITeye博客

简单收录

i-david · 2012-10-11 15:18 · 运维系统 · 非技术 · Markdown

时间太紧张

简单收录些东东,非标准的文章

清除 windows 访问共享命令


net use * /delete


静态路由,网站一枚

www.tp-link.con.cn

shopt -s extglob ls !(bin)

备份策略:月初全量备份,月中增量备份

sed -i "s/^.PasswordAuthentication./PasswordAuthentication no/" ssh_config

echo "123" | passwd david --stdin

yum grouplist

yum groupinstall "Development tools"

centos ftp下载文件 sz file

rsync --daemon --config=/etc/rsyncd/rsyncd.conf

cucumber-nagios

curl -o /dev/null -s -w "http_code: %{http_code}\nhttp_connect: {%http_connect}\ncontent_type: %{content_type}\ntime_namelookup: %{time_namelookup}\ntime_redirect: %{time_redirect}\ntime_pretransfer: %{time_pretransfer}\ntime_connect: %{time_connect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\nspeed_download: %{speed_download}\n" "$1"

mkisofs -r -o file.iso your_folder_name/

netstat -n | awk '/^tcp/ {++S} END {for(a in S) print a, S}'

UDP端口测试:nmap -sU -p 161 0.0.0.0

iperf 测试带宽

iperf -s 设置一段服务器 iperf -c host

zabbix

zabbix-server-mysql zabbix-agent zabbix-frontend-php

find . -maxdepth 1 -size 0 | xargs rm -f

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。