httpdのインストール

お決まりのコマンドを撃つ。

#yum -y  install httpd

インストールログ

[root@linux38 susa]# yum -y install httpd
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core                                                                 [1/3]
updates                                                              [2/3]
extras                                                               [3/3]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
    • > Populating transaction set with selected packages. Please wait.
      • > Downloading header for httpd to pack into transaction set.
httpd-2.2.2-1.2.i386.rpm 100% |=========================| 68 kB 00:03
      • > Package httpd.i386 0:2.2.2-1.2 set to be updated
    • > Running transaction check
    • > Processing Dependency: httpd = 2.2.0-5.1.2 for package: httpd-manual
    • > Processing Dependency: httpd = 0:2.2.0-5.1.2 for package: mod_ssl
    • > Restarting Dependency Resolution with new changes.
    • > Populating transaction set with selected packages. Please wait.
      • > Downloading header for mod_ssl to pack into transaction set.
mod_ssl-2.2.2-1.2.i386.rp 100% |=========================| 25 kB 00:00
      • > Package mod_ssl.i386 1:2.2.2-1.2 set to be updated
      • > Downloading header for httpd-manual to pack into transaction set.
httpd-manual-2.2.2-1.2.i3 100% |=========================| 49 kB 00:02
      • > Package httpd-manual.i386 0:2.2.2-1.2 set to be updated
    • > Running transaction check
Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Updating: httpd i386 2.2.2-1.2 updates 1.1 M Updating for dependencies: httpd-manual i386 2.2.2-1.2 updates 846 k mod_ssl i386 1:2.2.2-1.2 updates 99 k Transaction Summary ============================================================================= Install 0 Package(s) Update 3 Package(s) Remove 0 Package(s) Total download size: 2.0 M Downloading Packages: (1/3): mod_ssl-2.2.2-1.2. 100% |=========================| 99 kB 00:03 (2/3): httpd-2.2.2-1.2.i3 100% |=========================| 1.1 MB 00:27 (3/3): httpd-manual-2.2.2 100% |=========================| 846 kB 00:17 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : httpd ######################### [1/6] Updating : mod_ssl ######################### [2/6] Updating : httpd-manual ######################### [3/6] Cleanup : mod_ssl ######################### [4/6] Cleanup : httpd ######################### [5/6] Cleanup : httpd-manual ######################### [6/6] Updated: httpd.i386 0:2.2.2-1.2 Dependency Updated: httpd-manual.i386 0:2.2.2-1.2 mod_ssl.i386 1:2.2.2-1.2 Complete!
番外編:間違いコマンド

apacheではなくて、httpdなのでした。

[root@linux38 susa]# yum -y install apache
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core                                                                 [1/3]
updates                                                              [2/3]
extras                                                               [3/3]
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: apache
Nothing to do