phpMyAdminインストール
phpMyAdminのインストール法を説明しましょう。
http://www.phpmyadmin.net/home_page/index.php
↑からダウンロードしてきたphpMyAdmin-2.6.1-pl3.zipを解凍ソフトで解凍します。WindowsマシンからでOK。
config.inc.phpの編集をします。
80行目
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
の欄にMySQLのパスワードを入力します。
405行目
$cfg['DefaultCharset'] = 'iso-8859-1';
を$cfg['DefaultCharset'] = 'ja-sjis';に変更してください。
これで最低限の設定は終わりました。
あとはVineLinuxのFTPサーバーに接続し、
すべてのファイルをアップロードすれば動きます。
外部から操作されないように、アップロード先のディレクトリに
.htaccess ファイルを置いてください。
.htaccessファイルの内容は以下のようにします。
order deny,allow
deny from all
allow from 192.168.
allow from 127.0.0.1
これで外部からのアクセスは遮断されます。


- スポンサードリンク -