Skip to content

Instantly share code, notes, and snippets.

@bfchengnuo
Created August 26, 2018 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bfchengnuo/680d65224b34b964623810b8e4c46f54 to your computer and use it in GitHub Desktop.
Save bfchengnuo/680d65224b34b964623810b8e4c46f54 to your computer and use it in GitHub Desktop.
整理常用的命令,不断完善中....
# 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