2009-09-01ãã1ã¶æéã®è¨äºä¸è¦§
GoogleChromeã§ã®ã¿ãã¬ã¤ã¢ã¦ããç°ãªã£ã¦ãã件ã åå ãè¤æ°ãã£ãã®ã§ãããããåå¥ã«ã»ã»ã» @charsetã¯1è¡ç®ã«ã ä¸çªå¤§ããã£ãã®ãã³ã¬ã åºå ¸ï¼http://d.hatena.ne.jp/cou929_la/20090903/1251961619 @charset "Shift_JIS"; ã1è¡ç®ã«ãªã£ã¦ãªãã¨â¦
ããã®ãªãã«ä¸åãæï¼åã®ãã¾ãã£ã¦ã¾ãã
var/rss_cache 以ä¸ã®ãã£ãã·ã¥ãèªãã§ãã¦ãBlogãcronã§æ´æ°ããã¦ããªã模æ§ã»ã»ã»ãã£ãã·ã¥èªä½ãæ¶ãã¨ããã®ã¯ãæå¾ã®æ段ã§ãããããã http://www.yamanoi.org/op/extcron.html
CentOS5.2ã§ã¯ãmemcacheãyumã¤ã³ã¹ãã¼ã«ã§ãã¾ããã # yum list | grep memcache php-pecl-memcache.i386 2.2.3-1.el5_2 extras yumã®ãªãã¸ããªã追å ãã¦ãããããå ¥ããã®ãä¸è¬çã®ããã§ãã ã¨ãããã¾ã§æ¸ãã¦ãããããã¾ã§ãã¦å ¥ããªãã¦ãè¯â¦
php -r 'phpinfo();' ã§ã¯ãªãphp -iã§ããã£ã模æ§ãã (ä¾ã«ãã£ã¦é²å¿ã¡ã¢)
tortoiseSVNã®ææ°ç(å°å ¥å½æã¯1.6.3)ãå ¥ãã¦ããããã¡ã¤ã«ã¨ã¯ã¹ããã¼ã©ã®åä½ãå¦ã«éããªãã¾ãããã¨ãã£ã¿ã§ããã¡ã¤ã«ãéãããªã©ãåæ§ã ã¨ã¯ã¹ããã¼ã©ãéã/ãã£ã¬ã¯ããªç§»åããã¨ããã®é½åº¦æ°ç§ãååä½ã§åã£ãããææªãExplorerãå¼·å¶â¦
GoogleChrome ãã CSSãããã¯JavascriptæåããIE/FireFox両æ¹ã¨ããããªããã éãã£ã½ã orzå ·ä½çã«æªããã®ã¯ããã¦ã£ã³ãã¦ãµã¤ãºæ¤åºããã¦ã£ã³ãã¦ãµã¤ãºã«ãããã¦ãã©ã¼ã etcãµã¤ãºå¤æ´ã ããå°ç¡ãã (/-T)ä»ãã¡ããã¨ç§äºã§ã»ã»ã»å¯¾å¿é ãâ¦
æ¬æ¥ãã³ã³ãã³ã·ã§ã³ã å決ãåªå 権é çªã®ã¯ã¸ã§ãå°å ã®ãµã¼ã¯ã«ã¡ã³ãã¼ã§ãå¶ç¶éé¦æãã¦ã ãåãï¼ï¼ããããµã£ï¼ï¼ï¼ãï¼ããã»ã»ã»ä¿ºï¼ï¼ã§ããä½ãï¼ï½ãããï¼ï¼ï¼ã£ã¦æ©ãï¼ï½ã 1çªã ãé£ã°ããé£çªå¼ãã¦ã¾ããã»ã»ã»ï¼ã»ã¨ãã©ããªã®çªå·ã§â¦
ã¯ã¦ãªã£ã¦ãæºå¸¯ããè¦ãã¨ãå ¨è§ã«ãå ¨ã¦åè§ã«å¤æãã¦è¡¨ç¤ºãã¦ãããã®ã§ãããå°å³ã§ããã大åããâ¦â¦ï¼ï¿£_ï¿£ï¼
ã¢ãã¡ã¤ãä»ã§11åç¨è³¼å ¥ããã¡ä¸åãä»æ´ããã«ã¯ãã¹2ndã»ã³ã³ãã©ã¹ããµã¤ãã ããã«3rdç¨ãåºãã§ããããã©ãï¼ç¬ï¼FEARã§ãããã¨ããå¹»æ³ãã¼ãã³ã°è¾å ¸ã 1200ã®åèªãè±ä»ä¼ç¬ãã©ãã³èªã¹ãã¤ã³èªãã·ã¢èªã®ãªã·ã£èªãä¸å½ã«ã¢ã©ãã¢èªè¨³ä¸è¦§ãâ¦
ãããã æå¾ ã®ååãç¦æçç¶ï¼ç¬ï¼ ãã¤ã¹ããããããã£ã±ãæ¯ãããã¼ã¼ï¼ï½ï½ã¨ã°ãçãè¨ã£ã¦ã¿ããã¼ã¼ã¼ï¼âã³ã¬ã¯ãã¨ããã天æ§ã¨ãæ©ä¼ããªãã¨ç¡çï½ ã²ããã¨ããããã«ã¯ãã¹ã¨ããããããã¼ã¼ã¼ï¼ï¼ã»ã»ã»ã»ã¨mixiã§å«ãã ãããã ã£ãããTâ¦
ä»ã¾ã§ãããªâè¨å®ã§ãåå è ãªã¹ãã®ååãã¯ãªãã¯ããã¨âããããâã¢ã¼ããã¨ãã¦ããã®ã§ããã ï¼span id="Cake" class="member" onclick="inputWhisper('Cake','');"ï¼Cakeï¼/spanï¼ ããã«ondblclickã追å ããã¨ãonclickã¤ãã³ããåæã«æ¾ã£ã¦ãã¾â¦
è³ç£ãã¨ããã主ã«ç«¯æ«ãã½ããã®ç®¡çãã°ãã£ã°ãã£ã«ãªã£ã¦ããã®ã§ããGLPIãã¨ãã管çãã¼ã«ãå°å ¥ãããã¨ã«ãªãã¾ããhttp://www.glpi-project.org/spip.php?lang=enæ¥æ¬èªçããããã¡ãã£ã¨å¤æ©è½ãã ^^; ã¦æä½ãè¯ãããããªãç¹ãããã®ã§ããâ¦
CentOS5æ¨æºã®php5.1.6ã ã¨ãJSONé¢æ°ã使ãã¾ãã æ®éã« yum installã¯ãã¡ ã½ã¼ã¹ã³ã³ãã¤ã«ãªãã§ã¤ã³ã¹ãã¼ã«ããæ¹æ³http://www.a-magic-web.com/contents/php/php_php-json.html æ©ã5.2ã«ãã¦ãã ããã»ã»ã»ã»
ããå¿ããã®ã§ã¡ã¢ï¼ php -r 'phpinfo();' grep 'hogehoge' -A 5 ã¨ã追å ãã¦ãããã¨ãenabledã®ã¡ãã»ã¼ã¸è¡ã«å¸æã®åèªãå«ã¾ãã¦ããªãã¦ããã£ããã§ãã å¿è«ãä»ã®é¢æ°ãå®è¡ã§ãã¾ã
PEARã®Auth使ã£ã¦ãä½ãåä»ã£ã¦ãPEARã®ä¸ã«ã¯ãã£ã¦ããã¨ã©ã¼ã«ãªã£ãå ´åã»ã»ã»ã§ããPEAR::AUTHã«ã¯ãæ¨æºã§ãã°ãåºã(ãããªï¼æãå ¥ã£ã¦ãã®ã§ãLOGã®è¨å®ããã°ãåããããªæ°ããããã§ããhttp://pear.php.net/manual/ja/package.authentication.â¦
åæã¨ãã¦ãããµã¼ãå´ã¯ãµã¼ãã¹ãæç«ãã¦ããï¼ã¯ãï¼ã®å ´åã¯ã©ã¤ã¢ã³ãå´ããã®æ¥ç¶ç¢ºèª ldapsearch -x -H ldap://192.168.***.*** -b "dc=**,dc=**,dc=**" -s sub "(u id=[username])" url=ldap://192.168.***.*** ã¯å é¨ã uid=以ä¸ãæå®ããªãã¨ãâ¦
bakeã§ãWould you like to use Sessions? (y/n)ãã¨èããã¦å°æããããã¦ã¾ãããã ãã®çç±ãã¡ãã»ã¼ã¸ããã»ãã·ã§ã³å¤æ°ã«ä¿æãã¦ããã表示ãã¦ããããã®ããã§ãã ã·ã³ãã« ^^;æ®éã®ã»ãã·ã§ã³å¤æ°åæ§ã« $this->Session->read($name); ã§ãæ±â¦
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/422sshokroot.htmlæåã¦ãã«ãªã /etc/ssh/ssh_config ã»ã»ã»ã¨ãã£ã¦ã¦ãè¨å®ããªãã¦æ©ãã§ã¾ããã»ã»ã» æ£ããã¯ãssh"d"_configããã«æ¨©éããããã°ãä¸è¬ã¦ã¼ã¶ããsu - ã§ãããã§ãã ^^;
å°å³å°å³ã¨é çã¨èçã ãããçµé¨ä¸ãå»è è¡ã£ã¦ãè¬å¹ããªãæ²»ããªããªãã§ãããã»ã»ã»ã»ã
ä»ã¾ã§éçºç°å¢ãã触ã£ã¦ãªãã£ãã®ã§ restartã§OKã§ãããã ãµã¼ãã¹ä¸ã®ç°å¢ãåæ¢ãããªãåèµ·åæ¹æ³ service httpd graceful åèµ·åã¯ãã°ã§ç¢ºèª tail /var/log/httpd/error_log [Mon Sep 07 16:41:15 2009] [notice] Graceful restart requested, doiâ¦
æ¢åã®ç°å¢ã§ svn --version ãè¦ã¦ã¿ãã¨ãããããver1.4.* ä¸ã«ã¯ver1.1ã¨ãããã®ãã»ã»ã»ã» ããã§ããã©ãã«ãªããã½ã¼ã¹ç®¡çè¡ãªãã¦ãã¾ãããããï¼ ^^;ææ°ver1.5ã«ããªãã¨tortoiseSVNã§ãã©ãã«äºã ãã¯ãæåã®ãªãã¸ããªä½æãtortoiseSVN(verâ¦
DBããã¯ã¢ããã¯root権éã§è¡ãªã£ã¦ã¾ããããbackupã¨ããä¸è¬ã¦ã¼ã¶ãä½ã£ã¦ããã§ä¸å 管çã«ããæ¹ãããã®ã§ã¯ãªãããã¨æ¹é転æãã¨ãããããã¡ã¤ã«ãµã¼ãã¸ã®ã³ãã¼ã§æ¨©éã¨ã©ã¼ã«ãªããã©ããã¦ãæ¸ãè¾¼ãã¾ãããæ¤è¨¼çµæã ãã¦ã³ãæã«ãuid=baâ¦
DBã®ããã¯ã¢ãããã¡ã¤ã«ã¯ãå¥ã®ãã¡ã¤ã«ãµã¼ãã«ããã¾ããå ã»ã©mysqldumpã®ä½ãæ¹ãããã£ããµã¼ãã¨åãããã«fstabè¨å®ããã°è¯ããã¨è¨ãããã®ã§ãã /etc/fstab ã« //***.***.***.***/HOGEHOGEbackup /hoge cifs username=****,password=****,fileâ¦
åé ã§ã¯mysqlhotcopyã«ããããã¯ã¢ãããæ¤è¨ãã¾ãããããä»åãã¦ãã·ã¹ãã ã®ããã¯ã¢ãããããã¨åãããã«ãã¦ä¸ãããã¨ã®æ示ãæ¥ã¾ãããã»ã»ã»ã»ã¨ãããã¨ã§ãå¤ãã¾ããæ¹æ³ã¯ãmysqldumpï¼ãªãã·ã§ã³ããããã #!/bin/shbackupdate=`date +â¦
http://centossrv.com/mysql-backup.shtml ããã®æ¹æ³ãåèã«ããã°ã§ããããªã®ã§ãããã·ã§ã«ã¹ã¯ãªããå ã®ã³ãã³ããä¸é¨ããããªãã ç¹ã«MySQLã®ãªãã·ã§ã³ã確èªãã¦ã¿ã¾ããã®ã§ã¡ã¢ã DBLIST=`ls -p /var/lib/mysql | grep / | tr -d /` MySQLã®ãâ¦
æ¥ã«JGCãããªããªãã¾ããã ããã¼ãã
ä»åã®ç°å¢ã¯èªåã²ã¨ãã§ã»ãã»ã使ããã°ãããã®ã§ã¯ãªãã®ã§ããã¼ãã£ã«ãã¡ã¤ã³ã®è¨å®ãå¿ è¦ã§ãã ã»ã»ã»ãªãã¨ãªãç解ã¯ãã¦ã¾ãããèªä¿¡ããªãã®ã§ãã¨ã¾ããï¼ããï¼ãµã¼ããåããã¨ããã§ãPHPã¨MySQLã®ç¢ºèªã php -v PHP 5.1.6 (cli) (built: â¦
ã¾ããä¸è¬ã¦ã¼ã¶ä½æhttpdé¢é£ã確èªã ç¶æ³ãããã©ããhttpdåãã¦ãªãã£ã½ãã¨æã£ã¦ã¾ããããç¢ºèª netstat -ln port80ãlistenãªãã [root@starbacks ~]# chkconfig --list httpd httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off èªåèµ·åOFF..ä¸å®â¦
ç§æ å½ã§ãWeb+DBãµã¼ãæ§ç¯ã®æ示ãã§ã¾ããã ãªãã¨ç¡è¬ãªï¼ããï¼ä»åã¯ãä»ã®æ¹ãããç¨åº¦ã®ç°å¢æ§ç¯æ¸ã¿ã®ã¨ããã«ã足ããªãæ©è½ãªã©ãå ¥ãã¦ãããå¼ç¶ããä½æ¥ã§ã¯ããã®ã§ãããè¦ã¦ã¿ãã¨ã httpdãå ¥ããã¨ããã¾ããèªåèµ·åã«ãªã£ã¦ãªã(â¦ï¼ã¨â¦