CentOS 安装httpd
来源:互联网 发布:linux 万兆网卡配置 编辑:程序博客网 时间:2024/06/04 18:28
1.查询是否已经安装了apache软件
rpm -qa | grep httpd
2. 如果系统已安装,用以下命令删除
rpm -e httpd-NN
3. 用yum进行安装,直接输入以下命令
yum install httpd -y
4. 设置为系统服务
systemctl enable httpd.service
5. 启动停止服务方式
systemctl start/stop httpd
查看服务状态:
systemctl status httpd
6. 测试,用浏览器访问:
http://xx.xx.xx.xx/
0 0
- centos下httpd安装
- CentOS 安装httpd
- centos 下安装apache httpd
- CentOS编译安装apache【httpd】
- CentOS之httpd与apache安装区别
- CentOS 6.5编译安装httpd-2.4.7
- CentOS 6.5编译安装httpd-2.4.7
- httpd 源码安装 CentOS 64位
- Centos YUM安装httpd ,mysql , php
- linux centos 安装httpd-2.4.12
- centos下httpd-2.4的编译安装
- CentOS 7 编译安装httpd-2.4.17
- centos mysql+httpd+php 编译安装
- Centos 使用源码安装subversion apache-httpd
- httpd系列-00-编译安装-CentOS/RedHat
- CentOS编译安装nginx、memcache、httpd、php
- Mac Virtualbox Centos Httpd部署安装
- centos 7 安装卸载apache(httpd)服务
- Maven依赖Scope标签用法
- 1022. Digital Library (30)
- iOS App性能优化 29 MAY 2013
- 中国机器人打破持续行走里程吉尼斯世界纪录
- MFC的单文档中双击鼠标事件显示在状态栏
- CentOS 安装httpd
- 32位win7系统安装office2013以及破解
- Linux/CentOS下的CST和UTC时间的区别以及不一致的解决方法
- 安卓监听手机USB接口拔插警报广播
- Bitmap算法
- Deep Learning(深度学习)学习笔记整理系列之(七)
- 大疆Osmo手持云台相机图赏
- Android案例(3)——猜歌游戏
- 安卓 ScrollView标题栏随手势变化透明