`
世纪魔面
  • 浏览: 18785 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

CentOS安装Apache

阅读更多

直接运行命令

#yum -y install httpd;

然后

#setup

设计为随系统启动

#service httpd start

启动服务

 

注意:在 CentOS 中 Apache 的默认根目录是 /var/www/html,配置文件 /etc/httpd/conf/httpd.conf。其他配置存储在 /etc/httpd/conf.d/ 目录。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics