ログイン
編集不可のページディスカッション情報添付ファイル

2011-03-22 19:00:16時点のリビジョン12

メッセージを消す
yamazaki/note/windows

MMA

Windows Server 2008 R2の活用


部誌みたいに見やすい感じに整形してみたり。 2011/3/22


端書

Windows Serverを手に入れるには、どうすればいいのだろうか。
Microsoft Windows Server 2008 R2 Standard を普通に買うと、アカデミックですら60,000JPYとなる。
だが、運良く大学生協前で怪しげなライセンス等を配布していることがある。
それを手にいれれば、無料で手に入れられる。日時は完全に運なので、情報網を広げておこう。

25th February 2011 「構築中サーバ」

基本設定

Internet Information Server


26th February 2011 「全世界ナイトメア」

ドメイン (Domain)

DNS (Domain Name System)

ページの公開


27th February 2011 「計算機遠隔操作術(リモートデスクトップ)」

基本的なリモートデスクトップの設定

ホスト側

クライアント側

PT2

OSI参照モデル


3rd March 2011 「哀愁の青色SCREEN襲来」

DL

データベース作成

mysql -u user名 -p

mysql > CREATE DATABASE wordpress;

mysql> GRANT ALL PRIVILEGES ON *.* TO user名@localhost IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;

wp-config.php

define(‘DB_NAME’, ‘database_name_here’);

define(‘DB_USER’, ‘username_here‘);

define(‘DB_PASSWORD’, ‘password_here‘);

ハンドラマッピング

アプリケーションプールの設定

php.ini

; On windows:
 extension_dir = "C:\php5\ext"

fastcgi.impersonate = 1

cgi.fix_pathinfo=1

cgi.force_redirect = 0

extension=php_mysql.dll


お使いのサーバーの PHP では WordPress に必要な MySQL 拡張を利用できないようです。



extension=php_gd2.dll

extension=php_mbstring.dll

date.timezone="Asia/Tokyo"

Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for '9.0/no DST' instead in C:\inetpub\wwwroot\phpinfo.php on line 1


一度以下の文字列を info.php として保存して、wwwrootフォルダに入れ、ブラウザから開く。

<?php phpinfo() ?>

WordPress INSTALL


4th March 2011 「リンガリングフリーズ、アンデュレイションエラー」

ディレクトリ変更

規定のドキュメント

<remove value="index.php" />

プラグイン関連

extension=php_curl.dll