インストールメモ



2010 12月27日

remiリポジトリの導入

MySQL5.1、PHP5.3 をインストール

# yum --enablerepo=remi install mysql

phpMyAdminで必要な php-mcrypt 等をインストール

# yum --enablerepo=remi install php-mcrypt php-xml

httpd-devel が必要だったのでインストール

# yum --enablerepo=remi install httpd-devel






2010 12月27日

最新版に近いパッケージをインストール出来るようにremiリポジトリを導入する

GPGキーをインポート

# rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi

リポジトリファイルを追加

# cd /etc/yum.repos.d
# wget http://rpms.famillecollet.com/remi-enterprise.repo

remi リポジトリファイルを編集

常時有効(enabled=1)になっていないかチェックする。

# vi /etc/yum.repos.d/remi-enterprise.repo

[remi]
name=Les RPM de remi pour Enterprise Linux $releasever - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror
enabled=0        ←1なら0に変更
gpgcheck=1
gpgkey=http://rpms.famillecollet.com/RPM-GPG-KEY-remi
failovermethod=priority

[remi-test]
name=Les RPM de remi en test pour Enterprise Linux $releasever - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/$releasever/test/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/test/mirror
enabled=0        ←1なら0に変更
gpgcheck=1
gpgkey=http://rpms.famillecollet.com/RPM-GPG-KEY-remi

remi レポジトリを使用するには

--enablerepo=remi オプションをつけてyumを実行する

# yum --enablerepo=remi update






2010 12月24日

rpmforgeリポジトリを導入していればyumでインストール出来る。

yum install perl-CGI-SpeedyCGI






2010 8月17日

PGDGレポジトリを追加する

純正レポジトリに postgresql を上書きされない様に無効化しておく。
/etc/yum.repos.d/CentOS-Base.repo を編集のうえ、[base]と[update]のそれぞれのセクションに、
exclude=postgresql*
を追記する。
…つづきを読む







2010 6月17日

環境

CentOS 4.8
Apache 2.2.15
PHP 5.2.13

Zend Framework ダウンロード

http://framework.zend.com/download/latest
「Zend Framework Full Package」から Zend Framework 1.10 full をダウンロード
ユーザー登録が必要。

wget http://downloads.zend.com/framework/1.10.5/ZendFramework-1.10.5.tar.gz

解凍する

# tar -zxvf ZendFramework-1.10.5

/usr/share/php 配下に移動する。

# mv ZendFramework-1.10.5 /usr/share/php

php.ini の設定

include_path を設定する
include_pathで検索して以下のパスを追記

# vi /etc/php.ini
...
include_path = “.:/usr/share/php/ZendFramework-1.10.5/library”
...

Apache を再起動させる。

参考:【Zend Framework】CentOSにインストールしてみた。