ç¾å¨ã®å ´æ : ãã¼ã > ãããã®åºç¤ç¥è > tar/zipã³ãã³ãã§è§£åã»å§ç¸®ä¸è¦§ã¾ã¨ãï¼gzãzipãtar.xzãªã©ï¼
Linuxã§ããã»ã¹ãçµäºããããæã©ããããã æ®éã¯ãkillã³ãã³ãã使ã£ã¦ãããã»ã¹ããã³ã¸ã§ããçµäºãããã kill ããã»ã¹ID ããããããã§ã¯ããã»ã¹ãçµäºãããããªãæãããã ããããæã¯ãã·ã°ãã«ãéã£ã¦ãããã¨è§£æ±ºãããã¨ãå¤ããçµäºã®æ¹æ³ã¯ã·ã°ãã«ã«ãã£ã¦æ±ºã¾ãã killã®ä½¿ãæ¹ kill [ãªãã·ã§ã³] [ã·ã°ãã«] [ããã»ã¹ID] â» ã·ã°ãã«ã¨ã¯ãããã»ã¹ã«å¯¾ãã¦éä¿¡ããã¡ãã»ã¼ã¸ã®ãããªãã®ã â» ã·ã°ãã«ã¯ããã©ã«ãã§ãTERMï¼15ï¼ï¼çµäºï¼ãéä¿¡ãããã é常ã¯ãTERMã·ã°ãã«ãåãåã£ãããã»ã¹ã¯çµäºããã ããããTERMã·ã°ãã«ã§ããã»ã¹ãçµäºããªãå ´åãããã ããããæã¯ãã·ã°ãã«KILLï¼15ï¼ï¼å¼·å¶çµäºï¼ãå®è¡ããã¨ã大æµã®å ´åããã»ã¹ãçµäºã§ããã ãã ããå¼·å¶çµäºã«ããå ´åãé害ãå¼ãèµ·ããå¯è½æ§ãããã®ã§ã注æãå¿ è¦ããã
æé è¨å ¥ã«ã¼ã« ã³ãã³ãè¡é è¨å·ã§ ã$ãã¯ã¦ã¼ã¶æ¨©é ã#ãã¯ã¹ã¼ãã¼ã¦ã¼ã¶ã¼æ¨©é ã表示 ã³ãã³ããé·ããªãå ´åã¯ãè¡æ«ã«ã\ããè¨è¿°ãè¤æ°è¡ã«è¨è¿°ã ã²ã¹ãOSå®è¡ç®¡ç ã²ã¹ãOSèµ·å/åæ¢ ä»®æ³åèµ·å # virsh start KVMguest ç¢ºèª # virsh list --all åæ¢ # virsh shutdown KVMguest â»ãã¾ãåæ¢ããªãå ´åããããã²ã¹ãOSãã°ã¤ã³å¾ã·ã£ãããã¦ã³ã®ã»ããç¢ºå® å¼·å¶é»æºæ # virsh destroy KVMguest ã²ã¹ãOSä¸æä¸æ/åé ä¸æä¸æ # virsh suspend KVMguest åé # virsh resume KVMguest ã²ã¹ãOS追å (qemuã³ãã³ã) VNCè¨å® â»Windowsæ¨æºã®ãªã¢ã¼ãã¢ã¯ã»ã¹ã使ããªãç°å¢ã§ãªã¢ã¼ã管çãè¡ãå ´åVNCãå©ç¨ãã ãµã¼ãã®ãªã¢ã¼ã管ç
Fedora Coreãæ¨æºã§æ¡ç¨ãã¦ããyumã³ãã³ãã¯ãRPMããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«ãã¢ã³ã¤ã³ã¹ãã¼ã«ãã¢ãããã¼ããªã©ãè¡ãããã®ããã°ã©ã ã ã Fedora Core 1ãèªåæ´æ°ããã«ã¯ï¼yumç·¨ï¼ã§èª¬æããããã«ãã·ã¹ãã ãæ´æ°ããã ãã§ããã°ã
èªåç¨ã®åå¿é²ã«è¿ãã§ãããLinuxã§HDDã調ã¹ãã³ãã³ããéãã¦ã¿ã¾ããã ããå°ãåãããããã¾ã¨ãããæã§ãããæéãç¡ãã®ã§ã¨ããããã§ãã /dev/以ä¸ãè¦ã¦ãã©ããªããã¤ã¹ãããããç¥ã /dev/hda IDEãã©ã¤ããªã¼ã®ãã¹ã¿ã¼ãã£ã¹ã¯ /dev/hda1 hdaã®ç¬¬1åºæ¬ãã¼ãã£ã·ã§ã³*1 /dev/hdb IDEãã©ã¤ããªã¼ã®ã¹ã¬ã¼ããã£ã¹ã¯ /dev/hdb5 hdbã®ç¬¬1è«çãã¼ãã£ã·ã§ã³*2 /dev/hdc IDEã»ã«ã³ããªã¼ã®ãã¹ã¿ã¼ãã£ã¹ã¯ /dev/hdd IDEã»ã«ã³ããªã¼ã®ã¹ã¬ã¼ããã£ã¹ã¯ /dev/sda SATA or SCSI*3 /dev/md0 ã½ããã¦ã§ã¢RAID $ ls -l /dev/hd* brw-rw---- 1 root cdrom 3, 0 2008-12-20 04:58 /dev/hda /dev/hdaã¯å ãã£ã¹
ã²ãã³ãæ´æ°ã ä»åã¯ãHDDããã¤ã¹åãdmesgã³ãã³ãã§èª¿ã¹ãæã®äºãèãã¦ã¿ã¾ãã dmesgã§åºåãããã¡ãã»ã¼ã¸ã¯çµæ§é·ãã®ã§ãgrepãªã©ã®æ¤ç´¢ãå©ç¨ãããã®ã§ãããHDDãPATA(=IDE)æ¥ç¶ã®ã¨ãã¨ãSATAæ¥ç¶ã®ã¨ãã§ãæ¤ç´¢ãã¿ã¼ã³ãå¤ããªãã¨ãããã§ãããã®ãã¿ã¼ã³ã«ã¤ãã¦ä»¥ä¸ã«è¨è¿°ã ãªãã以ä¸ã®æ¹æ³ã¯Linux Kernel2.6ç³»ã®è©±ã§ãã Linux Kernel2.4ç³»ã ã¨ãSATAãhdaã¨ãã§èªèãããããã®ã§ã * HDDãPATAã®å ´å dmesg | grep hdã使ãã¾ãã $ dmesg | grep hd ide0: BM-DMA at 0x1810-0x1817, BIOS settings: hda:DMA, hdb:pio hda: TOSHIBA MK4025GASL, ATA DISK drive hda: max reque
Geoffâs site: The Silver Searcher: Better than Ack ggreer/the_silver_searcher · GitHub ãã¿ã¼ã³æ¤ç´¢ã«ã¯ackãå©ç¨ãã¦ãã¦ãé常å©ç¨æã«ã¯ç¹ã«ä¸æºã¯ç¡ãã£ããã§ããã ãã¡ã¤ã«æ°ãå¤ããã£ã¬ã¯ããªã ã¨é ãã£ãã®ã§ããã£ã¨ä»ã®æ¹æ³ãç¡ããã¨èª¿ã¹ã¦ããã ackã®3ã5åéãã¨ããThe Silver Searcherã¨ãããã®ã ãã£ãã®ã§å°å ¥ã The Silver Searcherã®ç¹å¾´ å ¬å¼ã«æ¸ãã¦ããThe Silver Searcherã®ç¹å¾´ ackã®3ã5åé«é .gitignoreã.hgignoreã«è¨è¼ããã¦ãããã®ãæ¤ç´¢å¯¾è±¡ããé¤å¤ æ¤ç´¢å¯¾è±¡ããé¤å¤ããããã¡ã¤ã«ã¯.agignoreã«è¨è¼ agã¨ããã³ãã³ãåã§ãackã¨æ¯ã¹ã¦ã³ãã³ããçã(33%æ¸!) ãªãé«éãªã®ã㯠https
ãµã¼ãã¼ã®ãªã½ã¼ã¹ãè¦ãã«ã¯ã°ã©ãåã¯éè¦ã§ãããæ¨ç§»ã§ã¯ãªããªã¢ã«ã¿ã¤ã ãªç¶æ³ãä¾ãã°ç§åä½ã®ã¹ãã¤ãã¼ãªè² è·ãè¦ãã«ã¯ããµã¼ãã¼ä¸ã§vmstatãiostatãªã©ã®*statãã¡ããªã¼ãå©ãå¿ è¦ãããã¾ãã ãã¦ãvmstatã¯ã¡ã¢ãªã®ç¶æ³ããããã¯æ°åä½ã®I/Oç¶æ³ã¯è¦ããã¾ããããã¤ãåä½ã®I/Oç¶æ³ããããã¯ã¼ã¯ã®éä¿¡ãåä¿¡ãã¤ãæ°ãè¦ããã¨ã¯ã§ãã¾ããã # vmstat 1 procs -----------memory---------- ---swap--- -----io----- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 3 1 0 4724956 355452 726532 0 0 54 484 3 3 1 0 99 0 0 2 0 0 47
ãµã¼ãã®åä½ã«ç°å¸¸ãçºçããéã«åå ãæ¢ãããã®Linuxã³ãã³ãã§ãèªåç¨ã®ã¡ã¢ã§ãã å ¨ã¦manã¨ãã°ã°ã£ããåºã¦ããã®ã§èª¬æã¯é©å½ã§ããæãã¤ãããå¾ã§è¿½è¨ãã¦ããããã§ãã 対象ã¯Debian Squeezeã«ãªãã¾ãã å ¨ã¦ããã±ã¼ã¸ã¤ã³ã¹ãã¼ã«ã§ãããã®ã§ãããã±ã¼ã¸å㯠[in packagename] ã¨ãã¦ããã¾ãã åæããã³ã¡ã³ããããã¨ããããã¾ãã è¯ãæ°ãªã³ãã³ãã¯è¿½è¨ãã¦ããã¾ãã ï¼è¿½å ããã³ãã³ãï¼ * telnet (+ã³ã¡ã³ã wget, netcat) * arp (+ã³ã¡ã³ã arpwatch) * pstree * fdisk ã³ã¡ã³ãã« gdisk * host, dig * watch * reboot
arch # 以ä¸ã®ããã«è¡¨ç¤ºããã¾ã # 64bitã®å ´å X86_64 # 32bitã®å ´å i686 # 以ä¸ã®ã³ãã³ãã§ãOK uname -a # CentOS6ã®è¡¨ç¤ºä¾ Linux localhost.localdomain 2.6.32-279.2.1.el6.x86_64 #1 SMP Fri Jul 20 01:55:29 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux # CentOS7ã®è¡¨ç¤ºä¾ Linux localhost.localdomain 3.10.0-327.28.2.el7.x86_64 #1 SMP Wed Aug 3 11:11:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}