ãµã¼ã
ä¾ãã°30å以ä¸çµã£ã¦ãå¦çãçµãããªãhttpdããã»ã¹ãkillããæ¹æ³ã親ããã»ã¹ã¯root権éã§ããããããgrep -v rootã§é¤å¤ãã¦ããã¾ãããã®ã·ã§ã«ã¹ã¯ãªãããrootã§å®æå®è¡ããã°ok for i in `ps aux | grep httpd | grep -v root | gawk '{print $â¦
Apacheã®è¨å®ã§ãä¾ãã°ä¸è¨ã®ãããªHTTPãããã¼æ å ± Server: Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.8 PHP/5.2.0 åºããªãã»ããè¯ããµã¼ãæ å ±ãé ãè¨å® CentOSããã¼ã¹ã«ãã¦æ¸ãã¦ãã¾ãã httpd.confã®ä¸è¨ã®è¡ã®ã³ã¡ã³ããã¯ãã Include câ¦
MySQLã®ã¹ã¬ã¼ãå´ã§ãshow slave status \G ã¨ãã£ã¦ãä¸è¨ã®ç®æãYesã§ããã°ã¹ã¬ã¼ãã®ã¬ããªã±ã¼ã·ã§ã³ãæ£å¸¸ã«è¡ããã¦ããã確èªã§ãã¾ãã Slave_IO_Running: Yes Slave_SQL_Running: Yes ä¸è¨ã®ãããªãã³ãã³ãã©ã¤ã³ããå®è¡ãã¦Yes以å¤ã§ãããâ¦
VMware Server1.0ç³»ã®è©±ã§ããOSã¯å ¨ã¦Linuxã§ãããã¹ãOSä¸ã«VM1ã¨VM2ãåãã¦ããã¨ãã¦ããã¹ãOSã¯ã°ãã¼ãã«IPãæããã«ãã²ã¹ãOSã®ã¿ãã°ãã¼ãã«IPãæã£ã¦ããæ§æã®å ´åã®è©±ããã®ç°å¢ã ã¨ãã¨ããããGuestOSã®SSHãã¼ããã©ã¯ã¼ãã使ã£ã¦ãGuâ¦
ããããã£ã¦ãããªãã¨ã/dev/sdaãæ»ãã§sdbã ãã§ãã¼ãããã¨ãã«æ³£ããã¨ã«ãªãã grubãsdbã«ã¤ã³ã¹ãã¼ã« grub device (hd1) /dev/sdb root (hd1,0) install /grub/stage1 (hd1) /grub/stage2 p /grub/grub.conf
chkconfigã§ä¸è¨ããªãã«ãã /sbin/chkconfig acpid off /sbin/chkconfig apmd off /sbin/chkconfig avahi-daemon off /sbin/chkconfig avahi-dnsconfd off /sbin/chkconfig conman off /sbin/chkconfig hidd off /sbin/chkconfig lvm2-monitor off /sbin/câ¦
Vmware Server 2.0ã¯ãGuestOSã®SSHãã¼ããã©ã¯ã¼ãã£ã³ã°çµç±ã§HostOSã®ã³ã³ã½ã¼ã«ã«ã¢ã¯ã»ã¹ããã¨ãç»é¢ã¯åºããã ãã©ãã³ã³ã½ã¼ã«ã®èªè¨¼ã¨ã©ã¼ã§ã³ã³ã½ã¼ã«ç»é¢ãè¦ããªã End to Endã§ããã¼ã902ã使ã£ã¦ããã¨ãããã¿ããï¼ãããããããéããã¹â¦
Dellã®R200ã¨ãã1Uã©ãã¯ãµã¼ãã¯ãæå°æ§æã§5ä¸åã¨ãããã®ã§ãã(Celeron, 1G mem, 160G SATA HDD) http://www1.jp.dell.com/content/products/productdetails.aspx/pedge_r200?c=jp&cs=jpbsd1&l=ja&s=bsdåçã¯æã家ã®é¨å±ãã¿ã¯ã¼ãµã¼ãã®åã«ã1Uãµâ¦
ä¸è¨URLã®ããã«ãsvnã§ã³ãããããéã«ãã³ã¡ã³ãã«refs #1ã¿ããã«ãã¦ãtracã®ãã±ããå±¥æ´ã«ã³ãããããã³ã¡ã³ãã¨ã½ã¼ã¹ã³ã¼ãã¸ã®ãªã³ã¯ãèªåã§å ¥ããé£æºãè¡ãã¾ã§ã®ã¡ã¢ http://www.thinkit.co.jp/cert/article/0712/4/4/3.htmçµæ§ã¯ã¾ã£ãã®ã§â¦
ãã¤ã®éã«ãCentOS 5.3ãåºã¦ã¾ããã ãªãªã¼ã¹ãã¼ãã®æ¥æ¬èªçã¯ä¸è¨ã«ããã¾ãã http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3/Japanese CentOSã®ã¡ã¤ã³ã¡ã³ããã¼ãé³ä¿¡ä¸éã¨ããæ å ±ãã©ããã§è¦ããã ãã©ãæ°ãããªãªã¼ã¹ãåºãã®ã§ä¸å®â¦
åã«VMwareServerã®GuestOSã®Readæ§è½ãèããæªãï¼6MB/sec)ã¨ããã®ãæ¸ãã¾ããã http://d.hatena.ne.jp/ichikaway/20080918/1221722522æè¿ã¾ããVMwareServerã¨ãESXiã¨ã触ã£ã¦ã¦ããã®æµãã§VMwareServerã®IOã®ãã¥ã¼ãã³ã°ã試ã¿ããã¨æããbonnieâ¦
ã©ããkernel2.6.27以ä¸ã ã¨ãVMwareServerã®vmware-config.plã§vmmonãã³ã³ãã¤ã«ããéã«ãã¨ã©ã¼ã¨ãªã£ã¦ãã¾ããVMwareServerã使ããªãã£ããããã«ã¼ãã«ã®APIãå¤ãã£ããã¨ãããã辺ãªã®ããªãã è¿½è¨ VmwareServer2.0.1ã ã£ããkernel2.6.28ã§ããâ¦
ãªãã³ã®ã½ã¼ããã¯ããã¯2008 http://nippondanji.blogspot.com/2008/12/2008.html Using filesort http://nippondanji.blogspot.com/2009/03/using-filesort.html ãªãMySQLã®ãµãã¯ã¨ãªã¯é ãã®ãã http://nippondanji.blogspot.com/2009/03/mysql_25.htâ¦
ãã©ã¦ã¶ããSSLã§ã¢ã¯ã»ã¹ããéã«ãä¿¡é ¼ããã¦ãªã証æ¸ã¨ããã¨ã©ã¼ãã¤ã¢ãã°ãåºã¦ãè¯ãã®ã§ãä¸è¨ã®ãã¨ãå®ç¾ããããã§ãããå¯è½ãªã®ã§ããããï¼èª°ãç¥ã£ã¦ã人ããããæãã¦ä¸ããã WEBãµã¼ãã¯Apache 2.2.11ã§ãã ãããããã¨ã¯ãä¸è¨ã®ããâ¦
çµå±windows XP homeããã§ã¯iscsiã¯ã©ã¤ã¢ã³ããåããªãã®ã§ãã©ãããããã¨èãã¦ãæ´æ°é »åº¦ãé«ãéè¦ãªãã¡ã¤ã«ã¯å ¨ã¦SVNã§linuxã®svnãªãã¸ããªã«æ¾ãè¾¼ãã§ãã¼ã¸ã§ã³ç®¡çããããã«ãã¾ãããSVNã¯ã©ã¤ã¢ã³ãã¯TortoiseSVNã§ä¸è¨ãåèã«ãã¾ãããâ¦
ãã¾ã ã«Seagateã®HDDã使ãç¶ãã¦ãã£ã¦ãã¨ããããã ãã©ãæ¯æ¥Windowsã®ã³ã³ãã³ããããã¯ã¢ããããããªã¨æã£ã¦ã¾ãã èªå® ã®linuxãµã¼ãã«iscsiãå ¥ãã¦ãWindowsã«Microsoftãç¡æã§é å¸ãã¦ããiSCSI Initiatorãã¤ã³ã¹ãã¼ã«ãã¦windowsããiscsiâ¦
DBã®ãã³ããã¼ã¿ãå¥ãµã¼ãã«è»¢éãããããã¼ããªã©ã®ä»ã¡ãã£ã¢ã«æ¸ãåºãå ´åã«ãã¡ã¤ã«ã®æå·åããããã£ãã®ã§èª¿ã¹ããopensslã³ãã³ãã§ã§ããã¿ããã æå·åãã対象ã®ãã¡ã¤ã«ãä½æ $ vi hoge.txt aaaaaaaa ggggggggggg æå·åãããã¹ã¯ã¼ãã®â¦
ã¿ãã§è£å®ãã¦åè£ãå¤ããã£ãå ´åã¨ããæ®éã®ã·ã§ã«ã§ã¯ãã¼ãé³ãé³´ãã ãã®å ´åã«ã Wuff Wuff ã¨ããããããã«è¨èãåºåããã¦ãã¾ããããOFFã«ããæ¹æ³ã¯ãhomeãã£ã¬ã¯ããªã«.screenrcãä½ã£ã¦ä¸è¨ãè¨è¼ããã°OKã ã¤ãã§ã«ãç¾å¨éãã¦ãã端â¦
screenã¯ä»®æ³çã«è¤æ°ç«¯æ«ãä½ã£ã¦ãããèªç±ã«åãæ¿ããããã®ã§ããµã¼ã管çããéã«ãã使ãããã«ãªã£ããããã§åããµã¼ãã«è¤æ°TeraTermãç«ã¡ä¸ãã¦ãã°ã¤ã³ããªãã¦ããã³ã³ãã¤ã«ããªããè¨å®ãã¡ã¤ã«ãæ¸ãæããã¨ãç°¡åã«ãªããScreenã®è©³ããâ¦
CentOS5.2ã®ããã©ã«ãã«ã¼ãã«ã«ã¼ãã«2.6.18-92.el5-x86_64ããææ°ã«ã¼ãã«2.6.28ã«å¤æ´ãã¦ãã¼ãããã¨ãããiptablesã§ä¸è¨ã®ã¨ã©ã¼ãçºçã iptables-restore: line 20 failed /etc/sysconfig/iptablesã®ä¸ãè¦ãã¨ã20è¡ç®ã«COMMITã¨ããæåã -A Râ¦
ä¸è¨ããææ°ã«ã¼ãã«ãã¦ã³ãã¼ã ftp://ftp.kernel.org/pub/linux/kernel/v2.6//usr/src/kernels以ä¸ã«å±é ã¤ã³ã¹ãã¼ã«æã®configãã³ãã¼ cp /usr/src/kernels/2.6.18-92.el5-x86_64/.config /usr/src/kernels/linux-2.6.28/ ã¤ã³ã¹ãã¼ã«æã®configãâ¦
linuxã§CPU温度ãè¨æ¸¬ããéã«ã¯ãlm_sensorsã¨ããã½ãããå ¥ããã°ãããã§ãããyum install lm_sensorsã¨ãã¦ã¤ã³ã¹ãã¼ã«ãããã©ãã¨ã©ã¼ã§ãã¾ãåãã¾ããã§ãããã¨ããããã§ææ°çãä¸è¨ãããã¦ã³ãã¼ããã¦ã³ã³ãã¤ã«ãã¦ã¤ã³ã¹ãã¼ã«ï¼lm-sensâ¦
linuxã«ã¯cpuspeedã¨ãããã®ããããcentosã«ã¯æ¨æºã§å ¥ã£ã¦ããã®ã§ãchkconfigã§onã«ãã¦ãããã°åãã¾ã(/sbin/chkconfig cpuspeed on) ããã¯ãCPUè² è·ãä½ãæã«ã¯ãCPUã¹ãã¼ã(ã¯ããã¯æ° Hz)ãä½ããã¦ãã¢ã¤ãã«ç¶æ ã®æ¶è²»é»åãä½ããã¦ããã¾ãâ¦
UTF-8 Tera Term ProãWindowsã§ä½¿ã£ã¦ãã¾ãã http://www.vector.co.jp/soft/win95/net/se320973.htmlä»åã®å 容ã¯TTSSHãå«ããTera Termã対象ã§ãã®ã§UTF8çã§ãªãã¦ãåé¡ããã¾ããã Windowsããã¯Tera Termã§ãµã¼ãã«ãã°ã¤ã³ãã¦ä½æ¥ããã¦ãããâ¦
ãã¡ã®ãµã¼ãã¯Postgresã¨mysqlãåãã¦ãã¦ãããããå¤éã«å®æçã«ãã«ããã¯ã¢ãããåã£ã¦ãªã¢ã¼ããµã¼ãã«è»¢éãã¦ãã¦ãããã¨ããæã¯ãªã¢ã¼ããµã¼ãã«ãããã³ããã¡ã¤ã«ã使ã£ã¦ãªã¹ãã¢ä¸çºã§å ã«æ»ããããã«ãã¦ã¾ããä»åã¯Postgresã¨mysqlã®â¦
ãµã¼ãéç¨ãã¦ãã¦ããã¾ã«MRTGã®çµæããCPUè² è·ãé«ããªãæéãæ¥ããã£ãããã¾ãã æè¿ã§ã¯ãSSHã®ç·å½ããè¾æ¸æ»æãä¸å½ãªã©ããåãã¦ã¦é«ããªã£ã¦ã¾ããã/var/log/secureãã¡ã¤ã«ã®ãµã¤ãºã大ãããªã£ã¦ã¦ãä¸ãè¦ããsshã®èªè¨¼ã失æãã¦ãããâ¦
Seagateã®HDDãçªç¶åããªããªããããããªãåé¡ã§ãæ¨æ¥ãã調æ»ãã¦ã¾ãã http://calves.jugem.jp/?eid=500ãã¡ã®HDDã¯2æ¬ãã£ã¦ãã©ã¡ãããªã³ã©ã¤ã³ã®ã·ãªã¢ã«ãã§ãã¯ã§ã¯åé¡ç¡ãã¨ããããã®ã§ããããã©ã¼ã©ã ã®ä¸ã§ã¯åé¡ãªãã¨è¨ããããã®ã§ãâ¦
ããã¯ãããã ã¸ã£ã¼ããªã³ã°ã¢ã¼ããå¤æ´ãã¦Writeããã©ã¼ãã³ã¹ãä¸ããè¨å®ããã ãé»æºæã«ãã£ã¦ãã¼ã¿ã復æ§ã§ããªãå ´åãããã®ã§ãUPSã¯ãã£ãã»ããããããã£ãã·ã¥ã®ã¿ãç½®ããã¼ãã£ã·ã§ã³ãããã°å¹æçã http://www.drk7.jp/MT/archives/â¦
http://www.itmedia.co.jp/news/articles/0812/18/news044.html èªã¿åºãé度ã¯æ大240Mãã¤ãï¼ç§ãæ¸ãè¾¼ã¿é度ã¯æ大200Mãã¤ãï¼ç§ãã¤ã³ã¿ãã§ã¼ã¹ã¯Serial ATA IIãç¾å¨ãµã ã¹ã³ã256Gã®SSDãåºãã¦ããã©ããã®2åã®å®¹éã¨ã¯ããæ±èæ¬æ°ã ãã ã©ã³â¦
éåºãããæ¸ããVMwareè¨äºãVMwareã§ã¯ã¾ã£ããã¤ã³ããããStraceãªã©ã使ã£ã¦ãããã¯ãã¦åå ãæ¢ã£ã¦ããæ§ãæ¸ãã¦ããã¾ããé¢ç½ãããVMware Server使ãã®æ鬱ã http://wizardbible.org/43/43.txt