{"id":319,"date":"2010-03-18T19:16:01","date_gmt":"2010-03-18T10:16:01","guid":{"rendered":"https:\/\/deskplate.net\/blog\/2010\/03\/18\/%e3%83%9e%e3%82%a4%e3%83%86%e3%82%a3%e5%b0%82%e7%94%a8%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%80%e5%88%9d%e6%9c%9f%e8%a8%ad%e5%ae%9a%e4%be%8b\/"},"modified":"2010-03-18T19:16:01","modified_gmt":"2010-03-18T10:16:01","slug":"%e3%83%9e%e3%82%a4%e3%83%86%e3%82%a3%e5%b0%82%e7%94%a8%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%80%80%e5%88%9d%e6%9c%9f%e8%a8%ad%e5%ae%9a%e4%be%8b","status":"publish","type":"post","link":"https:\/\/deskplate.net\/blog\/archives\/319","title":{"rendered":"\u30de\u30a4\u30c6\u30a3\u5c02\u7528\u30b5\u30fc\u30d0\u30fc\u3000\u521d\u671f\u8a2d\u5b9a\u4f8b"},"content":{"rendered":"<p>PHP\u3092\u3082\u3063\u3068\u4f7f\u3048\u308b\u3088\u3046\u306b<br \/>\n# yum install php-devel<br \/>\n# yum install php-pear<br \/>\ncronolog \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n# wget http:\/\/cronolog.org\/download\/cronolog-1.6.2.tar.gz<br \/>\n# tar xvzf cronolog-1.6.2.tar.gz<br \/>\n# cd cronolog-1.6.2<br \/>\n# .\/configure<br \/>\n# make<br \/>\n# make install<br \/>\neaccelerator \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n# wget http:\/\/bart.eaccelerator.net\/source\/0.9.6\/eaccelerator-0.9.6.tar.bz2<br \/>\n# tar xvjf eaccelerator-0.9.6.tar.bz2<br \/>\n# cd eaccelerator-0.9.6<br \/>\n# phpize<br \/>\n# phpize<br \/>\n# which php-config<br \/>\n# .\/configure &#8211;enable-eaccelerator=shared &#8211;with-php-config=\/usr\/bin\/php-config<br \/>\n# make<br \/>\n# make install<br \/>\nphp.ini \u306b\u8a18\u8ff0\u3059\u308b<br \/>\n[eaccelerator]<br \/>\nzend_extension=&#8221;\/usr\/lib\/php\/modules\/eaccelerator.so&#8221;<br \/>\neaccelerator.shm_size = &#8220;32&#8221;<br \/>\neaccelerator.cache_dir = &#8220;\/home\/redadmin\/php\/cache\/eaccelerator&#8221;<br \/>\neaccelerator.enable = &#8220;1&#8221;<br \/>\neaccelerator.optimizer = &#8220;1&#8221;<br \/>\neaccelerator.check_mtime = &#8220;1&#8221;<br \/>\neaccelerator.debug = &#8220;0&#8221;<br \/>\neaccelerator.filter = &#8220;&#8221;<br \/>\neaccelerator.shm_max = &#8220;0&#8221;<br \/>\neaccelerator.shm_ttl = &#8220;0&#8221;<br \/>\neaccelerator.shm_prune_period = &#8220;0&#8221;<br \/>\neaccelerator.shm_only = &#8220;0&#8221;<br \/>\neaccelerator.compress = &#8220;1&#8221;<br \/>\neaccelerator.compress_level = &#8220;9&#8221;<br \/>\neaccelerator.keys = &#8220;shm_and_disk&#8221;<br \/>\neaccelerator.sessions = &#8220;shm_and_disk&#8221;<br \/>\neaccelerator.content = &#8220;shm_and_disk&#8221;<br \/>\nwebalizer \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n\u753b\u50cf\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5148\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<br \/>\n# yum install libpng*<br \/>\n# yum install libjpeg*<br \/>\n# yum install libgd*<br \/>\n# yum install gd-devel<br \/>\n# wget ftp:\/\/ftp.mrunix.net\/pub\/webalizer\/webalizer-2.21-02-src.tar.Z<br \/>\n# tar xvzf webalizer-2.21-02-src.tar.Z<br \/>\n# cd webalizer-2.21-02<br \/>\n# .\/configure &#8211;with-language=japanese &#8211;enable-dns<br \/>\n# make<br \/>\n# make install<br \/>\ncron \u8a2d\u5b9a<br \/>\n# vi \/etc\/cron.dialy\/01webalizer<br \/>\n\/usr\/local\/bin\/webalizer -Q -c \/home\/httpd\/vhosts\/xxxxxxxxx\/conf\/xxxxxxxxxxxx.conf \/var\/log\/httpd\/xxxxxxxxxxxxxxx\/`date -d &#8216;yesterday&#8217; +%Y\/%m`\/access_log > \/dev\/null 2>&#038;1<br \/>\nimagick \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a8\u30e9\u30fc\u304c\u3067\u308b\u306e\u3067\u307e\u305a\u3053\u308c\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<br \/>\n# cd \/usr\/local\/src\/<br \/>\n# wget http:\/\/sourceforge.net\/projects\/re2c\/files\/re2c\/0.13.5\/re2c-0.13.5.tar.gz\/download<br \/>\n# tar xvzf re2c-0.13.5.tar.gz<br \/>\n# makcd re2c-0.13.5<br \/>\n# .\/configure<br \/>\n# make<br \/>\n# make install<br \/>\n# yum -y install ImageMagick-devel<br \/>\n# pecl install imagick<br \/>\nphp.ini\u306b\u8a18\u8ff0<br \/>\nextension=imagick.so<br \/>\nBasic\u8a8d\u8a3c<br \/>\n# htpasswd -c \/home\/httpd\/vhosts\/xxxxxx\/conf\/.htpasswd xxxxx<br \/>\npassword : xxxxxxxxx<br \/>\n.htacess \u66f8\u5f0f<br \/>\nAuthType Basic<br \/>\nAuthUserFile \/home\/httpd\/vhosts\/xxxxxxx\/conf\/.htpasswd<br \/>\nAuthGroupFile \/dev\/null<br \/>\nAuthName &#8220;Enter password&#8221;<br \/>\nRequire valid-user<br \/>\nntpd \u6642\u523b\u5408\u308f\u305b<br \/>\n# \/usr\/sbin\/ntpdate -s ntp.kuins.kyoto-u.ac.jp<br \/>\n# date<br \/>\n# vi \/etc\/crontab<br \/>\ncron \u306b\u8a18\u8ff0\u3059\u308b<br \/>\n# ntpd<br \/>\n0 5 * * * root \/usr\/sbin\/ntpdate -s ntp.kuins.kyoto-u.ac.jp > \/dev\/null 2>&#038;1<br \/>\nyum\u306e\u81ea\u52d5\u66f4\u65b0\u3092\u505c\u6b62\u3059\u308b<br \/>\n\/etc\/init.d\/yum-updatesd stop<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u3092\u3082\u3063\u3068\u4f7f\u3048\u308b\u3088\u3046\u306b # yum <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-319","post","type-post","status-publish","format-standard","hentry","category-17"],"_links":{"self":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/comments?post=319"}],"version-history":[{"count":0,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/319\/revisions"}],"wp:attachment":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/media?parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/categories?post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/tags?post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}