<?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>perlとMysqlでCGI &#38; サーバ管理 漏れ的メモ &#187; CentOS4.x</title>
	<atom:link href="http://perl.no-tubo.net/category/linux/centos4-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://perl.no-tubo.net</link>
	<description>perl＆MySQLでCGIプログラミング。ウェブ運営の小技。鯖管メモもちょっとだけ。</description>
	<lastBuildDate>Fri, 10 Sep 2010 00:38:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>centos4.8 に PostgreSQL8.4 をyumでインストール</title>
		<link>http://perl.no-tubo.net/2010/08/17/centos4-8-%e3%81%ab-postgresql8-4-%e3%82%92yum%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://perl.no-tubo.net/2010/08/17/centos4-8-%e3%81%ab-postgresql8-4-%e3%82%92yum%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 03:34:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS4.x]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[インストールメモ]]></category>
		<category><![CDATA[centOS]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=597</guid>
		<description><![CDATA[PGDGレポジトリを追加する
純正レポジトリに postgresql を上書きされない様に無効化しておく。
/etc/yum.repos.d/CentOS-Base.repo を編集のうえ、[base]と[update] [...]]]></description>
			<content:encoded><![CDATA[<h3>PGDGレポジトリを追加する</h3>
<p>純正レポジトリに postgresql を上書きされない様に無効化しておく。<br />
/etc/yum.repos.d/CentOS-Base.repo を編集のうえ、[base]と[update]のそれぞれのセクションに、<br />
exclude=postgresql*<br />
を追記する。</p>
<p>http://yum.pgsqlrpms.org/reporpms/repoview/letter_p.group.html<br />
から対象OS＆バージョンを選んでRPMをダウンロード</p>
<pre>wget http://yum.pgsqlrpms.org/reporpms/8.4/pgdg-centos-8.4-2.noarch.rpm
rpm -ivh pgdg-centos-8.4-2.noarch.rpm</pre>
<p>/etc/yum.repos.d/pgdg-84-centos.repo が作成される。</p>
<pre># cat /etc/yum.repos.d/pgdg-84-centos.repo
[pgdg84]
name=PostgreSQL 8.4 $releasever - $basearch
baseurl=http://yum.pgsqlrpms.org/8.4/redhat/rhel-$releasever-$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG

[pgdg84-source]
name=PostgreSQL 8.4 $releasever - $basearch - Source
failovermethod=priority
baseurl=http://yum.pgsqlrpms.org/srpms/8.4/redhat/rhel-$releasever-$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG</pre>
<p>必要なpostgresqlのパッケージをインストール＆アップデート。</p>
<pre># yum install postgresql postgresql-server postgresql-devel compat-postgresql-libs postgresql-libs postgresql-contrib</pre>
<blockquote><p>&#8211;&gt; Running transaction check<br />
&#8211;&gt; Processing Dependency: libpq.so.4 for package: perl-DBD-Pg<br />
&#8211;&gt; Finished Dependency Resolution<br />
Error: Missing Dependency: libpq.so.4 is needed by package perl-DBD-Pg</p></blockquote>
<p>エラーが出てインストール出来ない。</p>
<p><a href="http://blog.motoo.net/2009/03/13/172626">http://blog.motoo.net/2009/03/13/172626</a><br />
を見て、パッケージを削除しているので試す。</p>
<pre># yum remove perl-DBD-Pg</pre>
<p>再度インストールを試すと、どうやら成功した。</p>
<h3>データベースを初期化</h3>
<pre># service postgresql initdb</pre>
<p>/var/lib/pgsql/pgstartup.log を見てエラーが起きていないことを確認。<br />
前バージョンの古いデータがあると失敗する。</p>
<p>データディレクトリは /var/lib/pgsql/data<br />
設定ファイル /var/lib/pgsql/data/postgresql.conf</p>
<p>サービス開始</p>
<pre># service postgresql start</pre>
<p>自動起動の設定</p>
<pre># chkconfig postgresql on</pre>
<p>自動起動の確認（ランレベル2～5のonを確認）</p>
<pre># chkconfig --list postgresql
postgresql          	0:off	1:off	2:on	3:on	4:on	5:on	6:off</pre>
<p>参考：<a href="http://a98.jugem.jp/?eid=372">CentOS 5.3 に postgresql-8.4 をインストール | お試しlog4</a></p>
<p>認証方式<br />
デフォルトではパスワードによる接続は出来ない。<br />
postgresユーザー パスワードの設定<br />
/var/lib/pgsql/data/postgresql.conf<br />
/var/lib/pgsql/data/pg_hba.conf</p>
<p>参照：<a href="http://safe-linux.homeip.net/web/PostgreSQL/01-setup.html">PostgreSQL Server のセットアップ ～ CentOS-4.5</a></p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/08/17/centos4-8-%e3%81%ab-postgresql8-4-%e3%82%92yum%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl の環境変数 $ENV{PATH} の初期値はどこを参照しているのか？</title>
		<link>http://perl.no-tubo.net/2010/06/30/perl-%e3%81%ae%e7%92%b0%e5%a2%83%e5%a4%89%e6%95%b0-envpath-%e3%81%ae%e5%88%9d%e6%9c%9f%e5%80%a4%e3%81%af%e3%81%a9%e3%81%93%e3%82%92%e5%8f%82%e7%85%a7%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e3%81%ae/</link>
		<comments>http://perl.no-tubo.net/2010/06/30/perl-%e3%81%ae%e7%92%b0%e5%a2%83%e5%a4%89%e6%95%b0-envpath-%e3%81%ae%e5%88%9d%e6%9c%9f%e5%80%a4%e3%81%af%e3%81%a9%e3%81%93%e3%82%92%e5%8f%82%e7%85%a7%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e3%81%ae/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 04:08:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS4.x]]></category>
		<category><![CDATA[CentOS5.x]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=628</guid>
		<description><![CDATA[Perl の $ENV{PATH} は何処を参照しているのか？
例えば bayon を perl から使うのに Text::Bayon モジュールを利用したら
sh: bayon: command not found
と [...]]]></description>
			<content:encoded><![CDATA[<h3>Perl の $ENV{PATH} は何処を参照しているのか？</h3>
<p>例えば bayon を perl から使うのに Text::Bayon モジュールを利用したら<br />
sh: bayon: command not found<br />
と言うエラーログが残る。</p>
<p>コマンドが見つからない = パスが通っていない、と言う事なんだろうけど、apache を2.2 にしたらパスが変わったのか apache2.0 の時に使えた Lingua::JA::Summarize を使用するスクリプトも</p>
<p>sh: mecab: command not found</p>
<p>となる。</p>
<p>mecab も bayon も /usr/local/bin にインストールしてあるのだけれど、$ENV{PATH} を調べてみると、<br />
$ENV{PATH} = /sbin:/usr/sbin:/bin:/usr/bin<br />
となっており、/usr/local/bin にはパスが通っていない。</p>
<p>この 環境変数はどこを参照しているのかまさに以下のページのような迷い方をした。</p>
<blockquote><p>apacheの起動ユーザーにPATH通しときゃいいのか？とか、httpd.confにそういう設定が？とか、もしかしてPHP.iniにそんな設定が？とか思ってたんですが、全部ハズレ。</p></blockquote>
<p><a href="http://d.hatena.ne.jp/masahi6/20090720/1248081907">Apache2の環境変数PATHを設定する &#8211; masahilog</a></p>
<p>SetEnvやPassEnvディレクティブを追加してみたり、. bash_profile を変更したり、散々いろいろ試してみたけど、上記ページのおかげでヒントが得られたのでメモ。</p>
<blockquote><p>CentOS系（というかRedhat系、だろうか）は/etc/sysconfig/httpdがそれに該当するような。探しても調べてもenvvarsの影も形も無かったけど、/etc/init.d/httpdの冒頭箇所で/etc/sysconfig/httpdがあったらそれを評価してからhttpdが起動するようになってる。なんでこんな仕様なんだろうか。</p></blockquote>
<p>追記でこのように書かれていたのだけれど、/etc/rc.d/init.d/httpd を見てみると、 /etc/sysconfig/httpd のみではなく、 /etc/rc.d/init.d/functions も参照している。</p>
<p>/etc/rc.d/init.d/functions を見ると、ビンゴでした。</p>
<pre># Set up a default search path.
PATH="/sbin:/usr/sbin:/bin:/usr/bin"
export PATH</pre>
<p>ここのパスを変更して、保存。</p>
<p>注意点としては、apache を再起動ではなく 停止してから起動する事。<br />
再起動では反映されませんでした。</p>
<p>ちなみに CentOS （4.x 5.x） での話ですので他のディストリビューションでは違うかもしれません。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/06/30/perl-%e3%81%ae%e7%92%b0%e5%a2%83%e5%a4%89%e6%95%b0-envpath-%e3%81%ae%e5%88%9d%e6%9c%9f%e5%80%a4%e3%81%af%e3%81%a9%e3%81%93%e3%82%92%e5%8f%82%e7%85%a7%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e3%81%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centOS4.8 apache2.0.x を apache 2.2.15 へ yum でアップデート</title>
		<link>http://perl.no-tubo.net/2010/06/16/centos4-8-apache2-0-x-%e3%82%92-apache-2-2-15-%e3%81%b8-yum-%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/</link>
		<comments>http://perl.no-tubo.net/2010/06/16/centos4-8-apache2-0-x-%e3%82%92-apache-2-2-15-%e3%81%b8-yum-%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 11:33:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS4.x]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[インストールメモ]]></category>
		<category><![CDATA[httpd]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=569</guid>
		<description><![CDATA[utterramblings レポジトリを使い apache を2.2.15 へ yum でアップデートする。
phpも5.2.13 へアップデートされる。
remiレポジトリでもいいけど PHPが5.3になってしまうの [...]]]></description>
			<content:encoded><![CDATA[<p>utterramblings レポジトリを使い apache を2.2.15 へ yum でアップデートする。<br />
phpも5.2.13 へアップデートされる。<br />
remiレポジトリでもいいけど PHPが5.3になってしまうので。</p>
<h2>utterramblingsレポジトリ追加</h2>
<pre># rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka</pre>
<p>/etc/yum.repos.d/CentOS-Base.repo の一番最後に追記する。</p>
<pre># vi /etc/yum.repos.d/CentOS-Base.repo

[utterramblings]
name=Jason Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
priority=1</pre>
<h2>apache をアップデート</h2>
<pre># yum --enablerepo=utterramblings update httpd</pre>
<p>設定ファイルはそのままでは使えないので適時修正する事。<br />
新しいファイル<br />
/etc/httpd/conf/httpd.conf.rpmnew<br />
/etc/httpd/conf.d/ssl.conf.rpmnew<br />
を元にして両方を修正。</p>
<h3>PHP関連のインストール</h3>
<p>php も5.2.13 にアップデートされるので関連するものをアップデートもしくはインストール。<br />
phpMyAdmin で</p>
<blockquote><p>mcrypt 拡張をロードできません。PHP の設定を確認してください</p></blockquote>
<p>と言うエラーが出るので php-mcrypt をアップデート。。</p>
<pre>yum --enablerepo=utterramblings update php-mcrypt</pre>
<h4>httpd-devel が必要だったのでインストール</h4>
<pre>yum --enablerepo=utterramblings install httpd-devel</pre>
<h4>DOMを使ってXMLを操作したいので php-xml をインストール</h4>
<pre>yum --enablerepo=utterramblings install php-xml</pre>
<p>参考：<a href="http://d.hatena.ne.jp/rytich/20100330/1269936570">http://d.hatena.ne.jp/rytich/20100330/1269936570</a><br />
5.3へのアップデートも書かれている。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/06/16/centos4-8-apache2-0-x-%e3%82%92-apache-2-2-15-%e3%81%b8-yum-%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centos4.8のphp4.xをyumでphp5.1.6にアップデート</title>
		<link>http://perl.no-tubo.net/2010/05/24/centos4-8%e3%81%aephp4-x%e3%82%92yum%e3%81%a7php5-1-6%e3%81%ab%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/</link>
		<comments>http://perl.no-tubo.net/2010/05/24/centos4-8%e3%81%aephp4-x%e3%82%92yum%e3%81%a7php5-1-6%e3%81%ab%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/#comments</comments>
		<pubDate>Mon, 24 May 2010 05:19:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS4.x]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[centOS]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=472</guid>
		<description><![CDATA[ケース１
すでにyumでphp4がインストール済みのcentos4.8にphp5.1.6をインストールする方法です。
*centosplusリポジトリの追加は行ってある前提です。
# yum --enablerepo=c [...]]]></description>
			<content:encoded><![CDATA[<h2>ケース１</h2>
<p>すでにyumでphp4がインストール済みのcentos4.8にphp5.1.6をインストールする方法です。<br />
*centosplusリポジトリの追加は行ってある前提です。</p>
<pre># yum --enablerepo=centosplus update php</pre>
<p>としてもエラーで進まない。</p>
<blockquote><p>Transaction Check Error:   file /etc/my.cnf from install of mysql-libs-5.0.82sp1-1.el4_8 conflicts with file from package mysql-4.1.22-2.el4_8.3</p></blockquote>
<p>php-pear-1.4.11 をインストールする必要があるようだ。</p>
<pre># yum --enablerepo=centosplus install php-pear-1.4.11</pre>
<p>同時にphp5.1.6もアップデートされる。</p>
<p>参考：<br />
<a href="http://wankopc.blog65.fc2.com/blog-entry-5.html">http://wankopc.blog65.fc2.com/blog-entry-5.html</a></p>
<h2>ケース２</h2>
<p>web用として使っているサーバはケース１でインストール出来たのだけれど、DB用として使っているサーバはなぜかエラーが出る。</p>
<p>Error: Missing Dependency: libmysqlclient.so.15(libmysqlclient_15) is needed by package php-mysql</p>
<p><span style="text-decoration: line-through;">php-mysqlが問題でのエラーらしい。<br />
</span> <a href="http://perl.no-tubo.net/category/サーバ管理/guiツール/phpmyadmin/"><span style="text-decoration: line-through;">http://perl.no-tubo.net/category/サーバ管理/guiツール/phpmyadmin/<br />
</span> </a><span style="text-decoration: line-through;"> この記事で扱ったphp-mbstringが原因か？？</span></p>
<p><span style="text-decoration: line-through;">原因は分からず。</span></p>
<p>libmysqlclient.so.15 は MySQL-shared-VERSION.i386.rpm に含まれるものらしい。<br />
DBサーバは Toritonn(MySQL5.067) をソースからインストールしたので別途インストールが必要。</p>
<p><a href="http://sourceforge.jp/projects/tritonn/releases/?package_id=6742">http://sourceforge.jp/projects/tritonn/releases/?package_id=6742<br />
</a>から MySQL-shared-5.0.67-tritonn.1.0.12.i386.rpm をダウンロードしてインストールすれば libmysqlclient.so.15 もインストールされる。</p>
<pre># wget http://iij.dl.sourceforge.jp/tritonn/44615/MySQL-shared-5.0.87-tritonn.1.0.12a.i386.rpm
# rpm -ivh MySQL-shared-5.0.87-tritonn.1.0.12a.i386.rpm</pre>
<p>その後に php5.1.6 をインストール</p>
<pre># yum --enablerepo=centosplus install php-pear-1.4.11</pre>
<h2>その後</h2>
<p>postgreSQL は8.4 をインストールしたのだけれど、php から操作するのには php-pgsql が必要。<br />
php-pgsql をインストールしようとしたら libpg.so.4 がないといわれインストール出来ない。</p>
<p><a href="http://wdsdx.com/centos_php_pgsql">http://wdsdx.com/centos_php_pgsql</a><br />
を読むとどうやら postgreSQL8.1系の postgresql-libs に含まれるらしい。</p>
<p>php5.2へアップグレードしないとか…な？</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/05/24/centos4-8%e3%81%aephp4-x%e3%82%92yum%e3%81%a7php5-1-6%e3%81%ab%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS4.8へphpmyadminをインストール</title>
		<link>http://perl.no-tubo.net/2009/09/28/centos4-8%e3%81%b8phpmyadmin%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://perl.no-tubo.net/2009/09/28/centos4-8%e3%81%b8phpmyadmin%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 08:54:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS4.x]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://pet.no-tubo.net/?p=162</guid>
		<description><![CDATA[(1)phpmyadminインストール
yum install phpmyadmin
/usr/share/phpmyadmin にインストールされる。
/usr/share/phpmyadmin/config.inc. [...]]]></description>
			<content:encoded><![CDATA[<p>(1)phpmyadminインストール</p>
<blockquote><p>yum install phpmyadmin</p></blockquote>
<p>/usr/share/phpmyadmin にインストールされる。<br />
/usr/share/phpmyadmin/config.inc.phpを編集<br />
$cfg['blowfish_secret']を設定。</p>
<blockquote><p>vi /usr/share/phpmyadmin/config.inc.php</p>
<p>/*<br />
* This is needed for cookie based authentication to encrypt password in<br />
* cookie<br />
*/<br />
$cfg['blowfish_secret'] = &#8216;<span style="color: #ff0000;">*************</span>&#8216;; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */</p></blockquote>
<p>(2)「mcrypt 拡張をロードできません。PHP の設定を確認してください」というエラーへの対処。<br />
以下は yum でインストール出来る（2010-05-31修正）</p>
<pre># yum --enablerepo=centosplus install php-mcrypt</pre>
<p>* centosplusレポジトリのインストールが必要</p>
<blockquote><p>yum -y install php-mbstring</p></blockquote>
<p>※phpでマルチバイト処理をするには「php-mbstring」が必要<br />
phpのバージョンを調べる</p>
<blockquote><p># php -v</p>
<p>PHP 4.3.9 (cgi) (built: Jun 1 2009 14:58:08)<br />
Copyright (c) 1997-2004 The PHP Group<br />
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies</p></blockquote>
<p>php-mcrypt　を <a href="http://rpm.pbone.net/">http://rpm.pbone.net/</a> で探す。<br />
キーワード「php-mcrypt」RedHat EL 4 にチェックを入れサーチ。</p>
<p>RedHat EL 4 ftp.sourceforge.net/pub/sourceforge/p/project/ph/phprpms/RHEL4 PHP RPMs/4.3.9-3.2/php-mcrypt-4.3.9-3.2.1.i386.rpm<br />
<a href="http://rpm.pbone.net/index.php3/stat/4/idpl/12753489/com/php-mcrypt-4.3.9-3.2.1.i386.rpm.html"> http://rpm.pbone.net/index.php3/stat/4/idpl/12753489/com/php-mcrypt-4.3.9-3.2.1.i386.rpm.html</a></p>
<p>ダウンロード＆インストール</p>
<blockquote><p># wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/p/project/ph/phprpms/RHEL4%20PHP%20RPMs/4.3.9-3.2/php-mcrypt-4.3.9-3.2.1.i386.rpm</p>
<p>rpm -ivh php-mcrypt-4.3.9-3.2.1.i386.rpm</p></blockquote>
<p>(3)Apacheの設定。<br />
※デフォルトではローカルからしか接続出来ない。<br />
/etc/httpd/conf.d/phpmyadmin.conf が作成されるので適時修正。</p>
<blockquote><p>vi /etc/httpd/conf.d/phpmyadmin.conf</p>
<p>#<br />
#  Web application to manage MySQL<br />
#</p>
<p>Order Deny,Allow<br />
Deny from all<br />
Allow from 127.0.0.1<br />
Allow from all  ←追加</p>
<p>Alias /phpmyadmin /usr/share/phpmyadmin<br />
Alias /phpMyAdmin /usr/share/phpmyadmin<br />
Alias /mysqladmin /usr/share/phpmyadmin</p></blockquote>
<p>Apache再起動。</p>
<p>http://xxxx.xx.xx/phpmyadmin/で確認。</p>
<p>※上記設定だと誰でもアクセス可能なので後で直す事。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2009/09/28/centos4-8%e3%81%b8phpmyadmin%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
