さくらのVPS ApacheとMySQLとPHPを入れておく

仕事の合間にちょこちょこといじってる(^^;)
とりあえず、ApacheMySQLPHPは入れておこう。
さくらのセットアップ情報*1を見ると
入ってないみたいなので新規インストール。
 
まずMySQL

# yum install mysql*

Installing: perl-DBI
Installing: mysql
Installing: perl-DBD-MySQL
Installing: mysql-server
Installing: libtool-ltdl
Installing: unixODBC
Installing: zlib-devel
Installing: keyutils-libs-devel
Installing: libsepol-devel
Installing: libselinux-devel
Installing: e2fsprogs-devel
Installing: krb5-devel
Installing: mysql
Installing: mysql-connector-odbc
Installing: mysql-test
Installing: openssl-devel
Installing: mysql-devel
Installing: mysql-devel
Installing: mysql-bench

 
次にApache

# yum install httpd*

Installing: httpd
Installing: cyrus-sasl-devel
Installing: apr-devel
Installing: openldap-devel
Installing: db4-devel
Installing: expat-devel
Installing: apr-util-devel
Installing: httpd-devel
Installing: httpd-manual
Installing: httpd-devel

yumでインストールした場合のディレクトリ構成
 http://thinkit.co.jp/cert/article/0706/3/2/4.htm
 
最後にPHP

# yum install php php-mysql

Installing: php-common
Installing: php-cli
Installing: php-pdo
Installing: php
Installing: php-mysql