KTUGFaq
KTUG FAQ
A truly wise man never plays leapfrog with a Unicorn.
FrontPage › BibORB
[ÆíÁý]
BibORB ¶
[ÆíÁý]
¼³Ä¡¸¦ À§ÇÑ ÇÊ¿äÇÑ ÇÁ·Î±×·¥ ¶
Apache web server, php. mod_php
authenticationÀÌ ÇÊ¿äÇÑ °æ¿ì mysqlÀÌ ÇÊ¿ä.
[ÆíÁý]
¸®´ª½º¿¡¼ ¼³Ä¡ ¼ø¼ ¶
Àú´Â laptop¿¡ apache·Î ·ÎÄà À¥¼¹ö¸¦ µ¹·Á¼ »ç¿ëÇÏ¿´½À´Ï´Ù.
- apache2 ¼³Ä¡ ÈÄ php Çؼ®ÀÌ °¡´ÉÇϵµ·Ï ¼³Á¤ÇØ µÓ´Ï´Ù.
- open /etc/conf.d/apache2
- edit like: APACHE2_OPTS="-D SSL -D PHP4"
- ·ÎÄà À¥¼¹ö¸¦ µ¹¸®±â À§ÇØ ´ÙÀ½°ú °°ÀÌ.
- open /etc/apache2/conf/apache2.conf
- uncomment: "ServerName localhost"
- apache¸¦ °¡µ¿
- /etc/init.d/apache2 start
- ¹èÆ÷º»¸¶´Ù ºÎÆýà ÀÛµ¿µÇ°Ô rc.local¿¡ µî·ÏÇÏ´Â ¹æ¹ýÀÌ Á» ´Ù¸¨´Ï´Ù. ¸¸¾à Á¨Åõ¶ó¸é ´ÙÀ½°ú °°ÀÌ.
- rc-update add apache2 default
- home directory¿¡ À¥Æú´õ¸¦ ¸¸µì´Ï´Ù.
- mkdir ~/public_html
- À§¿¡ ¸¸µç À¥Æú´õ¿¡ biborb ÆÄÀÏÀ» DZ´Ï´Ù.
- apache°¡ Á¢±Ù °¡´ÉÇϵµ·Ï Çã°¡±ÇÀ» °íÃÄ ÁÝ´Ï´Ù.
- chmod 705 ~/
- chgrp -R apache ~/public_html ( as a root )
- chmod -R 770 ~/public_html
- ¸¶Áö¸·À¸·Î À¥ºê¶ó¿ìÁ®¸¦ ÅëÇØ ½ÇÇàÇÕ´Ï´Ù.