さくらVPSにWebサーバー(Apache)をインストールしました。
# yum -y install httpd Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: ftp.nara.wide.ad.jp * epel: ftp.kddilabs.jp * extras: ftp.nara.wide.ad.jp * updates: ftp.nara.wide.ad.jp Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package httpd.x86_64 0:2.2.15-29.el6.centos will be installed --> Processing Dependency: httpd-tools = 2.2.15-29.el6.centos for package: httpd-2.2.15-29.el6.centos.x86_64 --> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-29.el6.centos.x86_64 --> Running transaction check ---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 will be installed ---> Package httpd-tools.x86_64 0:2.2.15-29.el6.centos will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: httpd x86_64 2.2.15-29.el6.centos base 821 k Installing for dependencies: apr-util-ldap x86_64 1.3.9-3.el6_0.1 base 15 k httpd-tools x86_64 2.2.15-29.el6.centos base 73 k Transaction Summary ================================================================================ Install 3 Package(s) Total download size: 909 k Installed size: 3.1 M Downloading Packages: (1/3): apr-util-ldap-1.3.9-3.el6_0.1.x86_64.rpm | 15 kB 00:00 (2/3): httpd-2.2.15-29.el6.centos.x86_64.rpm | 821 kB 00:03 (3/3): httpd-tools-2.2.15-29.el6.centos.x86_64.rpm | 73 kB 00:00 -------------------------------------------------------------------------------- Total 27 kB/s | 909 kB 00:34 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : apr-util-ldap-1.3.9-3.el6_0.1.x86_64 1/3 Installing : httpd-tools-2.2.15-29.el6.centos.x86_64 2/3 Installing : httpd-2.2.15-29.el6.centos.x86_64 3/3 Verifying : httpd-2.2.15-29.el6.centos.x86_64 1/3 Verifying : httpd-tools-2.2.15-29.el6.centos.x86_64 2/3 Verifying : apr-util-ldap-1.3.9-3.el6_0.1.x86_64 3/3 Installed: httpd.x86_64 0:2.2.15-29.el6.centos Dependency Installed: apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 httpd-tools.x86_64 0:2.2.15-29.el6.centos Complete! |
Complete!と表示されたのでインストール成功です。
次に Apache の自動起動の設定
# chkconfig httpd on |
次は PHP のインストールです。