Livingdeadの日記: EPELとrpmforgeとCentOS-Testingを使う
CentOS 5.5のサーバを新しく用意したのだがEPELとrpmforgeを入れる手順をよく忘れるのでメモ。
rpm -ivh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpm-macros-rpmforge-0-6.el5.rf.noarch.rpm
rpm -ivh http://ftp.iij.ad.jp/pub/linux/fedora/epel/5/i386/epel-release-5-4.noarch.rpm
yum update
CentOS 5.5のデフォルトではPHP 5.1系なので5.2系を使いたければCentOS-Testingを使う。
cat /etc/yum.repos.d/CentOS-Testing.repo
# CentOS-Testing:
# !!!! CAUTION !!!!
# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.
# These packages build and install, but are waiting for feedback from testers as to
# functionality and stability. Packages in this repository will come and go during the
# development period, so it should not be left enabled or used on production systems without due
# consideration.
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
#includepkgs=php*
PHPでintlとかapcを使いたければ直接PECLからインストールする。
pecl install intl
pecl install apc
コンパイラとかpcre-develとかはもちろん必要。
何をやりたかったかというとMoodle 2.0を動かしたかったのだが、結局SCORMプレイヤーが期待した動作をしてくれなかった。Moodle 1.8.x 1.9.xでは動いていたSCORMパッケージなのでSCORMプレイヤーに原因があると思うのだが、SCORMパッケージによっては正常に再生されるので、どちらに原因があるのか切り分け中。
EPELとrpmforgeとCentOS-Testingを使う More ログイン