Featured Partner Articles Cloud cost optimization best practices Read moreHow to choose a cloud provider Read moreDigitalOcean vs. AWS Lightsail: Which Cloud Platform is Right for You? Read more
ãLinuxã£ã¦ã©ãçºé³ãã¾ããï¼ãã¨ãã質åãæ¥ãã®ã§ããã®æ¹ã«çããã¤ãã§ã«æ¸ãã¦ããã¾ãã Linuxã£ã¦ä½ã ã£ãï¼ æ®æ®µããã°ã©ãã³ã°ã«é¢ããã®èãæ¹ã¸ãç°¡åã«èª¬æãã¾ãã Linuxã¯OSï¼ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ï¼ã®ä¸ã¤ã§ããæ¬ãã¨ãã¦ã¯ãWindowsãMac OS Xãªã©ã¨åãã§ãã Linux - Wikipedia 家åºç¨OSã¨ãã¦ã¯è¡¨ã«åºã¾ãããã主ã«ä¸è¨ã®ç¨éã§ä½¿ããã¦ãããã¤ã³ã¿ã¼ãããæ代ã®ITã®å¤§é»æ±ã¨ãã¦é常ã«æ®åãã¦ãã¾ãï¼ Androidã®ãã¼ã¹ï¼Androidèªä½ã¯ãæ¬æ¥ã¯OSã®ååï¼ Webãµã¼ãã®ã»ã¨ãã©ã¯Linuxç³»OSï¼å ¨ä½ã®96.45%ï¼ 2016å¹´4æã®ãã¼ã¿ï¼OS Usage Trends and Market Shareã®"OS Market Share and Usage Trends"ããï¼ Linuxã®çºæè ãªã¼ãã¹ã»ãã¼ãã«ãº
ããã«ã¡ã¯! 赤é«ã®ãµã³ã¿ã¯ãã¼ã¹ãã¨ãããã¾ãã§ãã ä¹ ã ã«ãä»åã¯ITé¢é£è¨äºã§ãã ãã¿ã¤ãã«ã®è¨ã£ã¦ããæå³ãåãããï¼ãã¨ããæ¹ããããç¥ã£ã¦ãããå®çªã ãå°å§ï¼ãã¨ããæ¹ã«ã¨ã£ã¦ã¯ããã®ãããéå±ã ã¨æãã¾ãã®ã§ã ä»ããè¨äºãéãã¾ãããç¬ ããããªæ¹ã«ã¯è¯ãããã ã»SSHãã°ã¢ã¦ãå¾ããããã¸ã§ããç¶ããã ã»æ¢ã«å®è¡ãã¦ãã¾ã£ãã³ãã³ããããã¯ã°ã©ã¦ã³ãã«åãæ¿ããã SSHæ¥ç¶ã§æéã®æããã·ã§ã«ã¹ã¯ãªãããããã¯ã°ã©ã¦ã³ãã§èµ°ããã¦ä½æ¥ãçµãããã®ã«ã SSHæ¥ç¶ãåãã¨ã¸ã§ããçµäºãã¦ãã¾ãã¾ãã ã¾ããSSHæ¥ç¶ã«éãããç®ã®åã®OSãããã°ã¢ã¦ããããã¿ã¼ããã«ãçµäºãã¦ãåãç¾è±¡ãèµ·ããã¾ãã ããã¯ãã³ã°ã¢ããã·ã°ãã«ã«ãã£ã¦ãã³ãã³ããçµäºããã¦ãã¾ãããã§ãã ã©ãããã°è¯ãã®ãï¼ï¼ 解決ç: ä¸è¨ã®ããã«ã nohup ãã³ãã³ãã使ç¨ããã & ã
morimorihoge ã§ããæè¿ã¯ããããã²ã¼ã ãã§ãã¦ãæãã¦å ¨ã¦ã®æ°åãåããã¦ãã¾ããé å¼µãã¦ãªãã§ãã湿æ°ã»ãã¨ã¤ããã ãã¦ããã¤ãã®ããã«ã¯ã¦ããçºãã¦ããããQiitaã® LinuxCUIåå¿è ãæ©ãç¥ãããã£ãã³ãã³ã(æä½ã) ã¨ããè¨äºã«ã¡ããã¡ãããã¬ãã£ããã³ã¡ãã¤ãã¦ããããã®ä¸ã« ãã³ã¡ã®äººãã¡ãé«ãã¬ãã«ã®ãã®ã綺éºã«ã¾ã¨ã¾ã£ããã®ãèªã¿ããã£ããåãã¡ããã®è¨äºãæ¸ãã°ããããããªãããªããã®è¨äºã¯ã¿ã¤ãã«ã©ããã ã¨æãããCtrl+Uãæ¸ãã¦ããã ãã§ãå©ãã人ã¯ããã ã¨ããã³ã¡ã³ãããã£ã¦ç¢ºãã«ãã®éãã ãªãã¨æã£ãã®ã§ãå°ãå è¨äºã«æ¬ ãã¦ããªã¼ã¨æã£ãé¨åãè£å®ãã¤ã¤ã¾ã¨ãã¦ã¿ã¾ãã â»2017/07/31 12:30 ãã³ã¡ã§é ããæ å ±ãåæ ãã¾ããï¼ã³ãã³ãç·¨ï¼ åæ æãããã®è¨äºã¯RedHatç³»ãã£ã¹ããªãã¥ã¼ã·ã§ã³ï¼RHEL, Cent
sort ã³ãã³ã 2016/10/11 è¡ã並ã³æ¿ããã§ããã³ãã³ãã foo.txt ã以ä¸ã®å 容ã®å ´åã $ cat foo.txt 3 44 111 11 333 33 4 4a abc ab ac sortã³ãã³ãã使ãã¨ä»¥ä¸ã®ããã«è¾æ¸é ã«ã½ã¼ããã¦ãããã $ sort foo.txt 11 111 3 33 333 4 44 4a ab abc ac -n ãªãã·ã§ã³ãä»ããã¨æ°åã¯æ°å¤ã¨ãã¦ã½ã¼ããã¦ããããæ°åã§ãªããã®ã¯è¾æ¸é ã«ãªãã¿ããã $ sort -n foo.txt ab abc ac 3 4 4a 11 33 44 111 333 1ã¤ä»¥ä¸ã®ã¹ãã¼ã¹ã§åºåãããè¤æ°åã®ãã¼ã¿ã®å ´åã«ã½ã¼ããã¼ã¨ãªãåãæå®ãã¦ã®ã½ã¼ããã§ããã 以ä¸ã®ãããª2åã®ãã¼ã¿ãããã¨ãã¦ã $ cat foo.txt 1 3 2 44 3 111 4 11 5 333 6 33
ãã¥ã¼ã¹ 2004/04/14 17:39 æ´æ° ãUNIXéçºè ã®ããã¯ãã¢ãæãåºããââLinuxã®è»äºå©ç¨ã«è¦é Linuxã®é²è¡ã·ã¹ãã ã¸ã®æ¡ç¨ã«å¯¾ããç±³ã½ããä¼ç¤¾ã®CEOãè¦åãçºãããUNIXéçºè ãä»æããããã¯ãã¢ã14å¹´éçºè¦ãããªãã£ããã¨ãæã¡åºããã大å¢ã§ã½ã¼ã¹ã³ã¼ããç£è¦ãã¦ãåé¡ãé²ããªããã¨ææï¼IDGï¼ã Linuxã®ã½ã¼ã¹ã³ã¼ããã大å¢ã®ç®ãã§ç£è¦ãããã¨ã§ãåé¡ãè¿ éã«çºè¦ããããæ¹ã«é ¼ã人ã ã¸ã®è¦åã¨ãã¦ãGreen Hills Softwareã®CEOï¼æé«çµå¶è²¬ä»»è ï¼ã¯å é±ãUNIXéçºè ã®ã±ã³ã»ãã³ãã½ã³æ°ãããã¹ã¦ã®UNIXã·ã¹ãã ã«èªåçã«åæ°ã®ã¦ã¼ã¶ã¼åã¨ãã¹ã¯ã¼ããä»å ããããã¯ãã¢ããã©ããã£ã¦UNIXã®ãã¤ããªã³ã¼ãã«åãè¾¼ãã ãââããã¦ãã®ç§å¯ãæããããã®ã¯14å¹´å¾ã ã£ããã¨ââãææããã ãã¼ã¸ãã¢å·ãã¯ãªã¼ã³ã§éå¬ããã
å»çç³»ã®ä»äºããã¦ãã¾ããçå½ã®å°ããç¾ãããã©ã®ãããªã¡ã«ããºã ã§çããã®ãã«èå³ãããã¾ããç§å¦ã®æ¹æ³è«ãç¨ãã¦ããã®ãããªåãã«å¿ããããç§ã¯ããæã£ã¦å»å¦çç©å¦ã®åºç¤ç 究ã®ãã¬ã¼ãã³ã°ãåãã¦ãã¾ãããçå½ãç§å¦çææ³ãç¨ãã¦ç解ã試ã¿ãä¸ã§ãgenomeãå§ãã¨ãã種ã ã®å¤§éãã¼ã¿ã®å¦çãå¿ è¦ä¸å¯æ¬ ã§ãããã¨ãçæãã¾ãããã¾ããçå½ç§å¦ãç©çå¦ãæ°å¦ãçµ±è¨å¦ãææ©åå¦ãªã©ã®ç¨®ã ã®å¦åã¨æ·±ãé¢ãããæã¤ãã¨ãå®æãã¾ããããã®ããããã®ããã°ã¯åºç¯å²ã®å¦åé åã«é¢ãã¦ã®è¨äºãè¼ãã¦ãã¾ããæ¥ã ã®å¦ç¿å 容ãææ¸ã«æ¸ãæ®ãããããèªã¿è¿ããã¨ã«ãã£ã¦ãä½ç³»åãããç¥èã身ã«ä»ãããã¨ãç®æ¨ã¨ãã¦ãã¾ããã©ãããããããé¡ããã¾ãã ãã¨ãã°ä»¥ä¸ã®ãããªãã¡ã¤ã«ããã£ãã¨ãã¾ãï¼ãã¤ã¯ãã¢ã¬ã¤ãªã©ã®ãã¼ã¿ãæ³å®ãã¦ãã¾ãï¼ $ cat example.txt aaa bbb aaa c
ssh-keygen -R hostname 㯠~/.ssh/known_hosts ãã対象ãã¹ãã®ãã¹ããã¼ãåé¤ãã¦ãããã è¤æ°ããã°å ¨é¨æ¶ãã¦ããããããã·ã¥åããã¦ãã®ãããã¦ãªãã®ãå ¨é¨æ¶ãã¦ãããã®ã§ä¾¿å©ã known_hostsãã¡ã¤ã«ãã¨ãã£ã¿ã§éãã¦ã¨ã©ã¼ã¡ãã»ã¼ã¸ã§ææãããè¡æ°ã¾ã§ç§»åãã¦æã§åé¤ããã®ãªãããã100å楽ã ssh-keyscan ã¯å¯¾è±¡ãã¹ãã®ãã¹ããã¼ä¸è¦§ãåå¾ããã³ãã³ãã ç¡è¨ã§å®è¡ã§ããããä¸æ¦æåã§ssh試ã¿ã¦ããã³ããã§yesã¨ããããã使ãåæãè¯ãã -Hãªãã·ã§ã³ãä»ããã¨ãã¹ãåãããã·ã¥åããããç¡ããªãæãªããã«çã®ãã¹ãåã§åºåããããä»æã¯ããã·ã¥åãã¨ãã°è¯ãã¨æãã 注æç¹ï¼ 追è¨ããçºã® >> ãééã㦠> ã¦æ¸ãã¨æ¢åã®ãã¼ãå ¨é¨æ¶ããã®ã§æ°ãã¤ãããã¨ï¼ ã¡ãã£ã¨é²åç³» HashKnownHosts y
ãã¾ã ã«Chefã®ãããªãã£ããããã¼ã«ã使ããªãåã¯ãã¤ã³ãã©ã®è¨å®ãã·ã§ã«ã¹ã¯ãªããã§ã¤ãã¤ãã¨æ®ãã¦ããããã¾ãã è¨å®ãã¡ã¤ã«ã®æ¸ãæããä½æãªã©ãå°ãé¢åã§ãcatã³ãã³ãã§ããã¹ããåããã¦åºåããã¡ã¤ã«ã«ãªãã¤ã¬ã¯ãããã¦æ¸ãè¾¼ã¿ã¾ãã cat << 'EOT' > ./config Host myserver HostName 8.8.8.8 User katty0324 EOT ããããæãã§ãã æ¸ãè¾¼ã¿æ¨©éããªãã¨catã®åºåãæ¸ãè¾¼ããªã ããã¯æ¸ãè¾¼ã¿å ã®ãã¡ã¤ã«ã®æ¨©éãããã°è¯ãã®ã§ããã権éããªãã¨æ¸ãè¾¼ããªããããªå ´åãå°ãå°ãã¾ãã sudo chmod u-w ./config ããã¨æ¸ãè¾¼ã¿æ¨©éãé¤å»ãã¦åãã³ãã³ããå®è¡ãã¾ãã $ cat << 'EOT' > ./config > Host myserver > HostName 8.8.8.8
Description Lsyncd uses a filesystem event interface (inotify or fsevents) to watch for changes to local files and directories. Lsyncd collates these events for several seconds and then spawns one or more processes to synchronize the changes to a remote filesystem. The default synchronization method is rsync. Thus, Lsyncd is a light-weight live mirror solution. Lsyncd is comparatively easy to inst
Jenkinsã§ææç©(artifact)ãrsyncã§ã³ãã¼ãããã¨æã£ããã¨ã©ã¼ã§JOBã失æ ãã¡ã¤ã«ã¯ã³ãã¼åºæ¥ã¦ãã ããããrsyncã®æ»ãå¤ãã¨ã©ã¼ãªã®ã§JOBã®ã¹ãã¼ã¿ã¹ã失æã«ãªã£ã¦ãã¾ãã Jenkinsããå®è¡ãã¦ããrsyncã¯ä»¥ä¸ã®éãã $ rsync -acv --delete _site/ www.example.com:/var/www/html/. ã¨ã©ã¼ã¯ã rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0] ã¨ãã rsync: failed to set times on "/var/www/html/.": Operation not permitted (1) ãªã©ã ã
Netflixã®ããã©ã¼ãã³ã¹ã¨ã³ã¸ãã¢ã§ããçè ããã®ãtopã³ãã³ããªã©ã§è¡¨ç¤ºãããCPU使ç¨ç(%CPU)ã¯ããã¾ãæ¬å½ã®ä½¿ç¨çã表ãã¦ãããããã¥ã¼ãã³ã°ãªã©ã®ããã®ææ¨ã¨ãã¦ä½¿ããªãã¨ããææããªããããªã£ã¦ãã¾ã£ãã®ããä½ãè¦ãã°æ¬å½ã®CPU使ç¨çããããã®ãããããããã解説ããè¨äºã ç§ãã¡ã¿ããªãCPU使ç¨çã¨ãã¦ä½¿ã£ã¦ããææ¨ã¯é常ã«èª¤è§£ãæããã®ã§ããã®ç¶æ³ã¯æ¯å¹´æªåãã¦ãã¾ããCPU使ç¨çã¨ã¯ä½ã§ããããï¼ããã»ããµã¼ãã©ã®ãããå¿ãããï¼éãã¾ããCPU使ç¨çã表ãã¦ããã®ã¯ããã§ã¯ããã¾ãããç§ã話ãã¦ããã®ã¯ããã¡ãã¡ã§ããããã人ãã¡ã«ãããããç£è¦è£½åã§ããããã¯top(1)ã§ã使ããã¦ããã"%CPU"ã¨ããææ¨ã®ãã¨ã§ãã ããªãã®èãã¦ããã§ãããCPU使ç¨ç90% : å®é : "stalled"(訳注 : 以ä¸ã¹ãã¼ã«ã¨è¨ã)ã¨ã¯ãããã»ããµã¼ã
SSHãµã¼ãã¼ã®åæè¨å®ã¯ã22çªãã¼ããå©ç¨ãã¾ãããã®ãã¼ãçªå·ã¯ä¸è¬çã§åºãç¥ããã¦ãããããä¸æ£ä¾µå ¥ã®ãªã¹ã¯ãé«ã¾ãã¾ããããã§ãä»åã¯SSHã®ãã¼ãçªå·ã22çªããå¤æ´ããæ¹æ³ã解説ãã¾ãã SSHã®ãã¼ãçªå·ãå¤æ´ SSHã®ãã¼ãçªå·ãå¤æ´ããããã«ãSSHã®è¨å®ãã¡ã¤ã«ï¼/etc/ssh/sshd_configï¼ãç·¨éãã¾ããSSHãµã¼ãã¼ã«ãã°ã¤ã³ããrootã«ãªãã¾ãã SSHã®è¨å®ãã¡ã¤ã«ï¼/etc/ssh/sshd_configï¼ãããã¯ã¢ãããã¾ãã # cp /ssh/sshd_config /ssh/sshd_config.old ãã¼ãçªå·ã®å¤æ´ ãã¼ãçªå·ãå¤æ´ããããã«ãSSHè¨å®ãã¡ã¤ã«ï¼/etc/ssh/sshd_configï¼ã®Porté ç®ãç·¨éãã¾ãã # What ports, IPs and protocols we listen for Po
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}