¥­¡¼¥ï¡¼¥É  

B-CITY¤Ç£È£Ä£Ä¤ò¹ØÆþ¤¹¤ì¤Ð
FreeBSD¤¬¥¤¥ó¥¹¥È¡¼¥ëºÑ¤ß
¤¢¤Ê¤¿¤Î¥Þ¥·¥ó¤Ë¤Ä¤±¤ë¤À¤±


¡ù ¥«¥Æ¥´¥ê¡¼ ¡ù
  ½ø¾Ï
  Æ°ºî´Ä¶­
  ¥¤¥ó¥¹¥È¡¼¥ë
    ¨§OS
    ¨§¥í¥°¥¤¥ó
    ¨§Webmin¥µ¡¼¥Ð¡¼
    ¨§SSH¥µ¡¼¥Ð¡¼
    ¨§Web¥µ¡¼¥Ð¡¼
    ¨§Mail¥µ¡¼¥Ð¡¼
    ¨§DB¥µ¡¼¥Ð¡¼
    ¨§FTP¥µ¡¼¥Ð¡¼
    ¨§¥Õ¥¡¥¤¥ë¥µ¡¼¥Ð¡¼
    ¨§Usermin
    ¨¦  ¤½¤Î¾
  ÀßÄê
  Webmin¤Ç¤ÎÀßÄê
  ¥Á¥å¡¼¥Ë¥ó¥°
  ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à
  ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¡¼
  ¥¹¥¯¥ê¥×¥È¸À¸ì
  ¥·¥¹¥Æ¥à´ÉÍý
  ¥Ç¥¹¥¯¥È¥Ã¥×¥¢¥×¥ê¥±¡¼¥·¥ç¥ó
  ¥µ¡¼¥Ð¡¼¥µ¥¤¥É¥¢¥×¥ê¥±¡¼¥·¥ç¥ó
  ¥³¥Þ¥ó¥É
  °õºþ
  ¥·¥§¥ë¡¦¥·¥§¥ë¥¹¥¯¥ê¥×¥È
  Íî½ñ¤­
  È÷¹Í
  ´ðËÜÁàºî
  ¼«Â𥵡¼¥Ð¡¼
  PHP5.2.6¤Î¥¤¥ó¥¹¥È¡¼¥ë
   Ìá¤ë


¥ª¥×¥·¥ç¥ó¤ÎÀßÄê¤ò¤·¤¿¤¤¤Î¤Ç

¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¡£

³°¹ñι¹Ô¤ËÆüËܤΥƥì¥Ó¤òÏ¢¤ì¤Æ¹Ô¤³¤¦¡£

¥Í¥Ã¥È´Ä¶­¤µ¤¨¤¢¤ì¤Ð¡¢¤É¤³¤«¤é¤Ç¤â¡¡¥Æ¥ì¥Ó¤¬¸«¤¨¤Þ¤¹¡£

´Ñ¤ë¤À¤±¤Ç¤Ê¤¯¡¡Ï¿¤ë¡¡Áà¤ë¡¡Áàºî¤¹¤ë

¡¡¿·¤·¤¤¡¡À¸³è¤¬»Ï¤Þ¤ë¡ª¡ª

¡¡¡¡¡¡¡¡¡¡¥í¥±¡¼¥·¥ç¥ó¥Õ¥ê¡¼



¡¦¡¦¡¦´ÉÍý¥â¡¼¥ÉON¡¦¡¦¡¦

¥¤¥ó¥¹¥È¡¼¥ë
¤½¤Î¾

PHP5.2.6¤Î¥¤¥ó¥¹¥È¡¼¥ë

gd¤òÆþ¤ì¤Æ¤ª¤¯

# cd /cdrom/cdrom0/Solaris_Software_Companion/Solaris_i386/Packages/

# pkgadd -d `pwd` SFWgd



pkg-get¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ª¤­¤Þ¤¹¡£

# pkg-get -i gcc3 gmake flex bison gm4 autoconf automake gzip gtar gsed libtool libxml2

# pkg-get -i libxml2Ïɬ¿Ü¡br>

# mkdir /usr/local/src
# mkdir /usr/local/src/php5 <= ºî¶ÈÍѥǥ£¥ì¥¯¥È¥ê¤ÎºîÀ®
# chmod 777 /usr/local/src/php5 <= ºî¶ÈÍѥǥ£¥ì¥¯¥È¥ê¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥óÊѹ¹

