[CentOS] Yum으로 아파치 httpd 2.2.22 설치하기
2012년 1월에 나왔던 아파치(Apache) httpd 2.2.22이 Webtatic 저장소(repository)를 올라왔다. 이를 통하여 CentOS/RHEL(redhat enterprise linux)에 Yum으로 손쉽게 설치하거나 판올림할 수 있다.
먼저 다음 rpm 시킴말(명령어)로 Yum에서 Webtatic 저장소 rpm 파일을 설치한다.
(http://www.webtatic.com/projects/yum-repository를 참고함)
# rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm
# rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
그리고 나서 Yum으로 httpd를 새로 깔거나 판올림한다.
# yum install --enablerepo=webtatic httpd
# yum update --enablerepo=webtatic httpd
아래는 httpd 이전판(2.2.21)이 깔려 있을 때 판올림한 화면이다. mod_ssl이 함께 갱신된다.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www6.atomicorp.com
* base: centos.tt.co.kr
* epel: ftp.riken.jp
* extras: centos.tt.co.kr
* updates: centos.tt.co.kr
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: httpd = 2.2.21-1.w5 for package: httpd-devel
--> Processing Dependency: httpd = 2.2.21-1.w5 for package: mod_ssl
---> Package httpd.x86_64 0:2.2.22-1.w5 set to be updated
--> Processing Dependency: httpd-tools = 2.2.22-1.w5 for package: httpd
--> Running transaction check
---> Package httpd-devel.x86_64 0:2.2.22-1.w5 set to be updated
---> Package httpd-tools.x86_64 0:2.2.22-1.w5 set to be updated
---> Package mod_ssl.x86_64 1:2.2.22-1.w5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
httpd x86_64 2.2.22-1.w5 webtatic 1.1 M
Updating for dependencies:
httpd-devel x86_64 2.2.22-1.w5 webtatic 150 k
httpd-tools x86_64 2.2.22-1.w5 webtatic 71 k
mod_ssl x86_64 1:2.2.22-1.w5 webtatic 86 k
Transaction Summary
================================================================================
Install 0 Package(s)
Upgrade 4 Package(s)
Total download size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): httpd-tools-2.2.22-1.w5.x86_64.rpm | 71 kB 00:02
(2/4): mod_ssl-2.2.22-1.w5.x86_64.rpm | 86 kB 00:02
(3/4): httpd-devel-2.2.22-1.w5.x86_64.rpm | 150 kB 00:02
(4/4): httpd-2.2.22-1.w5.x86_64.rpm | 1.1 MB 00:03
--------------------------------------------------------------------------------
Total 95 kB/s | 1.4 MB 00:15
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : httpd-tools 1/8
Updating : httpd 2/8
Updating : httpd-devel 3/8
Updating : mod_ssl 4/8
Cleanup : httpd-devel 5/8
Cleanup : httpd 6/8
Cleanup : mod_ssl 7/8
Cleanup : httpd-tools 8/8
Updated:
httpd.x86_64 0:2.2.22-1.w5
Dependency Updated:
httpd-devel.x86_64 0:2.2.22-1.w5 httpd-tools.x86_64 0:2.2.22-1.w5
mod_ssl.x86_64 1:2.2.22-1.w5
Complete!
덧글을 달아 주세요
나그네 2012/08/21 07:45 고유주소 고치기 답하기
좋은 정보 감사합니다.
mod_ssl을 올려야 하는데 설치가 안되서 애먹다가 글보고 아파치를 업데이트하고 올렸네요.
복 많이 받으실 겁니다. ㅎㅎ