栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

RHEL8记录(二)

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

RHEL8记录(二)

    安装VMware及创建RHEL8虚拟机;                                                                                                

 

    服务的启动、重启、停止、重载、查看状态等常用命令新旧对比

老系统命令新系统命令作用
service foo startsystemctl start httpd启动服务
service foo restartsystemctl restart httpd重启服务
service foo stopsystemctl stop httpd停止服务
service foo reloadsystemctl reload httpd重新加载配置文件(不终止服务)
service foo statussystemctl status httpd查看服务状态

 服务开机启动、不启动、查看各级别下服务启动状态等常用命令新旧对比

老系统命令新系统命令作用
chkconfig foo onsystemctl enable httpd开机自动启动
chkconfig foo offsystemctl disable httpd开机不自动启动
chkconfig foosystemctl is-enabled httpd查看特定服务是否为开机自启动
chkconfig --listsystemctl list-unit-files --type=httpd查看各个级别下服务的启动与禁用情况

      需要背诵命令
systemctl start 服务名称 启动
systemctl stop 服务名称 停止
systemctl restart 服务名称 重启
systemctl enable 服务名称 加入启动项
systemctl status 服务名称 查看状态
shell bash
命令 参数 对象
   长短格式日常使用情况
长格式
短格式
长格式和长格式不能合并
短格式和长格式不能合并                                                                                                                                                                 

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/706013.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号