最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Amazon CentOS7 AMI的Apache环境安装配置教程
时间:2022-06-30 20:55:17 编辑:袖梨 来源:一聚教程网
创建Amazon CentOS7 AMI的EC2以后发现,为了安装Apache执行了yum命令。
从以下的结果来看,已经安装好了Apache2.4.6了。
# yum install httpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: www.ftp.ne.jp
* epel: ftp.jaist.ac.jp
* extras: www.ftp.ne.jp
* rpmforge: ftp.riken.jp
* updates: www.ftp.ne.jp
Package httpd-2.4.6-18.el7.centos.x86_64 already installed and latest version
Nothing to do
配置文件也在/etc/httpd目录下。
# ll /etc/httpd
total 4
drwxr-xr-x. 2 root root 35 Dec 31 16:16 conf
drwxr-xr-x. 2 root root 93 Dec 31 16:48 conf.d
drwxr-xr-x. 2 root root 4096 Dec 31 16:48 conf.modules.d
lrwxrwxrwx. 1 root root 19 Dec 31 16:16 logs -> ../../var/log/httpd
lrwxrwxrwx. 1 root root 29 Dec 31 16:16 modules -> ../../usr/lib64/httpd/modules
lrwxrwxrwx. 1 root root 10 Dec 31 16:16 run -> /run/httpd
相关文章
- 《夜族崛起》铁匠西里尔位置一览 05-17
- 《寓言之地》1.02更新内容一览 05-17
- 《辐射4》steam好评率介绍 05-17
- 《夜族崛起》技能强化珠宝掉落说明 05-17
- 《辐射4》主机控制台介绍 05-17
- 《星露谷物语》海草和绿藻获取方法 05-17