I-6 -WordPress in MacOSX- 8 j05017 j05027 j05038 j05064 2006 05 27 2006 05305
1 2 1.1.............................. 2 1.2................. 2 1.3 Web............... 2 1.4.............................. 2 2 3 2.1 apache............................... 3 2.2 PHP................................ 4 2.3 MySQL.............................. 4 2.4 WordPress............................. 5 3 WordPress 5 3.1 wp-config.php....................... 5 3.2 WordPress......................... 6 4 8 5 9 6 9 1
1 1.1 WordPress 1.2 8 j05017 j05027 j05038 j05064 1.3 Web 1.4 OS MacOSX 10.4 MacOSX 10.3 web Apache1.3 Apache2.0 PHP ver.5 MySQL ver.5 WordPress ver.2 2
2 2.1 apache web JAPAN APACHE USERS GROUP http://www.apache.jp/ MacOSX web http://www.apache.jp/ % tar xvfz httpd-2.2.0.tar.gz httpd-2.2.0 make % cd httpd-2.2.0 % /configure --prefix=$home/apache2 ~/apache2 make % make % make install % cd ~/apache2/conf % emacs -nw httpd.conf User, Group, ServerAdmin, ServerName User www Group www ServerAdmin j050xx@ie.u-ryukyu.ac.jp ServerName localhost:80 % sudo ~/apache2/bin/apachectl -k start % sudo ~/apache2/bin/apachectl -k stop http://localhost:80/ 3
2.2 PHP WordPress PHP http://www.php.gr.jp/ PHP http://www.php.gr.jp/ test.php localhost 1 test.php <?php phpinfo();?> 2.3 MySQL MySQL http://www.mysql.com/ http://www.mysql.com/ 1 apache /apache2/htdocs, /Sites 4
%sudo /Library/StartupItems/MySQL/MySQL start %sudo /Library/StartupItems/MySQL/MySQL stop %mysql mysql> 2.4 WordPress WordPressJapan http://wordpress.xwd.jp/ localhost 2 3 WordPress 3.1 wp-config.php wordpress/wp-config.php test root <?php mb_language("japanese"); mb_internal_encoding("euc-jp"); // ** MySQL settings ** // define( DB_NAME, test ); // The name of the database define( DB_USER, root ); // Your MySQL username define( DB_PASSWORD, ); //...and password define( DB_HOST, localhost ); // 99% chance you won t need to change this value // You can have multiple installations in one database if you give each a unique prefix $table_prefix = wp_ ; // Only numbers, letters, and underscores please! // Change this to localize WordPress. A corresponding MO file for the // chosen language must be installed to wp-includes/languages. // For example, install de.mo to wp-includes/languages and set WPLANG to de // to enable German language support. define ( WPLANG, mo_file ); /* That s all, stop editing! Happy blogging. */ define( ABSPATH, dirname( FILE ). / ); require_once(abspath. wp-settings.php );?> 2 /apache2/htdocs, /Sites 5
3.2 WordPress http://127.0.0.1/wordpress/ 1: install.php First Step >> 2: First Step First Step 6
3: Second Step 4: 5: 7
4 WordPress Dashboard Write Write Post Post Write Page Page Manage Posts Post Pages Page Categories Comments Awaiting Moderation (0) Files Links Manage Links Add Link Link Categories Import Links Presentation Themes Theme Editor Plugins Plugins Plugin Editor Users Your Profile Authors & Users Options General 8
Writing Reading Discussion Permalinks URL Miscellaneous Import WordPress post HTML page HTML Blogroll Archives Categories post Meta 5 WordPress PHP HTML Wiki theme WordPress Web PHP 6 MySQL 9
[1] slab1-web-programming http://www.nn.osnr.jp/ nagayan/index.php?slab1-web-programming [2] 1-3 : Make, CVS http://www.eva.ie.u-ryukyu.ac.jp/ tnal/2006/info1/make/index.html [3] WordPressJapan http://www.php.gr.jp/ [4] PHP http://wordpress.xwd.jp/ [5] PHP http://www.php.net/ [6] MySQL http://www.mysql.com/ [7] hiromasa zone http://hiromasa.zone.ne.jp/documents/xampp eclipse01.html [8] Apache Friends http://www.apachefriends.org/en/xampp.html 10