'Develop/Item'에 해당되는 글 3건

  1. freebsd network configuration 2008.12.12
  2. 프리비 설치순서 2008.12.09
  3. 프리비 핸드북 2008.12.09

freebsd network configuration

from Develop/Item 2008. 12. 12. 23:58

,

프리비 설치순서

from Develop/Item 2008. 12. 9. 23:45
FreeBSD 6.2 install in VMware

# install FreeBSD
1. Custom -> Workstation6 -> Other(FreeBSD) -> set position -> Two -> 512M ->
  NAT or bridge-> LSI Logic -> IDE -> 10G -> Finish



2. / 1G, /tmp 512M, /usr 2G, /var 2G, swp 512M, /home left space.

개발자버젼


3. /sbin/sysinstall -> network setting
네트워크환경 vmnet8
재부팅

sshd 설정
rc.conf sshd_enable="YES"
재부팅

4. /usr/ports/net/cvsup-without-gui install
cd cvsup-without-gui
make all install clean

5. ports_supfile : default host CHANGE_THIS.FreeBSD.org => cvsup.kr.FreeBSD.org modify..

6. /usr/local/bin/cvsup -g -L 2 ports-supfile

# mysql
1. cd /usr/ports/databases/mysql50-server/; make WITH_CHARSET=utf8 WITH_COLLATION=utf8_general_ci install clean
make WITH_CHARSET=euckr install clean
2. cp /usr/local/share/mysql/my-medium.cnf /etc/my.cnf

3. vi /etc/rc.conf -> mysql_enable="YES"

4. (in mysql-server) --datadir=${mysql_dbdir} --skip-character-set-client-handshake

(in my.cnf [mysqld])
language=/usr/local/share/mysql/korean/
default-character-set=euckr

5. /usr/local/etc/rc.d/mysql-server start

# apache2
1. cd/usr/ports/www/apache22/; make install clean

2. vi /etc/rc.conf -> apache22_enable="YES"

# php
1. cd /usr/ports/lang/php5-extentions/; make config; make install clean -> check apache

2. cp /usr/local/etc/php.ini-dist /usr/local/etc/php.ini

3. vi /usr/local/etc/apache22/httpd.conf
<IfModule php5_module>
AddType application/x-httpd-php .php .html .html
AddType application/x-httpd-php-source .phps
</IfModule>

4. apachectl configtest; apachectl restart

5. httpd.conf    LoadModule php5_module    libexec/apache22/libphp5.so
         <ifModule mime_module>
       AddType application/x-httpd-php .php .inc .h .phtml
       AddType application/x-httpd-php-source .phps

6. use UTF-8 -> AddDefaultCharset UTF-8
       LanguagePriority utf8 kr en ca .....
       AddCharset UTF-8 .utf8

  php.ini   -> default_charset = "utf-8"
,

프리비 핸드북

from Develop/Item 2008. 12. 9. 23:22
,