itoigawabass

itoigawaのブログ

サーバーアップデートメモ

2013-04-30

mysql-5.6.11
tar zxfv mysql-5.6.11.tar.gz
mysql-5.5からはCMakeを使う。
cmake . -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci
make
make install
mysql_server stop
mysql_server start


httpd-2.4.4
./config.niceしてみるが、
configure: error: APR not found. Please read the documentation.
APRがないらしいので
apr-1.4.6をソースからインストール
./configure
make
make install
/usr/local/apr/libにインストールできた。

apr-util-1.5.2
./configure --with-apr=/usr/local/apr
make
make install

apr-iconv-1.2.1
./configure --with-apr=/usr/local/apr
make
make install

pcre-8.32
./configure
make
make install
/usr/local/lib 
/usr/local/binにインストールできたと思う


httpd-2.4.4
./configure --enable-ssl --enable-so --enable-mods-shared=most --with-mpm=prefork --enable-suexec --with-suexec-caller=nobody
make
make install
起動してみるがhttpd.confの設定がダメみたい。
2.2から2.4では設定が相当変わっているようだ。

時間がないので諦めてhttpd-2.2.24に戻した。


php-5.4.14
前回のソースディレクトリからconfig.niceをコピーして
./config.nice
make
make install
apachectl stop
apachectl start

カテゴリー:apache
タグ: