6さまざまな場所で一般的に使用されるコマンドのCentos7、

ip addr #	查看ip
systemctl stop firewalld # 临时关闭防火墙
systemctl disable firewalld # 禁止开机启动
systemctl enable postfix.service	#开机启动
修改hostname有单独的文件 vi /etc/hostname,6在	/etc/sysconfig/network中
cat /etc/centos-release #查看操作系统版本
systemctl list-unit-files	#查看开机启动项,用回车键翻页,按q退出
systemctl list-unit-files|grep enabled	#已启动的服务列表
systemctl	#正在运行的服务
  • ビューのディスク使用量にDFの-h
    ここに画像を挿入説明
公開された21元の記事 ウォンの賞賛0 ビュー614

おすすめ

転載: blog.csdn.net/qq_34224565/article/details/104152148