博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Centos7 安装http
阅读量:4035 次
发布时间:2019-05-24

本文共 205 字,大约阅读时间需要 1 分钟。

普通用户切换到root用户下

[root@localhost ~]# yum -y install httpd
这里写图片描述
设置httpd服务开机启动,开启httpd服务
[root@localhost ~]# systemctl enable httpd.service
[root@localhost ~]# systemctl list-unit-files httpd.service
这里写图片描述
这里写图片描述
80端口被监听,http启动

你可能感兴趣的文章
leetcode:3sum closet
查看>>
【剑指offer】面试题37:两个链表的第一个公共结点
查看>>
【剑指offer】面试题39:二叉树的深度
查看>>
【剑指offer】面试题28的习题:正方体,八皇后
查看>>
【剑指offer】面试题42:单词翻转顺序&左右旋转字符串
查看>>
【剑指offer】面试题43:n个骰子的点数
查看>>
堆排序及其相关操作
查看>>
【剑指offer】 堆排序查找最小的K个数
查看>>
【剑指offer】q50:树中结点的最近祖先
查看>>
二叉树的非递归遍历
查看>>
【leetcode】Reorder List (python)
查看>>
【leetcode】Linked List Cycle (python)
查看>>
【leetcode】Linked List Cycle (python)
查看>>
【leetcode】Word Break(python)
查看>>
【剑指offer】面试题26:复杂链表的复制
查看>>
【leetcode】Candy(python)
查看>>
【leetcode】Clone Graph(python)
查看>>
【leetcode】Sum Root to leaf Numbers
查看>>
【leetcode】Pascal's Triangle II (python)
查看>>
windows下 pip安装
查看>>