LAMPをyumる - 32bit対応版
あらすじ
先日、ソースコンパイルで構築するエントリーを書きました 今回は手軽にyumってLAMP環境をつくってみます。
Linux Apache Mysql Php = LAMP
OS - CentOS 6.4 32bit
yumる
リポジトリ登録
rpmforgerpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -ivh http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
epel
rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
remi
rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
rpm -ivh http://rpms.famillecollet.com/enterprise/6/remi/i386/remi-release-6.5-1.el6.remi.noarch.rpm vi /etc/yum.repos.d/epel.repo
httpd
yum install httpd-devel yum install mod_ssl
php
yum -y install php php-devel php-pdo php-mysql php-mbstring php-mcrypt php-gd php-pear php-pear-DB yum -y install php-pear-Auth php-pecl-apc-devel zlib-devel yum install php-intl
mysql
yum -y install mysql-devel yum -y install mysql-server
まとめ
これであっさりインストールできちゃいます。 参考までに