CentOS 常用命令
Posted 白描先生
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS 常用命令相关的知识,希望对你有一定的参考价值。
网络服务
- 重启网络服务
systemctl restart network.service
- 重启网络
systemctl stop NetworkManager
- 设置IP地址、网关DNS
cd /etc/sysconfig/network-scripts/ #进入网络配置文件目录
- 关闭防火墙
systemctl stop firewalld.service
以上是关于CentOS 常用命令的主要内容,如果未能解决你的问题,请参考以下文章