-
-
Save bfchengnuo/680d65224b34b964623810b8e4c46f54 to your computer and use it in GitHub Desktop.
整理常用的命令,不断完善中....
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CentOS 系列 | |
# 重启网络 | |
service network restart | |
# 查看防火墙状态 | |
service firewalld status | |
# 7+ 版本的开启服务 | |
systemctl start docker | |
# 设置开机启动 | |
systemctl enable docker | |
# 查看ip地址 | |
ip addr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment