<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>おじさんの備忘録-番外編- &#187; CentOS</title>
	<atom:link href="http://www.dxcode.com/archives/tag/centos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dxcode.com</link>
	<description>個人的なメモ書き</description>
	<lastBuildDate>Fri, 13 Jan 2012 23:57:25 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>PHP 5.3.9 と MySQL 5.5.20 にアップデート</title>
		<link>http://www.dxcode.com/archives/2012/01141862.html</link>
		<comments>http://www.dxcode.com/archives/2012/01141862.html#comments</comments>
		<pubDate>Fri, 13 Jan 2012 23:57:25 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[CentOS6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[アップデート]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/?p=1862</guid>
		<description><![CDATA[公式リポジトリではなく非公式のRemiリポジトリからのリリースされたもの。 PHP5.3.9 アップデート内容 >> PHP 5.3.9 Released! MySQL5.5.20 アップデート内容 >> D.1.2.  [...]]]></description>
			<content:encoded><![CDATA[<p>公式リポジトリではなく非公式の<a href="http://rpms.famillecollet.com/" title="Les RPM de Remi - Packages">Remiリポジトリ</a>からのリリースされたもの。</p>
<p><a href="http://www.dxcode.com/wp-content/uploads/2012/01/php_mysql_update.png" class="highslide" onclick="return hs.expand(this)"><img src="http://www.dxcode.com/wp-content/uploads/2012/01/php_mysql_update-400x193.png" alt="" title="php_mysql_update" width="400" height="193" class="alignnone size-thumbnail wp-image-1866" /></a></p>
<p>PHP5.3.9 アップデート内容<br />
>> <a href="http://www.php.net/archive/2012.php#id2012-01-11-1" title="PHP 5.3.9 Released!">PHP 5.3.9 Released!</a><br />
MySQL5.5.20 アップデート内容<br />
>><a href="http://dev.mysql.com/doc/refman/5.5/en/news-5-5-20.html" title="D.1.2. Changes in MySQL 5.5.20 (10 January 2012)"> D.1.2. Changes in MySQL 5.5.20 (10 January 2012)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2012/01141862.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 6.2にアップデート</title>
		<link>http://www.dxcode.com/archives/2011/12251825.html</link>
		<comments>http://www.dxcode.com/archives/2011/12251825.html#comments</comments>
		<pubDate>Sun, 25 Dec 2011 07:50:38 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[CentOS6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[アップデート]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/?p=1825</guid>
		<description><![CDATA[先日CentOS 6.1にアップデートしたばかりなのにまさかのCentOS6.2リリース。 最近の動向からしてRHELがアップデートしても暫くはリリースされないだろうと思っていたので・・・。 アップデート後再起動しバージ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dxcode.com/wp-content/uploads/2011/12/centos.png" class="highslide" onclick="return hs.expand(this)"><img src="http://www.dxcode.com/wp-content/uploads/2011/12/centos.png" alt="" title="centos" width="273" height="94" class="alignright size-full wp-image-1818" /></a><br />
先日CentOS 6.1にアップデートしたばかりなのにまさかのCentOS6.2リリース。<br />
最近の動向からしてRHELがアップデートしても暫くはリリースされないだろうと思っていたので・・・。<br style="clear:both;" /></p>
<p>アップデート後再起動しバージョン確認</p>
<pre># cat /etc/redhat-release
CentOS release 6.2 (Final)</pre>
<p><a href="http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.2" title="CentOS 6.2 Release Notes">CentOS 6.2 Release Notes </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2011/12251825.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 6.1にアップデート</title>
		<link>http://www.dxcode.com/archives/2011/12131816.html</link>
		<comments>http://www.dxcode.com/archives/2011/12131816.html#comments</comments>
		<pubDate>Mon, 12 Dec 2011 21:46:27 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[CentOS6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[アップデート]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/?p=1816</guid>
		<description><![CDATA[CentOS 6.1がリリースされていたのでyumにてアップデート。 CentOS 6用のContinuous Releaseリポジトリを導入していたのでupdatesのファイル数自体はそれほど多くなかった。 アップデー [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dxcode.com/wp-content/uploads/2011/12/centos.png" class="highslide" onclick="return hs.expand(this)"><img src="http://www.dxcode.com/wp-content/uploads/2011/12/centos.png" alt="" title="centos" width="273" height="94" class="alignright size-full wp-image-1818" /></a><br />
CentOS 6.1がリリースされていたのでyumにてアップデート。<br />
CentOS 6用のContinuous Releaseリポジトリを導入していたのでupdatesのファイル数自体はそれほど多くなかった。<br style="clear:both;" /></p>
<p>アップデート後再起動しバージョン確認</p>
<pre># cat /etc/redhat-release
CentOS release 6.1 (Final)</pre>
<p><a href="http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.1" title="CentOS 6.1 Release Notes">CentOS 6.1 Release Notes </a></p>
<p>序にremiリポジトリにMySQL5.5.19がリリースされていたので併せてアップデート</p>
<pre># rpm -q mysql
mysql-5.5.19-1.el6.remi.x86_64</pre>
<p>MySQL5.5.19更新内容 »» <a href="http://dev.mysql.com/doc/refman/5.5/en/news-5-5-19.html" title="D.1.2. Changes in MySQL 5.5.19 (08 December 2011)">D.1.2. Changes in MySQL 5.5.19 (08 December 2011)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2011/12131816.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 6 セキュリティ更新とバグフィクス用リポジトリを公開</title>
		<link>http://www.dxcode.com/archives/2011/09301757.html</link>
		<comments>http://www.dxcode.com/archives/2011/09301757.html#comments</comments>
		<pubDate>Fri, 30 Sep 2011 00:12:42 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[BlueHost]]></category>
		<category><![CDATA[CentOS6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[アップデート]]></category>
		<category><![CDATA[リポジトリ]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/?p=1757</guid>
		<description><![CDATA[CentOS 6用のContinuous Releaseリポジトリが公開されていた。 次期バージョン（CentOS 6.1）がリリースされるまでの繋ぎとしての役割みたいなものみたいだが、セキュリティ更新とバグフィクスが多 [...]]]></description>
			<content:encoded><![CDATA[<p>CentOS 6用のContinuous Releaseリポジトリが公開されていた。<br />
次期バージョン（CentOS 6.1）がリリースされるまでの繋ぎとしての役割みたいなものみたいだが、セキュリティ更新とバグフィクスが多く含まれているのでリポジトリを追加し更新した。</p>
<p>リポジトリの追加</p>
<pre>[root@centos ~]# yum install centos-release-cr</pre>
<p>もしくは下記のどちらかをインストール</p>
<pre>i386:
http://mirror.centos.org/centos/6/extras/i386/RPMS/centos-release-cr-6-0.el6.centos.i686.rpm
( sha256: 9fc78d2d79abeb1513f0851d075a2860f5039fc8db3fb0db4c660252fffda894 )

x86_64:
http://mirror.centos.org/centos/6/extras/x86_64/RPMS/centos-release-cr-6-0.el6.centos.x86_64.rpm
( sha256: bd55e1505caae2f78c306290d235b7f54833fcad5a9f1942b3cb54e28f7bfe73 )</pre>
<p>インストール後にアップデートを実行すると200近いパッケージ（150M超）の更新があった。</p>
<p>参考  »  <a href="http://lists.centos.org/pipermail/centos-announce/2011-September/018078.html" title="[CentOS-announce] CentOS-6.0 Continuous Release i386 and x86_64">[CentOS-announce] CentOS-6.0 Continuous Release i386 and x86_64</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2011/09301757.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL5.5.16にアップデート</title>
		<link>http://www.dxcode.com/archives/2011/09221746.html</link>
		<comments>http://www.dxcode.com/archives/2011/09221746.html#comments</comments>
		<pubDate>Wed, 21 Sep 2011 23:20:03 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[CentOS6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Remi]]></category>
		<category><![CDATA[リポジトリ]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/?p=1746</guid>
		<description><![CDATA[MySQLの5.5.16がRemiレポジトリよりリリースされていたのでアップデート。 (1/12): mysql-5.5.16-1.el6.remi.x86_64.rpm &#124; 5.7 MB (2/12): mysql-d [...]]]></description>
			<content:encoded><![CDATA[<p>MySQLの5.5.16がRemiレポジトリよりリリースされていたのでアップデート。</p>
<pre>(1/12): mysql-5.5.16-1.el6.remi.x86_64.rpm                         | 5.7 MB
(2/12): mysql-devel-5.5.16-1.el6.remi.x86_64.rpm                   | 152 kB
(3/12): mysql-libs-5.5.16-1.el6.remi.x86_64.rpm                    | 757 kB
(4/12): mysql-server-5.5.16-1.el6.remi.x86_64.rpm                  |  10 MB
(5/12): php-5.3.8-4.el6.remi.x86_64.rpm                            | 2.3 MB
(6/12): php-cli-5.3.8-4.el6.remi.x86_64.rpm                        | 2.2 MB
(7/12): php-common-5.3.8-4.el6.remi.x86_64.rpm                     | 844 kB
(8/12): php-gd-5.3.8-4.el6.remi.x86_64.rpm                         | 131 kB
(9/12): php-mbstring-5.3.8-4.el6.remi.x86_64.rpm                   | 894 kB
(10/12): php-mcrypt-5.3.8-4.el6.remi.x86_64.rpm                    |  39 kB
(11/12): php-mysql-5.3.8-4.el6.remi.x86_64.rpm                     |  80 kB
(12/12): php-pdo-5.3.8-4.el6.remi.x86_64.rpm                       | 106 kB</pre>
<p>PHP関連も修正が入っていたみたいなので併せて実行</p>
<p>DB自体をアップグレード</p>
<pre>[root@centos ~]# mysql_upgrade -u root -p</pre>
<p>MySQLの再起動</p>
<pre>[root@centos ~]# /etc/rc.d/init.d/mysqld restart
mysqld を停止中:                                           [  OK  ]
mysqld を起動中:                                           [  OK  ]</pre>
<p>バージョン確認</p>
<pre>[root@centos ~]# rpm -q mysql
mysql-5.5.16-1.el6.remi.x86_64</pre>
<p>MySQL5.5.16更新内容 »» <a href="http://dev.mysql.com/doc/refman/5.5/en/news-5-5-16.html" title="D.1.1. Changes in MySQL 5.5.16 (15 September 2011)">D.1.1. Changes in MySQL 5.5.16 (15 September 2011)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2011/09221746.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP5.3.8にアップデート</title>
		<link>http://www.dxcode.com/archives/2011/08251697.html</link>
		<comments>http://www.dxcode.com/archives/2011/08251697.html#comments</comments>
		<pubDate>Thu, 25 Aug 2011 06:37:53 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[CentOS6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Remi]]></category>
		<category><![CDATA[アップデート]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/?p=1697</guid>
		<description><![CDATA[PHP5.3.7のリリース後5日目でのアップデート｡ バグフィックスなので当環境もアップデートした｡ PHP5.3.8のアップデート内容 >> PHP 5.3.8 Released!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dxcode.com/wp-content/uploads/2011/08/php538.png" class="highslide" onclick="return hs.expand(this)"><img src="http://www.dxcode.com/wp-content/uploads/2011/08/php538.png" alt="" title="php538" width="430" height="75" class="alignnone size-full wp-image-1700" /></a></p>
<p>PHP5.3.7のリリース後5日目でのアップデート｡<br />
バグフィックスなので当環境もアップデートした｡</p>
<p>PHP5.3.8のアップデート内容<br />
>> <a title="PHP 5.3.8 Released!" href="http://news.php.net/php.announce/86">PHP 5.3.8 Released!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2011/08251697.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP5.3.7にアップデート</title>
		<link>http://www.dxcode.com/archives/2011/08201688.html</link>
		<comments>http://www.dxcode.com/archives/2011/08201688.html#comments</comments>
		<pubDate>Fri, 19 Aug 2011 22:52:38 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[CentOS6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Remi]]></category>
		<category><![CDATA[アップデート]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/?p=1688</guid>
		<description><![CDATA[PHP5.3.7がリリースされていたのでアップデート。 CentOS6も標準パッケージで5.3.2が利用可能だがアップデートが遅かったり殆どないのでPHPインストール時にRemiレポジトリを利用していた。 今回当環境でア [...]]]></description>
			<content:encoded><![CDATA[<p>PHP5.3.7がリリースされていたのでアップデート。<br />
CentOS6も標準パッケージで5.3.2が利用可能だがアップデートが遅かったり殆どないのでPHPインストール時にRemiレポジトリを利用していた。</p>
<p>今回当環境でアップデートされたパッケージ</p>
<pre>
==========================================================================================
 Package                  Arch           Version                       Repository    Size
==========================================================================================
Updating:
 p7zip                    x86_64         9.20.1-2.el6                  epel         624 k
 php                      x86_64         5.3.7-1.el6.remi              remi         2.4 M
 php-cli                  x86_64         5.3.7-1.el6.remi              remi         2.2 M
 php-common               x86_64         5.3.7-1.el6.remi              remi         837 k
 php-eaccelerator         x86_64         1:0.9.6.1-8.el6.remi          remi         110 k
 php-gd                   x86_64         5.3.7-1.el6.remi              remi         131 k
 php-mbstring             x86_64         5.3.7-1.el6.remi              remi         893 k
 php-mcrypt               x86_64         5.3.7-1.el6.remi              remi          38 k
 php-mysql                x86_64         5.3.7-1.el6.remi              remi         123 k
 php-pdo                  x86_64         5.3.7-1.el6.remi              remi         105 k

Transaction Summary
==========================================================================================
</pre>
<p>インストール完了後httpdを再起動しPHPのバージョン確認</p>
<pre># /etc/rc.d/init.d/httpd restart
httpd を停止中:                                            [  OK  ]
httpd を起動中:                                            [  OK  ]
# php -v
PHP 5.3.7 (cli) (built: Aug 18 2011 19:54:18)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator</pre>
<p>Remiリポジトリの追加は下記参照<br />
>> <a title="リポジトリを追加 -Les RPM de Remi-" href="http://www.dxcode.com/archives/2009/0209254.php">リポジトリを追加 -Les RPM de Remi-</a></p>
<p>PHP5.3.7のアップデート内容<br />
>> <a title="PHP 5.3.7 Released!" href="http://news.php.net/php.announce/84">PHP 5.3.7 Released!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2011/08201688.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>自宅サーバに移転</title>
		<link>http://www.dxcode.com/archives/2011/08161672.html</link>
		<comments>http://www.dxcode.com/archives/2011/08161672.html#comments</comments>
		<pubDate>Tue, 16 Aug 2011 02:56:02 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[CentOS6]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[自宅サーバ]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/?p=1672</guid>
		<description><![CDATA[CentOS6で構築した自宅サーバに移転しました。 2年契約していたBlueHostのレンタル期間の終了が近いのと余っているハードの有効活用です。節電が求められているこの時期に何やってるの？と思わないでもないが・・・。  [...]]]></description>
			<content:encoded><![CDATA[<p>CentOS6で構築した自宅サーバに移転しました。<br />
2年契約していたBlueHostのレンタル期間の終了が近いのと余っているハードの有効活用です。節電が求められているこの時期に何やってるの？と思わないでもないが・・・。</p>
<pre>
# cat /etc/redhat-release
CentOS Linux release 6.0 (Final)</pre>
<p>サーバ構築はほぼ下記サイトの通りとした<br />
<a href="http://scientificsrv.com/" title="Scientific Linuxで自宅サーバー構築">Scientific Linuxで自宅サーバー構築</a><br />
当初CentOSで自宅サーバー構築（centOS5）を参考にしていたが、色々とエラーが出たりうまく動作しなかったので同じRHEL6のクローンであるScientific Linux6での構築手順通りにしたら問題なく動作した。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2011/08161672.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS ディスク管理 温度確認</title>
		<link>http://www.dxcode.com/archives/2011/05141558.html</link>
		<comments>http://www.dxcode.com/archives/2011/05141558.html#comments</comments>
		<pubDate>Fri, 13 May 2011 22:49:18 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[CentOS5]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[ハードディスク]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/?p=1558</guid>
		<description><![CDATA[hddtempを利用してディスクの温度確認 標準では組込まれていないのでyumでインストール # yum install hddtemp 結果 Running Transaction Installing : hddte [...]]]></description>
			<content:encoded><![CDATA[<p>hddtempを利用してディスクの温度確認<br />
標準では組込まれていないのでyumでインストール</p>
<pre> # yum install hddtemp</pre>
<p>結果</p>
<blockquote><p>Running Transaction<br />
  Installing     : hddtemp                                                            1/1<br />
Installed:<br />
  hddtemp.x86_64 0:0.3-0.16.beta15.el5<br />
Complete!</p></blockquote>
<p>確認コマンドは</p>
<pre># hddtemp /dev/sda
/dev/sda: WDC WD5000AAKX-001CA0: 36°C
# hddtemp /dev/sdb
/dev/sdb: WDC WD5000AAKX-001CA0: 33°C</pre>
<p>全く問題のないレベル</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2011/05141558.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL5.5 default-character-set 廃止</title>
		<link>http://www.dxcode.com/archives/2011/04281527.html</link>
		<comments>http://www.dxcode.com/archives/2011/04281527.html#comments</comments>
		<pubDate>Wed, 27 Apr 2011 22:31:07 +0000</pubDate>
		<dc:creator>kecha</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[最適化]]></category>

		<guid isPermaLink="false">http://www.dxcode.com/?p=1527</guid>
		<description><![CDATA[MySQLを5.1から5.5にアップデートしたら起動でこけた。 どうやらdefault-character-setが廃止になりcharacter-set-serverに変わったみたい。 /etc/my.cnf の[mys [...]]]></description>
			<content:encoded><![CDATA[<p>MySQLを5.1から5.5にアップデートしたら起動でこけた。<br />
どうやらdefault-character-setが廃止になりcharacter-set-serverに変わったみたい。</p>
<p>/etc/my.cnf の[mysqld]項目を変更すれば問題なく起動した。</p>
<blockquote><p>[mysqld]<br />
#default-character-set = utf8  ← 無効化<br />
<strong>character-set-server = utf8</strong>  ← 追加<br />
datadir=/var/lib/mysql<br />
socket=/var/lib/mysql/mysql.sock<br />
user=mysql<br />
# Disabling symbolic-links is recommended to prevent assorted security risks<br />
symbolic-links=0</p>
<p># To enable the InnoDB Plugin, uncomment the 2 next lines<br />
#ignore-builtin-innodb<br />
#plugin-load=innodb=ha_innodb_plugin.so</p>
<p># To enable InnoDB-related INFORMATION_SCHEMA tables<br />
# Join the following options to above directive<br />
  ;innodb_trx=ha_innodb_plugin.so<br />
  ;innodb_locks=ha_innodb_plugin.so<br />
  ;innodb_cmp=ha_innodb_plugin.so<br />
  ;innodb_cmp_reset=ha_innodb_plugin.so<br />
  ;innodb_cmpmem=ha_innodb_plugin.so<br />
  ;innodb_cmpmem_reset=ha_innodb_plugin.so</p>
<p>key_buffer_size=512MB<br />
table_cache=1024<br />
max_allowed_packet=1MB<br />
long_query_time=1<br />
sort_buffer_size=2MB</p></blockquote>
<p>起動後は使用していたデータベース自体もアップデート必要なので下記コマンド実行。</p>
<pre># mysql_upgrade -u root -p</pre>
<p>my.cnfaにある最下段のチューニング項目は5.1時代のものなのでこのままでOKなのかは不明だが今のところ問題なく動作している。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dxcode.com/archives/2011/04281527.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

