fedora21之常用命令

1 防火墙

关闭

systemctl stop firewalld

禁止自启动

systemctl disable firewalld

2 设置机器名

hostnamectl set-hostname wisely

3 系统服务

显示运行的系统服务 systemctl

显示所有的系统服务 systemctl list-unit-files

开启、关闭、自启动、取消自启动、状态 systemctl start 服务名

systemctl stop 服务名

systemctl enable 服务名

systemctl disable 服务名

systemctl status 服务名

4 日志

journalctl -u 服务名 -f

上一篇:Java 诊断神器 Arthas 有奖征文(长期有效)


下一篇:alipay.trade.refund (统一收单交易退款接口) java非官方沙箱测试