% cd /usr/local/src/php5 <= ºî¶ÈÍѥǥ£¥ì¥¯¥È¥ê¤Ø°Üư
% wget http://jp.php.net/get/php-5.2.6.tar.bz2/from/this/mirror <= ¡ÖPHP5¡×¤Î¥½¡¼¥¹¤ò¥À¥¦¥ó¥í¡¼¥É
% bunzip2 -c php-5.2.6.tar.bz2 | tar xf - <= ¥À¥¦¥ó¥í¡¼¥É¤·¤¿¥Õ¥¡¥¤¥ë¤ÎŸ³«
% cd php-5.2.6 <= Ÿ³«¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ë°Üư

# ./configure --with-apxs2=/opt/csw/apache2/sbin/apxs
# ./configure --with-libxml-dir=/opt/csw/lib --with-apxs2=/usr/apache2/bin/apxs
# ./configure --with-apxs2=/usr/apache2/bin/apxs


# ./configure --with-apxs2=/usr/apache2/bin/apxs --enable-track-vars --enable-mbstring --enable-mbregex --enable-zend-multibyte --enable-gd-native-ttf --enable-gd-jis-conv --with-gd=/opt/csw --with-libxml-dir=/opt/csw

# ./configure --with-apxs2=/opt/csw/apache2/sbin/apxs --enable-track-vars --enable-mbstring --enable-mbregex --enable-zend-multibyte --enable-gd-native-ttf --enable-gd-jis-conv --with-gd=/opt/csw --with-libxml-dir=/opt/csw
¢¨¡¡apache¤Î¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥ì¥¯¥È¥ê¡¼¤ÎÌäÂê¡© make¤ÇÍî¤Á¤ë

# gmake

# gmake install




/opt/csw/php5 ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿



/opt/csw/apache2/etc/httpd.conf¤Ë²¼µ­¤ò³Îǧ

LoadModule php5_module libexec/libphp5.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps




# cp php.ini-dist /usr/local/lib/php.ini <= ¥µ¥ó¥×¥ëÀßÄê¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼









¥³¥ó¥Ñ¥¤¥ë¤ò¤ä¤êľ¤·¤¿¤¤

make distclean



# ./configure --with-apxs2=/usr/apache2/bin/apxs --enable-track-vars --enable-mbstring --enable-mbregex --enable-zend-multibyte --enable-gd-native-ttf --enable-gd-jis-conv --with-gd=/opt/csw --with-libxml-dir=/opt/csw


# ./configure --with-mysql=/usr/local/mysql --with-pdo-mysql=/usr/local/mysql
--with-apxs2=/usr/local/apache2/bin/apxs --enable-track-vars
--enable-mbstring --enable-mbregex --enable-zend-multibyte
--enable-gd-native-ttf --enable-gd-jis-conv
--with-gd=/usr/local --with-libxml-dir=/usr/local --with-freetype-dir=/usr/sfw





# make
# make install

¡ü PHP ¤Î½é´ü²½¥Õ¥¡¥¤¥ë¤ÎÀßÄê

# cp php.ini-dist /usr/local/lib/php.ini
# edit /usr/local/lib/php.ini

include_path = ".:/usr/local/lib/php"
...
output_handler = mb_output_handler
...
mbstring.language = Japanese
mbstring.internal_encoding = EUC-JP
mbstring.http_input = auto
mbstring.http_output = EUC-JP
mbstring.encoding_translation = On
mbstring.detect_order = auto
mbstring.substitute_character = none;
mbstring.func_overload = 0
mbstring.strict_encoding = Off







¥³¥ó¥Õ¥£¥°¥ª¥×¥·¥ç¥ó
% ./configure
--enable-calendar
--with-libxml-dir=/opt/csw/lib
--with-apxs2=/opt/csw/apache2/sbin/apxs
--enable-mailparse
--enable-mbstring
--enable-mbregex
--with-gd
--with-png-dir=/usr/local/lib
--with-jpeg-dir=/usr/local/lib
--with-zlib-dir=/usr/local/lib
--enable-sockets
--enable-ftp







Apache

# wget http://www.meisei-u.ac.jp/mirror/apache/httpd/httpd-2.2.9.tar.bz2
# tar zxvf httpd-2.2.4.tar.gz
# cd
# ./configure
# make































¡ù¡ù¡ù¡ù¡ù   ¤³¤ó¤Êµ­»ö¤â¤¢¤ê¤Þ¤¹¡£   ¡ù¡ù¡ù¡ù¡ù

webmin¡¡¤òÍøÍѤ¹¤ë
Soralis10¤Î¥¤¥ó¥¹¥È¡¼¥ë
apache2.0
Äɲå⥸¥å¡¼¥ë
MYSQL5¡¡¤Î¥¤¥ó¥¹¥È¡¼¥ë
wget
nkf
samba
¥¤¥ó¥×¥ì¥Ã¥·¥ç¥ó         ¥¤¥ó¥×¥ì¥Ã¥·¥ç¥ó¤ò½ñ¤¯

Copyright 2006B-CITY. All rights reserved.