{"id":64,"date":"2007-01-25T15:14:18","date_gmt":"2007-01-25T15:14:18","guid":{"rendered":"http:\/\/newblog.mix1009.net\/?p=64"},"modified":"2007-01-25T15:14:18","modified_gmt":"2007-01-25T15:14:18","slug":"centos-redhat-enterprise%ec%97%90%ec%84%9c-lighttpd-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/mix1009.net\/?p=64","title":{"rendered":"CentOS (Redhat Enterprise)\uc5d0\uc11c lighttpd \uc124\uce58"},"content":{"rendered":"<p>\uc774\ubc88\uc5d0 \ud68c\uc0ac\uc5d0\uc11c \uc0c8 \uc11c\ubc84\ub4e4\uc744 \uad6c\ub9e4\ud574\uc11c IDC\uc5d0 \ub4e4\uc5b4\uc654\uc2b5\ub2c8\ub2e4. Dell PowerEdge SC1435\ub85c AMD\uae30\ubc18 \uc635\ud14c\ub860 CPU\ub77c\uc11c FreeBSD\ubcf4\ub2e4\ub294 Linux\uac00 \uc88b\uc744\uac70 \uac19\ub354\uad70\uc694. \uc804\uc5d0\ub3c4 \ub378\uc11c\ubc84 \ub4e4\uc5b4\uc654\uc5c8\ub294\ub370 FreeBSD\uc5d0\uc11c \ub124\ud2b8\uc6cc\ud06c \ub514\ubc14\uc774\uc2a4\uac00 \uc815\uc0c1\uc801\uc73c\ub85c \ub3d9\uc791\uc744 \uc548\ud558\ub354\uad70\uc694. \ub378\uc11c\ube44\uc2a4\uc5d0 \uc5f0\ub77d\ud588\ub354\ub2c8 Redhat Enterprise Linux(RHEL)\uad6c\ud574\uc11c \uc124\uce58\ud558\ub77c\uace0 \ud574\uc11c \uc124\uce58\ud588\uc5c8\ub294\ub370 \ub124\ud2b8\uc6cc\ud06c \ub4dc\ub77c\uc774\ubc84\ub97c \ub530\ub85c \uad6c\ud574\uc11c \uc124\uce58\ud574\uc57c\ub418\ub354\uad70\uc694. \uc11c\ubc84\uc5d0\ub294 \uc6d0\ub798 \uc5d1\uc2a4\ub97c \uc124\uce58\ub97c \uc798 \uc548\ud574\uc11c \uace0\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \uc77c\ub2e8 \uc774\ubbf8 \uc124\uce58\ub41c \ub2e4\ub978 \uc11c\ubc84\uc5d0 X \uc124\uce58\ud558\uace0 \uc6f9\uc5d0\uc11c \ub2e4\uc6b4\ub85c\ub4dc\ud558\ub294\ub370 \ubb38\uc11c\uac00 exe \ud30c\uc77c\uc774\ub354\uad70\uc694! \ud669\ub2f9 &#8211;; \uc9d1\uc73c\ub85c VNC\ub85c \uc5f0\uacb0\ud558\uc5ec \uc2e4\ud589\ud558\uc5ec \ud480\uc5b4\ubcf4\ub2c8 \ubcc4\uac70 \uc5c6\ub354\uad70\uc694 &#8211;; \uc124\uce58\ud588\ub358 \uc11c\ubc84\ub294 PE2950\uc774\uc5c8\uc2b5\ub2c8\ub2e4. \ub2e4\ud589\ud788 USB \uba54\ubaa8\ub9ac\uac00 \uc788\uc5b4\uc11c \ub124\ud2b8\uc6cc\ud06c\ub97c \uc7a1\uc744\uc218 \uc788\uc5c8\uc2b5\ub2c8\ub2e4&#8230;&nbsp; \uadf8\ub54c RHEL4\ub97c \ubc1b\uc544\uc11c \uc124\uce58\ud588\uc5c8\ub294\ub370 \uc720\ub8cc\uc0ac\uc6a9\uc790\uac00 \uc544\ub2c8\uba74 \uc5c5\uadf8\ub808\uc774\ub4dc\uac00 \uc548\ub418\ub354\uad70\uc694. \uadf8\ub798\uc11c \uc774\ubc88\uc5d0\ub294 RHEL \uc18c\uc2a4\ub97c \uc774\uc6a9\ud558\uc5ec \ubc14\uc774\ub108\ub9ac \ud638\ud658\uc774 \ub418\ub294 CentOS (Community Enterprise OS) AMD64 \ubc84\uc804\uc744 \ubc1b\uc544\uc11c \uc124\uce58\ud588\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc11c\ubc84 \uc5ec\ub7ec\ub300 \uc124\uce58\ud558\ub290\ub77c \uc2dc\uac04\uc774 \uc880 \ub0a8\uc544\uc11c(DVD \ud55c\uc7a5\ub9cc \uad88\uc11c\uac14\uc74c) FreeBSD 6.2(AMD64)\ub3c4 \uc124\uce58\ud574\ubd24\ub294\ub370 \ubcc4 \uc774\uc0c1\uc5c6\uc774 \uae54\ub9ac\ub354\uad70\uc694. \uadfc\ub370 SC1435\uc5d0 PS\/2 \ud3ec\ud2b8\uac00 \uc5c6\uc5b4\uc11c USB\ud3ec\ud2b8\ub85c \ud0a4\ubcf4\ub4dc\uc640 \ub9c8\uc6b0\uc2a4\ub97c \uc5f0\uacb0(Y\ucf00\uc774\ube14 \uc774\uc6a9\ud574\uc11c PS\/2 \ud0a4\ubcf4\ub4dc\uc640 \ub9c8\uc6b0\uc2a4\uc5f0\uacb0)\ud588\ub294\ub370 \ube90\ub2e4\uac00 \ub07c\uba74 \ud0a4\ubcf4\ub4dc\uc640 \ub9c8\uc6b0\uc2a4\uac00 \uc778\uc2dd\uc774 \uc548\ub418\ub354\uad70\uc694.. \uad00\ub9ac\ud3b8\uc758\uc0c1 \ub3d9\uc2dc\uc5d0 \ub4e4\uc5b4\uc624\ub294 \uc11c\ubc84\ub294 \uac19\uc740 OS\ub97c \uc124\uce58\ud558\ub294\uac8c \ud3b8\ud558\uae30 \ub54c\ubb38\uc5d0 \ub2e4\uc2dc \ubc00\uace0 CentOS\ub97c \uc124\uce58\ud558\uace0, \uc5c5\ub370\uc774\ud2b8\uae4c\uc9c0 \ubb34\uc0ac\ud788 \ub9c8\uce58\uace0 \uc654\uc2b5\ub2c8\ub2e4. \uc5c5\ub370\uc774\ud2b8\ub294 \uc815\ub9d0 \ud3b8\ud558\ub354\uad70\uc694. (#yum update) \uadf8\ub9ac\uace0 \ub124\ud2b8\uc6cc\ud06c \ub4dc\ub77c\uc774\ubc84\ub3c4 \ucd94\uac00 \uc124\uce58\uc5c6\uc774 \ubc14\ub85c \uc7a1\ud788\ub354\uad70\uc694.<\/p>\n<p>\uc774\uc81c CentOS(AMD64)\uc5d0\uc11c lighttpd\uc640 \uce5c\uad6c\ub4e4 \uc124\uce58 \ubc29\ubc95\uc5d0 \ub300\ud574\uc11c \uc124\uba85\ub4dc\ub9b4\uaed8\uc694^^<\/p>\n<p>AMD64\uc758 php\ub294 fastcgi\uac00 \ucef4\ud30c\uc77c\uc548\ub418\uc5b4 \uc788\uc5b4\uc11c lighttpd\uc640 php\ub97c fastcgi\uc640 \uc5f0\uacb0\ud558\uae30 \uc704\ud574\uc11c php\ub97c \ucef4\ud30c\uc77c\ud588\uc2b5\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\"># cd \/opt<br \/>\n# wget http:\/\/isoredirect.centos.org\/centos\/4\/os\/SRPMS\/php-4.3.9-3.15.src.rpm<br \/>\n# rpm -i php-4.3.9-3.15.src.rpm<br \/>\n# vi \/usr\/src\/redhat\/SPECS\/php.spec<\/div>\n<p>&nbsp; &nbsp; &nbsp;&nbsp; &#8211;enable-force-cgi-redirect \\<br \/>\n&nbsp; &nbsp; &nbsp; \uc55e\uc904\uc5d0<br \/>\n&nbsp; &nbsp; &nbsp;&nbsp; &#8211;enable-fastcgi \\<br \/>\n&nbsp; &nbsp; &nbsp; \ub97c \ub123\uc5b4\uc90d\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\"># rpmbuild -bb php.spec\n<\/div>\n<p>\n\uc774\ub54c \ud544\uc694\ud55c \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud558\uace0 \ud574\uc57c\ud560\uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uc624\ub958\uc5d0 \ubb50\uac00 \ud544\uc694\ud558\ub2e4\uace0 \ub098\uc635\ub2c8\ub2e4.<br \/>\n&nbsp; ( # yum update aspell-devel httpd-devel pcre-devel &#8230;)<br \/>\n\ucef4\ud30c\uc77c \uc644\ub8cc\ub418\uba74 \/usr\/src\/redhat\/RPMS\/x86_64 (\ub610\ub294 i386)\uc5d0 \ubc14\uc774\ub108\ub9ac rpm\uc774 \uc0dd\uae41\ub2c8\ub2e4.<\/p>\n<p>\ucef4\ud30c\uc77c\ud6c4 \uc6d0\ud558\ub294 \ud328\ud0a4\uc9c0\ub97c \uc5c5\ub370\uc774\ud2b8 \ud569\ub2c8\ub2e4. \ubc84\uc804\ubc88\ud638 \ub54c\ubb38\uc5d0 \uc5c5\uadf8\ub808\uc774\ub4dc\uac00 \uc548\ub418\uba74 &#8211;force\ub97c \uc774\uc6a9\ud574\uc11c \uac15\uc81c\ub85c \uc5c5\ub370\uc774\ud2b8\ud558\uba74 \ub429\ub2c8\ub2e4.<\/p>\n<p>\nlighttpd\ub294 src rpm\uc744 \ubc1b\uc544\uc11c \ucef4\ud30c\uc77c \ud569\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\"># wget http:\/\/www.lighttpd.net\/download\/lighttpd-1.4.13-1.src.rpm<br \/>\n# rpmbuild &#8211;rebuild lighttpd-1.3.15-1.src.rpm<\/div>\n<p>xcache \uc5ed\uc2dc src rpm\uc744 \ubc1b\uc544\uc11c \uc124\uce58\ud569\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(228, 228, 228)\"># wget http:\/\/www.jasonlitka.com\/media\/files\/SRPMS\/php-xcache-1.2.0_0.2.src.rpm<br \/>\n# rpmbuild &#8211;rebuild php-xcache-1.2.0_0.2.src.rpm<\/div>\n<p>\nrpm \ubc14\uc774\ub108\ub9ac \ud30c\uc77c\uc740 \/usr\/src\/redhat\/RPMS\/x86_64 \ub098 i386 \ub4f1\uc5d0 \uc0dd\uae41\ub2c8\ub2e4. \uc801\ub2f9\ud788 \uc6d0\ud558\ub294 \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud574\uc8fc\uba74 \ub429\ub2c8\ub2e4. 5\ub300 \uc11c\ubc84\uc5d0 \uc124\uce58\ud558\ub290\ub77c \ud55c\uacf3\uc5d0\uc11c \ucef4\ud30c\uc77c\ud558\uace0 \ub2e4\uc74c \uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc774\uc6a9\ud558\uc5ec \uc5ec\ub7ec\uc11c\ubc84\uc5d0 \uc124\uce58\ud558\uc600\uc2b5\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(201, 237, 255)\">#!\/bin\/sh<br \/>\n# install_lighttpd.sh<\/p>\n<p>\/usr\/sbin\/apachectl stop<\/p>\n<p>rpm -ivh lighttpd-1.4.13-1.x86_64.rpm<br \/>\nrpm -Uvh &#8211;force php-4.3.9-3.15.x86_64.rpm php-devel-4.3.9-3.15.x86_64.rpm&nbsp; php-pear-4.3.9-3.15.x86_64.rpm php-ldap-4.3.9-3.15.x86_64.rpm&nbsp; php-mysql-4.3.9-3.15.x86_64.rpm<br \/>\nrpm -ivh php-xcache-4.3.9_1.2.0-0.2.x86_64.rpm<\/p>\n<p>mkdir -p \/etc\/lighttpd<br \/>\ncp .\/lighttpd.conf \/etc\/lighttpd<br \/>\nadduser -s \/sbin\/nologin www<br \/>\n\/sbin\/chkconfig httpd off<br \/>\n\/sbin\/chkconfig &#8211;add lighttpd<br \/>\n\/sbin\/chkconfig lighttpd on<\/p>\n<p>touch \/var\/log\/lighttpd.access.log<br \/>\ntouch \/var\/log\/lighttpd.error.log<\/p>\n<p>chown www:www \/var\/log\/lighttpd.access.log<br \/>\nchown www:www \/var\/log\/lighttpd.error.log<\/p>\n<p>\/etc\/init.d\/lighttpd start<\/p><\/div>\n<p>\nlighttpd.conf\ub294 freebsd\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub358\uac78 \uadf8\ub300\ub85c \uac00\uc838\uc640\uc11c server.event-handler \ub4f1 \uba87\uac00\uc9c0\ub9cc \ubc14\uafe8\uc2b5\ub2c8\ub2e4. \uc8fc\uc11d\ub4f1\uc758 \ub77c\uc778\uc740 \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.<\/p>\n<div style=\"padding: 10px; background-color: rgb(201, 237, 255)\"># lighttpd.conf<br \/>\nserver.modules &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; = (<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &#8220;mod_redirect&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &#8220;mod_alias&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &#8220;mod_access&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8220;mod_status&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8220;mod_fastcgi&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8220;mod_userdir&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &#8220;mod_accesslog&#8221; )<br \/>\nserver.document-root = &#8220;\/var\/www\/html\/&#8221;<br \/>\naccesslog.filename &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; = &#8220;\/var\/log\/lighttpd.access.log&#8221;<br \/>\nserver.errorlog &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &#8220;\/var\/log\/lighttpd.error.log&#8221;<br \/>\nindex-file.names &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; = ( &#8220;index.php&#8221;, &#8220;index.html&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &#8220;index.htm&#8221;, &#8220;default.htm&#8221; )<br \/>\nserver.event-handler = &#8220;linux-sysepoll&#8221;<br \/>\nmimetype.assign &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = (<br \/>\n&nbsp; \uc0dd\ub7b5&#8230;<br \/>\n)<\/p>\n<p>userdir.path = &#8220;public_html&#8221;<br \/>\nurl.access-deny &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = ( &#8220;~&#8221;, &#8220;.inc&#8221; )<br \/>\nstatic-file.exclude-extensions = ( &#8220;.php&#8221;, &#8220;.pl&#8221;, &#8220;.fcgi&#8221; )<br \/>\nserver.pid-file &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; = &#8220;\/var\/run\/lighttpd.pid&#8221;<br \/>\nserver.username &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; = &#8220;www&#8221;<br \/>\nserver.groupname &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &#8220;www&#8221;<br \/>\nfastcgi.server &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; = ( &#8220;.php&#8221; =&gt;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; ( &#8220;localhost&#8221; =&gt;<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; (<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8220;socket&#8221; =&gt; &#8220;\/tmp\/php-fastcgi.socket&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8220;bin-path&#8221; =&gt; &#8220;\/usr\/bin\/php&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8220;min-procs&#8221; =&gt; 1,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8220;max-procs&#8221; =&gt; 2,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8220;max-load-per-proc&#8221; =&gt; 4,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8220;idle-timeout&#8221; =&gt; 10,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8220;bin-environment&#8221; =&gt; ( &#8220;PHP_FCGI_CHILDREN&#8221; =&gt; &#8220;16&#8221;,<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &#8220;PHP_FCGI_MAX_REQUESTS&#8221; =&gt; &#8220;2000&#8221; )<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; )<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; )<\/p>\n<p>server.max-fds = 4096<\/p><\/div>\n<p>\n\uadf8\ub9ac\uace0 \ub85c\uadf8\uac00 \uacc4\uc18d \uc313\uc774\uc9c0 \uc54a\ub3c4\ub85d \/etc\/logrotate.d\/lighttpd \ud30c\uc77c\uc744 \ub9cc\ub4e4\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n<div style=\"text-align: left\">\n<div style=\"padding: 10px; background-color: rgb(201, 237, 255)\">\/var\/log\/lighttpd.*.log {<br \/>\n&nbsp; rotate 30<br \/>\n&nbsp; daily<br \/>\n&nbsp; missingok<br \/>\n&nbsp; notifempty<br \/>\n&nbsp; compress<br \/>\n&nbsp; sharedscripts<br \/>\n&nbsp; postrotate<br \/>\n&nbsp; &nbsp; &nbsp;&nbsp; touch \/var\/log\/lighttpd.access.log<br \/>\n&nbsp; &nbsp; &nbsp;&nbsp; touch \/var\/log\/lighttpd.error.log<br \/>\n&nbsp; &nbsp; &nbsp;&nbsp; chown www:www \/var\/log\/lighttpd.access.log<br \/>\n&nbsp; &nbsp; &nbsp;&nbsp; chown www:www \/var\/log\/lighttpd.error.log<br \/>\n&nbsp; &nbsp; &nbsp;&nbsp; \/bin\/kill -HUP `cat \/var\/run\/lighttpd.pid 2&gt;\/dev\/null` 2&gt; \/dev\/null || true<br \/>\n&nbsp; endscript<br \/>\n}<\/div>\n<p>\n<\/div>\n<p>\ucc38\uace0 URL:<br \/>\nhttp:\/\/www.cyberciti.biz\/tips\/redhat-enterprise-linux-lighttpd-fastcgi-php.html<br \/>\nhttp:\/\/www.jasonlitka.com\/2006\/12\/20\/php-caching-and-acceleration-with-xcache\/<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\ubc88\uc5d0 \ud68c\uc0ac\uc5d0\uc11c \uc0c8 \uc11c\ubc84\ub4e4\uc744 \uad6c\ub9e4\ud574\uc11c IDC\uc5d0 \ub4e4\uc5b4\uc654\uc2b5\ub2c8\ub2e4. Dell PowerEdge SC1435\ub85c AMD\uae30\ubc18 \uc635\ud14c\ub860 CPU\ub77c\uc11c FreeBSD\ubcf4\ub2e4\ub294 Linux\uac00 \uc88b\uc744\uac70 \uac19\ub354\uad70\uc694. \uc804\uc5d0\ub3c4 \ub378\uc11c\ubc84 \ub4e4\uc5b4\uc654\uc5c8\ub294\ub370 FreeBSD\uc5d0\uc11c \ub124\ud2b8\uc6cc\ud06c \ub514\ubc14\uc774\uc2a4\uac00 \uc815\uc0c1\uc801\uc73c\ub85c \ub3d9\uc791\uc744 \uc548\ud558\ub354\uad70\uc694. \ub378\uc11c\ube44\uc2a4\uc5d0 \uc5f0\ub77d\ud588\ub354\ub2c8 Redhat Enterprise Linux(RHEL)\uad6c\ud574\uc11c \uc124\uce58\ud558\ub77c\uace0 \ud574\uc11c \uc124\uce58\ud588\uc5c8\ub294\ub370 \ub124\ud2b8\uc6cc\ud06c \ub4dc\ub77c\uc774\ubc84\ub97c \ub530\ub85c \uad6c\ud574\uc11c \uc124\uce58\ud574\uc57c\ub418\ub354\uad70\uc694. \uc11c\ubc84\uc5d0\ub294 \uc6d0\ub798 \uc5d1\uc2a4\ub97c \uc124\uce58\ub97c \uc798 \uc548\ud574\uc11c \uace0\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \uc77c\ub2e8 \uc774\ubbf8 \uc124\uce58\ub41c \ub2e4\ub978 \uc11c\ubc84\uc5d0 X \uc124\uce58\ud558\uace0 \uc6f9\uc5d0\uc11c \ub2e4\uc6b4\ub85c\ub4dc\ud558\ub294\ub370 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[54,13],"_links":{"self":[{"href":"https:\/\/mix1009.net\/index.php?rest_route=\/wp\/v2\/posts\/64"}],"collection":[{"href":"https:\/\/mix1009.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mix1009.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mix1009.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mix1009.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":0,"href":"https:\/\/mix1009.net\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"wp:attachment":[{"href":"https:\/\/mix1009.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mix1009.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mix1009.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}