1.查看cpu
cat /proc/cpuinfo
2.查看磁盤
df -m
3.看內存
free
4.fdisk -l 分區
5.uname -r 看內核
6.cat /ect/redhat-relese
7.file /sbin/init 看多少位
8.ipconfig
setup配置網絡
注意:重啓網卡要一個個的重啓
ifup eth0
cd /etc
vim hosts
hostname 看主機名
9.看防火牆的狀態
iptables -L
iptables -F|-x
service iptables start/stop/status
10.getenforce
11.看端口有沒有被佔用
netstat -nlt|gep 1521