centos7的一些新特性和命令

1.系统服务管理
systemctl

2.时间日期管理(使用chrony代替了ntp)
timedatectl

3.日志管理
journalctl

4.磁盘管理
超过2TB硬盘的分区
gdisk /dev/sdx

5.网络管理
1).网卡管理
nmcli
重启网卡的操作
nmcli connection reload
nmcli connection down "enp3s0"
nmcli connection up "enp3s0"

2).计算机名管理
显示计算机名
hostname
修改计算机名
hostnamectl set-hostname www.jisonami.com
计算机名配置文件
/etc/hostname

6.防火墙管理
firewalld
命令行管理
firewall-cmd
图形化管理
firewall-comfig

猜你喜欢

转载自jisonami.iteye.com/blog/2293603
今日推荐