首页  

systemctl service chkconfig 之间的关系     所属分类 linux 浏览量 672
service
启动 停止 重新启动和关闭系统服务
显示所有系统服务的当前状态

chkconfig
管理系统服务(service)命令行工具
系统服务(service),就是随系统启动而启动,随系统关闭而关闭的程序


systemctl
RHEL7 服务管理工具中主要工具
systemd工具,主要负责控制systemd系统和服务管理器
将 service 和 chkconfig 这两个命令组合到一起
是service命令和chkconfig命令的集合和代替



systemctl list-units
systemctl start firewalld 
systemctl restart firewalld
systemctl stop fitrwalld
systemctl disable firewalld
systemctl enable firewalld
systemctl is-active firewall
systemctl is-enabled firewalld
systemctl status firewalld
 

service network restart/start/stop
service network status
 

chkconfig ntpd on/off/reset 
chkconfig list


centos7防火墙配置

上一篇     下一篇
c语言中常见的内存错误

c++运算符优先级和结合性

编译时指定宏参数

Java实现简单的模板

Linux可执行文件信息查看

C语言获取时间戳秒