/dev/null ã¸ã®åºåã¯ããã£ã¹ã¯ã«æ¸ãè¾¼ã¾ãããã¨ã¯ãªããå ¨ã¦ç ´æ£ããããä¾ãã°ã³ãã³ã hoge ã®å®è¡æéãè¨ãããã¨ãã¯
/dev/null ã¸ã®åºåã¯ããã£ã¹ã¯ã«æ¸ãè¾¼ã¾ãããã¨ã¯ãªããå ¨ã¦ç ´æ£ããããä¾ãã°ã³ãã³ã hoge ã®å®è¡æéãè¨ãããã¨ãã¯
ï¼ã¤ã®ãã¡ã¤ã«ã«å ±éããè¡(ç©éå)ãåºåãããå ´å㯠$ cat foo.txt bar.txt | sort | uniq -dï¼ã¤ã®ãã¡ã¤ã«ã®ã©ã¡ããã«å«ã¾ããè¡(åéå)ãåºåãããå ´å㯠$ cat foo.txt bar.txt | sort | uniqçæ¹ã®ãã¡ã¤ã«ã«å«ã¾ããããçæ¹ã®ãã¡ã¤ã«ã«å«ã¾ããªãè¡ãåºåãããå ´åã¯ãç©éåãéè¤ããã¦uniq -uããã°è¯ãã®ã§ $ cat foo.txt <(cat foo.txt bar.txt | sort | uniq -d) | sort | uniq -uããã»ã¹ç½®æã使ã£ã¦ãã¾ã£ããã ï¼ã¤ã®ã·ã¹ãã ãå ¨ãç°ãªãã·ã¹ãã ãªãã ãå ±éããIDã使ã£ã¦ãã¦ãéè¤ãã¦ãããã®ãæ¢ãããã£ãããããããããå ´åã¹ã¯ãªããæ¸ãã®ããé¢åãªã®ã§IDã®ãªã¹ããåºåãã¦ã³ãã³ãã ãã§ã§ããªãããªã¨æã£ãã®ã§ã
rsyncã使ãããªãã°ãããªããæ³å®ããããã¯ã¢ããã®ãã¼ãºã®ã»ã¨ãã©ã«å¯¾å¿ã§ããããã«ãªããããã§ã¯ãããªããrsyncãã¹ã¿ã¼ã«ããããã®ãã¤ã³ãã解説ããã ãã®2ã«æã§ãããã¯ãã¡ãã¡ã«åºãããããã®éãã¡ã¤ã³ã§ä½¿ã£ã¦ãããã¹ã¯ãããã³ã³ãã¥ã¼ã¿ã¯ç ã£ãã¾ã¾ã ã£ããããrsyncã使ãããªãã¦ããªãã£ããããã£ã¨åä»ãªãã¨ã«ãªã£ã¦ããã ããããããããã®ã¦ã¼ãã£ãªãã£ãå®æçã«ä½¿ã£ã¦ãããããã§ããã§ã«ãããã®ãã¼ã¿ï¼ã¨ã«ãããã®å¤§é¨åï¼ã¯å¥ã®å ´æã«ã³ãã¼ããã¦ãã¤ã§ã使ããç¶æ ã«ãªã£ã¦ãããrsyncã®ç¿å¾ã«ã¯å°ãæéãæãããããã£ããè¦ãã¦ãã¾ãã°ãããçãã¹ã¯ãªããã使ã£ã¦ããã¯ã¢ããã®ãã¼ãºã®ã»ã¨ãã©ã«å¯¾å¿ã§ããããã«ãªãã¯ãã ã rsync ã®ç´ æ´ãããã¯ã©ãã«ããã®ãã1ã¤ã¯ãæ¯åãã¡ã¤ã«ã丸ãã¨ã³ãã¼ããã®ã§ã¯ãªããæ°æ§ãã¡ã¤ã«éã®å·®åãã³ãã¼ãããã¨ã§ãã¡ã¤ã«è»¢
MacPortsãã©ã«ãã¸ã®ç°å¢å¤æ°ã®éãæ¹ã§æ±ºã¾ãã $PATHã®ä¸ã§å ã«æ¸ãã¦ããæ¹ãè¦ã«è¡ãããã ã MacPortsåªå .bash_profile export PATH=/opt/local/bin:/opt/local/sbin/:$PATH ä¸è¨ã®æ¸ãæ¹ã ã¨ãMacPortsã§å ¥ãããã®ãåªå ãããã /opt/local/bin ãMacPortsããã¤ã³ã¹ãã¼ã«ãããã½ãããæ ¼ç´ãããå ´æã æ¢åã®$PATHãå¾ãã«è¿½å ãã¦ããããMacPortsã®ãã®ãåªå ãããã ããã©ã«ãåªå .bash_profile export PATH=$PATH:/opt/local/bin:/opt/local/sbin/ /usr/bin ã«ããrubyãåªå ããããçç±ã¯åãã å½ç¶ãããããªããã© Rubyã«éãããMacã«æåãããã£ã¦ãMacPortsã§ãå ¥ãããã®å ¨ã¦ã«é©
å®æçã«ã³ãã³ãå®è¡ãã§ããcronã«è¨è¿°ããå ´åï¼crontab -eãªã©ã¨æå®ï¼ãå ´åã«ãã£ã¦ã¯å®è¡çµæãã¨ã©ã¼åºåãã¹ãã ã¨åãã¦rootå®ã«ã¡ã¼ã«ããã¦ãã¾ãããã®ããåºåãããå®è¡çµæã®ã¡ãã»ã¼ã¸ã¯ãã¨ã©ã¼æã ãã«æãããªã©ç ´æ£ãããã®ãä¸è¬çã ã ãã¨ãã°ç¹å®ã®ããã°ã©ã ãã³ãã³ãã©ã¤ã³ã§æ¬¡ã®ããã«æå®ããå ´åï¼ããã§ã¯ä¾ã¨ãã¦Webalizerãæããï¼ã 1>file1ã®ã1ãã¯ãæ¨æºåºåããæãããfile1ããã¡ã¤ã«ã«åºå 2>file2ã®ã2ãã¯ãæ¨æºã¨ã©ã¼åºåããæãããfile2ããã¡ã¤ã«ã¸ãã¡ã¤ã«ã«åºåï¼ä¿åï¼ãããã ããã«å ·ä½çãªè¡¨ç¤ºä¾ãæãã¦ã¿ããã 1. é常ã®ã³ãã³ãå®è¡ã«ãã表示 # webalizer [new_nlist] Warning: String exceeds storage size Webalizer V2.01-06 (Linux
ã¨ããããããã§ã¯CentOS5.3ã«æ¨æºã§å ¥ã£ã¦ãcronã§ã®è©±ã¨ãããã¨ã§ crondã¯åãã¦ããã å®è¡ãã¡ã¤ã«ã®æ¨©éã¯æ£ããã cronã®ãã°ã確èªãã¹ã ã¨ãããã¨ã§ crondã¯åãã¦ãã¾ããï¼ # /etc/rc.d/init.d/crond status crond (pid xxx) ãå®è¡ä¸...ã§åãã¦ãããç¢ºèª # chkconfig --list crond crond 0:off 1:off 2:on 3:on 4:on 5:on 6:offã§2-5çªã¾ã§onã«ãªã£ã¦ãã¾ããï¼ å®è¡ãã¡ã¤ã«ã®æ¨©éã¯æ£ããã§ããï¼ ls -al | grep test -rwxrwxr-x 1 hoge hoge 2615380 3æ 10 01:54 test.jarã§å®è¡ããããã¡ã¤ã«ã®å®è¡æ¨©éã確èªãã¦ã¿ã¾ããã ã¡ãªã¿ã«ããã§ã¯ æåã®rwxã¯ãã¡ã¤ã«ææè ã®æ¨©é 次ã®r
人ã®ãªãã¬ã¼ã·ã§ã³ãè¦ã¦ãã¨ããããã¯ã»ããã£ã¦ãããããã§ãããï¼ ã¨ããããã§èªåããã使ãbashã®ä¾¿å©æ©è½ãã¾ã¨ãã¦ã¿ã¾ããã 1ã¤åã®ä½æ¥ãã£ã¬ã¯ããªã«æ»ã cd -ã§æ»ãã¾ãã [mikeda@test01 tmp]$ cd [mikeda@test01 ~]$ cd - [mikeda@test01 tmp]$pushdãpopdã使ãã°2ã¤åã§ã3ã¤åã§ãæ»ããã®ã§ãããããã©ããªã®ã§åºæ¬ã³ã¬ã ã使ã£ã¦ã¾ãã ã³ãã³ãã©ã¤ã³ã移åãã ãã®ç¶æ ãã Ctrl+aãå ¥åããã¨ããã³ãããå é ã«ç§»åãã¾ãã Ctrl+eãå ¥åããã¨æ«å°¾ã«ç§»åã§ãã Ctrl+wãå ¥åããã¨ç´åã®ã¯ã¼ããåé¤ã§ãã¾ãã Ctrl+cã§å ¥åããã£ã³ã»ã«ãã¦æ¬¡ã®è¡ã«ç§»ãã¾ãã èªåããã使ãã®ã¯ãã®4ã¤ã§ãã ãã¹ããªããã¾ã使ã ãã¹ããªæ¤ç´¢ Ctrl+rãå ¥åããã¨ãã¹ããªæ¤ç´¢ã¢ã¼ãã«ãªãã¾ã
ããã»ã¹ããã³ã¸ã§ããçµäºããããçµäºã®æ¹æ³ã¯ã·ã°ãã«ã«ãã£ã¦æ±ºã¾ãã使ç¨ã§ããã·ã°ãã«ã¯ä»¥ä¸ã®éããé常ï¼ãã使ãã®ã¯SIGHUP(çµäºãã¦åèµ·å)ï¼SIGKILL(å¼·å¶çµäº)ãªã©ãã·ã°ãã«ã®æå®ã«ã¯æ°å¤ãï¼ã·ã°ãã«å(å é ã® SIGãé¤ãããã®)ã使ç¨ã§ããã
Linuxãªã©ãå©ç¨ããä¸ã§ããããã¯ã©ããã£ããå®ç¾ã§ããã®ã ãããã¨æããã¨ã¯æ°ç¥ããªããæ¬é£è¼ã§ã¯ãã¦ã¼ã¶ã¼ãã²ãã±ãã«ééããã§ãããåé¡ã¨ããã®è§£æ±ºæ¹æ³ã解説ãããä¸ç´è ã«ã¯æ°ããªçºè¦ããåå¿è ã«ã¯ä¸ç´è ã¸ã®éã®æå¼ãã¨ãªãã ããã ãã¡ã¤ã«ããã£ã¬ã¯ããªãããã¯ã¢ããï¼åæããããã®ãã¼ã«ã¯å¹¾ã¤ãåå¨ãã¦ãã¾ãããrsyncã¯ã¨ããã大ããªäººæ°ãèªã£ã¦ããã¨ãã£ã¦ããã§ããããå¤æ´åãæ¤åºãã¦å·®åã®ã¿ã転éãããã¨ã§ããããã¯ã¼ã¯çµç±ã§ãå¹ççã«ããã¯ã¢ããï¼åæãè¡ããç¹ããsshãªã©ã®ãªã¢ã¼ãã·ã§ã«çµç±ã§ã®å©ç¨ãå¯è½ãªç¹ãªã©ãæ©è½ã®æ´ç·´åº¦ã¯ãããã«ç»å ´ãã10年以ä¸ãã£ã¦ããã ãã®ãã¨ã¯ããã¾ããããã¯ã¢ããããã©ã¼ãªã³ã°ãªã©ã®ç¨éã§ããã°ãåºæ¬çã«ã¯ã³ãã¼å ã¨ã³ãã¼å ã§ããããªéãããçºçããªãã¯ãã§ããã¡ã¤ã«ã®ç¸éé¨åã ãã転éããrsyncã¯å¹ççã«æ©è½ãã¾ãã ãã
<æ¦è¦> LINUXã®é»æºã®åãæ¹ã¯ãã¹ã¤ããã§åãã°ããã¨ãããã®ã§ã¯ããã¾ããã ãã¡ãã¨ãã³ãã³ãã§ã·ã£ãããã¦ã³ãã¦é»æºãOFFã«ãã¾ãããã ã¾ããé»æºOï¼®ã«ããã°ãèªåçã«Linux(Fedora9)ãèµ·åããã¯ãã§ãã ããããé»æºèµ·åã®è¨å®ï¼BOOTè¨å®ï¼ã§ãããã¼ãã¼ãã¨ã©ã¼ã®æ¤åºã表示ããããªãã¦ãã¨ã«ãªã£ã¦ããã¨ã ãã¼ãã¼ãããµã¼ãã¼ã«ããã£ã¦ãªãã¨ãé»æºã®ã¹ã¤ãããå ¥ãã¦ããéä¸ã§æ¢ã¾ã£ã¦ãã¾ãã¾ãã®ã§æ³¨æãå¿ è¦ã§ãã é»æºèµ·åã®è¨å®ï¼BOOTè¨å®ï¼ã§ãããã¼ãã¼ãã¨ã©ã¼ã®æ¤åºã表示ãç¡è¦ããããã¨ãã§ãã¾ãã ï¼ã³ã³ãã¥ã¼ã¿ã«ãã£ã¦éãã¾ãããé»æºããããã¨ãã«ããDELããã¼ãæ¼ãã¨ããï¼ï¼¢ï¼©ï¼¯ï¼³ï¼Setupãç»é¢ãåºã¦è¨å®ã§ããï¼ ãã¨ãé»æºãããã¦ï¼¬ï¼©ï¼®ï¼µï¼¸ãèµ·åããã¨ãã«ãåæã«èµ·åãã¦æ¬²ããããã°ã©ã ãããã¾ãããã ãã¨ãã°ãï½ï½ï½ãµã¼ãã¼ã¯ãé»æºï¼¯
ç®æ¬¡ æ¦è¦ è¨å® port install ã³ãã³ããä½ã cpan install è¨å®ãã¡ã¤ã« ã³ãã³ãã®å®ä¾ é常æ¤ç´¢ æ¤ç´¢å¯¾è±¡ããå¤ã å ¨é¨æ¤ç´¢ Pageræå® ãã¡ã¤ã«ã¿ã¤ãæå® å¤§å°æååºå¥ãªã ãã¡ã¤ã«æ¤ç´¢ ãã¡ã¤ã«ãã¹åã®æ£è¦è¡¨ç¾æå® ãã¡ã¤ã«ãã¹+ãã¡ã¤ã«åã®æ£è¦è¡¨ç¾æå® å®å ¨ä¸è´æ¤ç´¢ æå®åèªã®åå¾è¡åºå ä¸è´ãããã¡ã¤ã«åãåºå åèµ·çã«æ¤ç´¢ããªã groupæå®ãå¤ã æ¤ç´¢å¯¾è±¡ããç¹å®ãã£ã¬ã¯ããªãå¤ã ç«ãã£ã©è¡¨ç¤º ããã©ã«ãæå®? æ¦è¦ ackã³ãã³ã ã½ã¼ã¹ã³ã¼ãæ¤ç´¢ã¯grepãæåã ããããå¼·åãªãã¼ã«ã¨è¨ãããackã試ãã¦ã¿ãã grepããå¦çãæ©ãã(è¨å®ãã¡ã¤ã«ãªã©ç¡è¦) grepããææ³ãçãã¦æ¸ãã grepã¨ææ³ãä¼¼ã¦ããã grepã®æ©è½ãã»ã¨ãã©ä½¿ãã¦ãfindã®è¦ç´ ãæã¤ã Perlã§æ¸ããã¦ãã¦windowsã§ãåãã Perlã®æ£è¦
ãã£ã¬ã¯ããªãåé¤ããã«ã¯ããã¡ã¤ã«ã®åé¤ã¨åæ§ã«rmã³ãã³ãã使ç¨ããããããããªãã·ã§ã³ãªãã§rmã³ãã³ããå®è¡ããã¨ã以ä¸ã®ãããªã¨ã©ã¼ã¡ãã»ã¼ã¸ã表示ãããã
ç¹å®ã®ãã¼ãããªã¼ãã³ãã¦ããããã»ã¹ã調ã¹ãã«ã¯ãlsofã³ãã³ãã使ç¨ããã lsofã¯ãrootã§å®è¡ããå¿ è¦ãããã-iãªãã·ã§ã³ã§ãã¼ãçªå·ãæå®ããã¨ããã®ãã¼ãããªã¼ãã³ãã¦ããããã»ã¹ã表示ãããã # lsof -i:22 COMMAND  PID USER   FD   TYPE DEVICE SIZE NODE NAME sshd    2436 root    3u  IPv6   4674       TCP *:ssh (LISTEN) sshd    3198 root    4u  IPv6   6078       TCP 192.168.0.7:ssh->192.168.0.30:1930 (ESTABLISHED) sshd    3200 nori    4u  IPv6   6078       TCP 192.168.0.7:ssh->192.1
æ¨æ¥sudoã§ã¦ã¼ã¶ã¼ãã¨ã®æ¨©éã«ã¤ãã¦å¦ãã ãããªãã ãã©ãããã®ã¦ã¼ã¶ã¼ãã°ã«ã¼ããã¨ã®æ¨©éãåããæå³ãæããã¦ããã®ããã¡ã¤ã«ããã£ã¬ã¯ããªã®ãã¼ããã·ã§ã³ãåãã¡ã¤ã«ããã£ã¬ã¯ããªã«ã¯ãã®ææã¦ã¼ã¶ã¼ã¨ææã°ã«ã¼ããè¨å®ããã¦ãã¦ãææè ãææã°ã«ã¼ãããã®ä»ã®ã¦ã¼ã¶ã¼ã¨ãã3ã¤ã®ã°ã«ã¼ãã«åãããããããã¦ãã¡ã¤ã«ãã©ã®ç¨åº¦ãããããã®ããã¤ã¾ã権éããã®3ã°ã«ã¼ãããããã«å²ãå½ã¦ããã¨ãã§ããã ã§ããããããã®æ¨©éã®ã°ã«ã¼ãåãã¯ã©ããªã£ã¦ããã®ãã¨ããã¨ãèªã¿è¾¼ã¿æ¨©éãæ¸ãè¾¼ã¿æ¨©éãå®è¡æ¨©éã®3ã¤ã«åãããããããè¦åºãã®ã¨ãããã¡ã¤ã«ã«å¯¾ããèªã¿æ¸ãå®è¡ã¨ãã£ã¬ã¯ããªã«å¯¾ããèªã¿æ¸ãå®è¡ã§ã¯è¥å¹²æå³ãéã£ã¦ãããã®ã§è¦æ¸ã ãã¡ã¤ã«ã«å¯¾ããæä½ èªã¿ï¼ããã¯ããããªããã¨ã¯ãªãã¨æããã©ããã®ãã¡ã¤ã«ãèªã¿ãããã¨ãã§ãããã©ããã示ãã æ¸ãï¼ãã®ãã¡ã¤ã«ã®å 容ãæ¸
â次ã«ï¼ãã£ã¬ã¯ããªãã¾ããã¨å¼·å¶åé¤ããæ¹æ³ãå¦ç¿ããããã£ã¬ã¯ã㪠ã®åé¤ã«ã¯ï¼rmdirã使ãããï¼ãã¡ãã¡ä¸èº«ã空ã«ãã¦ãããã£ã¬ã¯ããªã åé¤ããªããã°ãªããªãã£ããrmã³ãã³ãã使ãã¨ï¼ãã£ã¬ã¯ããªãå¼·å¶ç ã«åé¤ãããã¨ãåºæ¥ãã ç¾ç¶ç¢ºèª å¼ãç¶ãï¼~/gaironunix2 ãã£ã¬ã¯ããªã®ä¸ã§ä½æ¥ãè¡ããç¾å¨ï¼~/gaironunix2 ãã£ã¬ã¯ã㪠ã«ã¯ï¼vehicle ãã£ã¬ã¯ããªã¨ vehicle2 ãã£ã¬ã¯ããªããã(ä¸å³)ã rm ã³ãã³ãã使ã£ããã£ã¬ã¯ããªã®åé¤ ãã£ã¬ã¯ããªã®åé¤ã«ã¯ï¼rmdir ã使ããï¼ä¸èº«ã空ã«ãã¦ããã§ãªãã¨å®è¡ã§ããªãã£ãã ãããï¼rmã³ãã³ãã« -R ã¨ãããªãã·ã§ã³ãã¤ã㦠% rm -R ãã£ã¬ã¯ããªå ã¨ããã¨ï¼ãã£ã¬ã¯ããªã®ä¸èº«ãæ¶ãã¦ãããã£ã¬ã¯ããªãæ¶ãã¦ããããã§ã¯ï¼~/gaironunix2/vehicle ã
ãã1ã2ã¶æããããè²ã ãªæ¹ã«ãæè¿å ¥ã£ãæ°åã«èªãã§ãããããLinuxã®å ¥éæ¸ã¨ãã£ã¦ãªãã§ããï¼ãã¨èããããã¨ããããå¤ãã£ãã®ã§ãããã§ç´¹ä»ãã¦ã¿ããã¨æãã¾ãã ããã§å¯¾è±¡ã«ãã¦ããã®ã¯ãä¼ç¤¾ã®æ°äººç ä¿®ãªããã§1ã2æ¥ãããã¯è»½ãLinuxã«è§¦ããæ©ä¼ããã£ããã©ãç¾å ´ã«é å±ããã¦ãLinuxãµã¼ãã®æ§ç¯ãéç¨ããããããªãLinuxãµã¼ãã®"éç¨"åå¿è ã§ããã±ã¼ã¹ã§ããå¤å°ã®ã³ãã³ãã®ä½¿ãæ¹ãç°¡åãªæ¦å¿µã¯ããã£ããã©ã»ã»ã»ã®æ¬¡ã®ã¹ãããã«ä¸ããã¿ã¤ãã³ã°ã§æã«ã¨ã£ã¦ã¿ã¦ã¯ã©ãã ããããã¨ã Linuxã®æç§æ¸ - ãã³ãã«èªãã§ã»ããrootå ¥éè¬åº§ Linuxã®æç§æ¸ãæ¹è¨ç ï¼ãã¤ã³ãã ãã¯ï¼ (MYCOMã ãã¯) ä½è : é«çºå¥ä¸é,大津ç,ä½è¤ç«ä¸,å°æå³°å,å®ç°å¹¸å¼åºç社/ã¡ã¼ã«ã¼: æ¯æ¥ã³ãã¥ãã±ã¼ã·ã§ã³ãºçºå£²æ¥: 2011/03/31ã¡ãã£ã¢: ã ãã¯è³¼å ¥:
â ã¯ããã« cron ã¨ã¯ãã¸ã§ãï¼ã¹ã¯ãªããï¼ãèªåå®è¡ããããã®ãã¼ã¢ã³ããã»ã¹ã§ããããã¦ãLinux ã·ã¹ãã ã®ç®¡çãè¡ãªãå ´åããã°ã®ãã¼ãã¼ãããããã¯ã¢ãããªã©ãå®æçã«èªåå®è¡ãããã¸ã§ããæ°å¤ãããã¾ããç¹ã«ãããã¯ã¢ãããªã©ã¯ãã·ã¹ãã ã¸ã®è² è·ã大ãããããé常ã¯ãã¦ã¼ã¶ããã®ã¢ã¯ã»ã¹ãå°ãªããæ·±å¤ãæ©æã«è¡ãªããã¾ãã ãã®ããã«ãå®æçã«å®è¡ãããã¸ã§ãã¯ãcrond ã¨ãããã¼ã¢ã³ã«ãã£ã¦ãèªåçã«è¡ãªãããã«ç®¡çãããã¨ãã§ãã¾ããããã§ãä»åã¯ãcron ã®è¨å®ãè¡ãªãããã«å¿ è¦ãªã³ãã³ãããè¨å®ãã¡ã¤ã«ã«ã¤ãã¦èª¬æãã¦ããããã¨æãã¾ãã â è¨å®æé ãã®ãã¼ã¸ã§ã¯ã以ä¸ã®é çªã§ cronã®è¨å®ã«ã¤ãã¦èª¬æãã¾ãã ã¾ããLinuxã·ã¹ãã ä¸ã§ãcron ã使ç¨ããããã«ããµã¼ãã¹ã®èµ·åã§ããµã¼ãã¹ã®ç¶æ ã確èªããåæ¢ãã¦ããå ´åã«ã¯ããµã¼ãã¹ãèµ·åãã¾ãã
RPMããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã«ã¯ãã-iããªãã·ã§ã³ä»ãã§rpmã³ãã³ãã使ç¨ãããããã«ããvhããªãã·ã§ã³ãä»ããã¨ãã#ããã¼ã¯ã«ããã¤ã³ã¹ãã¼ã«ã®é²ã¡ããç¶æ³ãç¥ããã¨ãã§ãããã#ãã50åã§100%ã示ãã ã¤ã³ã¹ãã¼ã«ããåã«ããã§ã«ãã®ããã°ã©ã ãã¤ã³ã¹ãã¼ã«ããã¦ããªãããã¤ã³ã¹ãã¼ã«ããã¦ããå ´åããã¼ã¸ã§ã³ã¯å¹¾ã¤ãã調ã¹ã¦ãããæ¹ãããï¼RPMããã±ã¼ã¸ã®æ å ±ã調ã¹ãã«ã¯åç §ï¼ã # rpm -ivh FileRunner-2.5.1-1vl1.i386.rpm FileRunner ################################################## ã¤ã³ã¹ãã¼ã«æ¸ã¿ã®ããã°ã©ã ã«æ°ãã¼ã¸ã§ã³ãåºãã¨ãã¯ãRPMããã±ã¼ã¸ã§ããã°ã-Uããªãã·ã§ã³ã«ããã¢ããã°ã¬ã¼ããããã¨ãã§ãããã¤ã³ã¹ãã¼ã«ã¨åæ§ã«ããvhããªãã·ã§ã³ãä»
LinuxVPSï¼ ä½¿ãããã£ã¨ãå¥ç´ãã§ãsshã§å ¬ééµã®ãã¡ã¤ã«ããªã¢ã¼ãå´ã«éä¿¡ããå¾ãç¹ããã¨ããã Permission denied (publickey,gssapi-with-mic). ã¨è¨ããã¦æãããã/var/log/secure(ãªã¢ã¼ãå´)ãåç §ãã㨠Authentication refused: bad ownership or modes for directory /home/[ã¦ã¼ã¶ã¼å]/.ssh ã¨ã®ãã¨ã調ã¹ã¦ã¿ãããªã¢ã¼ãå´ã®.sshãã£ã¬ã¯ããªã®Permissionã744ã«ãªã£ã¦ãããããã700ã«å¤æ´ã次ãã§ã«å ¬ééµãã¡ã¤ã«ã®Permissionã644ãã600ã«å¤æ´ãã§ããªãã©ã¤ãããä¸æãããã¾ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}