1.centos 6.5 与7.0 的区别?
a 桌面系统 (GNOME 2.X GNOME 3.X)
b 文件系统 (ext4 xfs)
c 内核版本 2.6.x-x 3.10.x-x
d 启动加载项 grub grub2
e 防火墙 (重点) iptables firewalld
f 默认数据库 mysql mariadb
g 文件结构 /bin/ /sbin/ /lib/ /lib64在/下 /bin /sbin /lib /lib64 在usr 下
h 主机名 /etc/sysconfig/network /etc/hostname
i 时间同步 ntpdate +时间服务器的ip
j 修改时间
k 修改地区
l 服务相关(启动及停止 重点) service network restart/stop/start systemctl restart/stop/start network
m 网络
n 重启关闭 shutdown -h now poweroff
2.linux 启动顺序
1)post 加电自检 2) MBR 引导 3)grub 引导 4)读取grub.conf 文件
5)启动内核 6)加载伪文件系统(ramdisk) 7)启动init 进程 8)执行/bin/login
3.几种 linux/unix发行版本
REDHAT系统 :RHEL CENTOS ORACLE LINUX
suse ubutun debian
unix
solaaris hp-ux aix
4.企业中的服务器如何连线?
分网络结构 :单内 1 内外 2 内网bond 2 内网bond +单外 3
内网bond+外网bond 4 单内+内网bond 3
{机柜从上至下 内网交换机 外网交换机 管理交换机 服务器内网网口接内网交换机 外网网口接外网交换机}
后加万兆网卡,直接使用光纤(万兆)
上联接入交换机(内接内 外接外)
5、使用系统命令top即可看到如下类似信息:
Cpu(s): 0.0%us, 0.5%sy, 0.0%ni, 99.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
其具体含义为:
us: is meaning of "user CPU time"
sy: is meaning of "system CPU time"
ni: is meaning of" nice CPU time"
id: is meaning of "idle"
wa: is meaning of "iowait"
hi:is meaning of "hardware irq"
si : is meaning of "software irq"
st : is meaning of "steal time"
翻译成中文为:
5.9%us — 用户空间占用CPU的百分比。
3.4% sy — 内核空间占用CPU的百分比。
0.0% ni — 改变过优先级的进程占用CPU的百分比
90.4% id — 空闲CPU百分比
0.0% wa — IO等待占用CPU的百分比
0.0% hi — 硬中断(Hardware IRQ)占用CPU的百分比
0.2% si — 软中断(Software Interrupts)占用CPU的百分比
网友评论