Apatchインストールのメモ
# yum -y install httpd
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* updates: ftp.riken.jp
* addons: ftp.riken.jp
* extras: ftp.riken.jp
base | 1.1 kB 00:00
updates | 951 B 00:00
addons | 951 B 00:00
extras | 1.1 kB 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
-
- > Running transaction check
- > Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================
Package Arch Version Repository Size
==============================================================================================================
Installing:
httpd x86_64 2.2.3-22.el5.centos.1 updates 1.2 M
Transaction Summary
==============================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.2 M
Downloading Packages:
httpd-2.2.3-22.el5.centos.1.x86_64.rpm | 1.2 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : httpd [1/1]
Installed: httpd.x86_64 0:2.2.3-22.el5.centos.1
Complete!
# yum -y install php php-mbstring
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* updates: ftp.riken.jp
* addons: ftp.riken.jp
* extras: ftp.riken.jp
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
-
- > Running transaction check
- > Processing Dependency: php-cli = 5.1.6-23.2.el5_3 for package: php
- > Processing Dependency: php-common = 5.1.6-23.2.el5_3 for package: php
- > Running transaction check
- > Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================
Package Arch Version Repository Size
==============================================================================================================
Installing:
php x86_64 5.1.6-23.2.el5_3 updates 1.2 M
php-mbstring x86_64 5.1.6-23.2.el5_3 updates 1.0 M
Installing for dependencies:
php-cli x86_64 5.1.6-23.2.el5_3 updates 2.2 M
php-common x86_64 5.1.6-23.2.el5_3 updates 152 k
Transaction Summary
==============================================================================================================
Install 4 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 4.4 M
Downloading Packages:
(1/4): php-common-5.1.6-23.2.el5_3.x86_64.rpm | 152 kB 00:00
(2/4): php-mbstring-5.1.6-23.2.el5_3.x86_64.rpm | 1.0 MB 00:00
(3/4): php-5.1.6-23.2.el5_3.x86_64.rpm | 1.2 MB 00:01
(4/4): php-cli-5.1.6-23.2.el5_3.x86_64.rpm | 2.2 MB 00:01
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Total 1.2 MB/s | 4.4 MB 00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-common [1/4]
Installing : php-cli [2/4]
Installing : php [3/4]
Installing : php-mbstring [4/4]
Installed: php.x86_64 0:5.1.6-23.2.el5_3 php-mbstring.x86_64 0:5.1.6-23.2.el5_3
Dependency Installed: php-cli.x86_64 0:5.1.6-23.2.el5_3 php-common.x86_64 0:5.1.6-23.2.el5_3
Complete!
# vi /etc/httpd/conf/httpd.conf
設定ファイルを変更、よきにはからえー。
で、とりあえず内部からのアクセスなので問題ないと思うんだけど・・・。
外からはつながらないみたいだねえ。