CentOS7系统操作httpd服务
来源:互联网 发布:cl.r27.lol index.php 编辑:程序博客网 时间:2024/06/07 07:09
操作部署某个环境的时候使用的是CentOS7版本,在需要启动httpd服务的时候惯性的使用service httpd start命令,提示有"/bin/systemctl start httpd.service"问题。
当然,为了兼容性,我们原来习惯使用的service命令在CentOS7中仍然是可以使用的,它会重定向命令到新的systemctl工具命令。
第一、启动、终止、重启
systemctl start httpd.service #启动systemctl stop httpd.service #停止systemctl restart httpd.service #重启
第二、设置开机启动/关闭
systemctl enable httpd.service #开机启动systemctl disable httpd.service #开机不启动
第三、检查httpd状态
systemctl status httpd.service
阅读全文
0 0
- CentOS7系统操作httpd服务
- CentOS7系统操作httpd服务
- centos7安装httpd服务
- 【CentOs7.x】- 安装httpd服务
- CentOS7.2配置Apache服务(httpd)--上篇
- 将httpd加入centos的系统服务
- 把Apache Httpd 转换为系统服务
- httpd 服务
- httpd服务
- 在centos中 将apache httpd 服务加入系统服务
- 在Centos中 将apache httpd 服务加入系统服务
- centos7 安装httpd
- linux系统重启httpd服务报错的解决方法
- centos7 和centos6 服务操作命令对比
- CentOS7利用systemctl添加自定义系统服务
- CentOS7 添加自定义系统服务案例
- Centos7下添加Tomcat为系统服务
- CentOS7利用systemctl添加自定义系统服务
- <linux线程>POSIX无名信号量的基本操作---两个线程间的通信
- tcpdump for Arm
- Action获取传统域对象(HttpServletRequest、HttpSession、ServletContext)的三种
- 选项框js
- SpringCloud踩坑实战笔记(入门篇)
- CentOS7系统操作httpd服务
- CodeIgniter文件目录树
- eclipse svn 提交时提示is already locked 解决办法
- 恶意代码分析实战 Lab 6-3 习题笔记
- 纯CSS箭头
- Dialog自定义上下文花式菜单
- Python中time模块详解
- ubuntu16.04 挂载硬盘到/mnt
- 支付宝SDK接入详细指南(附官方支付demo)