2010年5月17日月曜日

CentOS 5.5 Upgrade Install MEMO

1. Mware Playre の起動が速すぎて F2 キーを押しても BIOS Setup とならなかったため、CentOS 5.4 をシャットダウンしてから次の手順を実施して DVD から起動した。

 1.1 vmx ファイルの最後に次の1行を追加する。

bios.forceSetupOnce = "TRUE"

 1.2 [VM]->[設定] で "CD/DVD(IDE)" を選択して

 - 「デバイスのステータス」の「起動時に接続」をチェックする。
 - 「接続」の「ISO イメージファイル…」に ISO ファイルを指定する。

2. CentOS 5.5 DVD からブートしてアップグレード

CenOS 5.3 Upgrade Install MEMO 参照。
http://isneophyte.blogspot.com/search/label/CentOS%205.3

3. MySQL の起動失敗

 原因はバージョンが混在。

Installed Packages
mysql.i386 5.0.77-4.el5_4.2 installed
mysql-devel.i386 5.1.41-1.el5.remi installed
mysql-libs.i386 5.1.41-1.el5.remi installed
mysql-server.i386 5.1.41-1.el5.remi installed
mysql-test.i386 5.1.41-1.el5.remi installed
mysqlclient15.i386 5.0.67-1.el5.remi installed

4. パッケージアップデーターにて MySQL と PHP の更新パッケージをインストール。

MySQL 5.1.46
PHP 5.3.2

5. 各ソフトウェアのバージョン確認

# mysql
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2Server version: 5.1.46 MySQL Community Server (GPL) by Remi

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

# php -v
PHP 5.3.2 (cli) (built: Apr 27 2010 20:28:18)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

0 件のコメント:

コメントを投稿