centos下apache安装
生活随笔
收集整理的這篇文章主要介紹了
centos下apache安装
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
安裝環(huán)境:centos
查找可安裝的包:
yum list httpd*
安裝:
yum install httpd.x86_64
查看安裝包的所有安裝文件:
rpm -ql httpd
配置文件:
/etc/httpd/conf/httpd.conf
日志目錄:
/etc/httpd/logs
頁面存放路徑:
/var/www/html/
啟動(dòng)、停止、狀態(tài)命令:
/etc/init.d/httpd start
/etc/init.d/httpd stop
/etc/init.d/httpd status
轉(zhuǎn)載于:https://www.cnblogs.com/kszit/p/3612037.html
總結(jié)
以上是生活随笔為你收集整理的centos下apache安装的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 用户代码未处理EntityCommand
- 下一篇: http的get与post方式下的get