✔️ CentOS 5.7, Apache 2.2.23에서 테스트하였습니다.
1 개요[ | ]
- CentOS 5에 Apache 2.2.23 설치
- CentOS 5에 아파치 2.2.23 설치
- (방법2) webtatic 저장소를 이용하여 PHP 2.2.23을 설치(이쪽이 상위버전)
2 사전 확인[ | ]
Console
Copy
[root@zetawiki ~]# rpm -qa | grep httpd
[root@zetawiki ~]# service httpd status
httpd: unrecognized service
Console
Copy
[root@zetawiki ~]# yum list php
... (생략)
Available Packages
httpd.x86_64 2.2.3-83.el5.centos updates
- → CentOS 기본 저장소로 2.2.3을 설치할 수 있다.
- → 하지만 여기서는 webtatic 저장소를 이용하여 상위버전인 2.2.23을 설치할 것이다.
3 webtatic 저장소 추가[ | ]

4 설치[ | ]
Console
Copy
[root@zetawiki ~]# yum install httpd --enablerepo=webtatic
... (생략)
======================================================================================================
Package Arch Version Repository Size
======================================================================================================
Installing:
httpd x86_64 2.2.23-1.w5 webtatic 1.1 M
Installing for dependencies:
apr-util-ldap x86_64 1.3.12-1.w5 webtatic 15 k
httpd-tools x86_64 2.2.23-1.w5 webtatic 68 k
Updating for dependencies:
apr-util x86_64 1.3.12-1.w5 webtatic 84 k
Transaction Summary
======================================================================================================
Install 3 Package(s)
Upgrade 1 Package(s)
Total download size: 1.3 M
Is this ok [y/N]: y
Console
Copy
... (생략)
Installed:
httpd.x86_64 0:2.2.23-1.w5
Dependency Installed:
apr-util-ldap.x86_64 0:1.3.12-1.w5 httpd-tools.x86_64 0:2.2.23-1.w5
Dependency Updated:
apr-util.x86_64 0:1.3.12-1.w5
Complete!
4.1 확인[ | ]
Console
Copy
[root@zetawiki ~]# httpd -v
Server version: Apache/2.2.23 (Unix)
Server built: Nov 25 2012 15:00:50
5 같이 보기[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.