ãã©ãããã©ã¼ã ã¸ã大ããå¤ãã/etc/ãã¡ FreeBSDã§ã¯ã·ã¹ãã ã®è¨å®ãã¡ã¤ã«ã¯/etc/ã¸ããµã¼ããã¼ãã£è£½ã½ããã¦ã§ã¢ã®è¨å®ãã¡ã¤ã«ã¯/usr/local/etc/ã«ã¤ã³ã¹ãã¼ã«ãããä»çµã¿ã«ãªã£ã¦ãã¾ãã/etc/以ä¸ã調ã¹ãã°ãã®ã·ã¹ãã ãã©ããã£ãåããããããããã¾ããè¨å®ãã¡ã¤ã«ã¯ã½ããã¦ã§ã¢ãã¨ã«ç¨æããã¦ãã¦ããã®ãã©ã¼ããããã½ããã¦ã§ã¢ãã¨ã«ãã¾ãã¾ã§ãã ãã®ç¶æ³ã¯å°ããã¤ã§ããå¤ããå§ãã¦ãã¾ããæ©ããã°11ç³»ã®ãªãªã¼ã¹æããã大ããªé»å®³è¦å ããªãéãã¯12ç³»ã13ç³»ã§ã¯/etc/以ä¸ã®è¨å®ãã¡ã¤ã«ã¯å¤§ããç°ãªããã®ã«ãªã£ã¦ããããããã¾ããã ãã®åãã®åæ©ã¯ãFreeBSDããµã¼ããªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ããããã¾ãã¾ãªã·ã¹ãã ã®ããã©ãããã©ã¼ã ãã¨ãã¦ã®ã½ããã¦ã§ã¢ã¨ãã¦æ§æ ¼ãå¤ãã¦ãã¦ãããã¨ã«ããã¾ããFreeBSDãç»å ´ãã20年以ä¸åãF
ã¤ãã¼æ ªå¼ä¼ç¤¾ã¯ã2023å¹´10æ1æ¥ã«LINEã¤ãã¼æ ªå¼ä¼ç¤¾ã«ãªãã¾ãããLINEã¤ãã¼æ ªå¼ä¼ç¤¾ã®æ°ããããã°ã¯ãã¡ãã§ããLINEã¤ãã¼ Tech Blog ããã«ã¡ã¯ãRï¼Dçµ±æ¬æ¬é¨ éçºæ¨é²å®¤ ã»ãã¥ãªãã£ãã©ãããã©ã¼ã æè¡ã®æ¸ç°ãè«ã§ãã å人çã«èªå® ã§ã¯ã FreeBSD ã§ããéãã§ãã¦ãFreeBSDã®ããã±ã¼ã¸ç®¡çã«ã¯ãportsnapãportupgrade ãå©ç¨ãã¦ãã¾ãããã¤ãã¼ã§ã¯ç¬èªã®æ¹æ³ã§è¡ããã¾ãã ãã®èæ¯ã¨ãã¦ã¤ãã¼ã«ã¯ãå¹³å15å以ä¸ã®PVãæ¯ããããããµã¼ãã¹ã®ä»å 価å¤ã®ããã«ä½ä¸å°ãã®ãµã¼ããããããµã¼ãã¹ãã·ã¹ãã ãã¨ã«å¤§è¦æ¨¡ãªã·ã¹ãã ãæ§æããå¿ è¦ããããããä¸è¬çãªããã±ã¼ã¸ç®¡çã·ã¹ãã ãããããæè»ã§å¹ççãªããã±ã¼ã¸ç®¡çãå¿ è¦ã¨ãªã£ã¦ãã¾ãã ä»åã¯ãã¤ãã¼ã«ãããããã±ã¼ã¸ã®ç®¡çã«ã¤ãã¦ãç´¹ä»ãã¾ãã ã¤ãã¼ã¤ã³ã¹ãã¼ã© ã¤ãã¼ã§ã¯
FreeBSD 8.0-RELEASE æ¬ç¨¿ãæ²è¼ãããããã«ã¯ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã¢ããã¨ãªãFreeBSD 8.0-RELEASEãå ¬éããã¦ããããé ãã¦ãæ°æ¥ä¸ã«ã¯ãªãªã¼ã¹ãããè¦éãã«ãªã£ã¦ããã8.0ã¯ã¿ã¤ã ã¹ã±ã¸ã¥ã¼ã«çã«ã¯ããã»ã©æ³¨ç®ã«å¤ãããªãªã¼ã¹ã«ãªãäºå®ã§ã¯ãªãã£ãããæçµçã«éè¦ãªæ©è½ã追å ããã注ç®ãã¹ãã¡ã¸ã£ã¼ã¢ãããã¬ã¼ããã¼ã¸ã§ã³ã¨ãªã£ãã æ¬ç¨¿ã§ã¯ãç¹ã«ã¦ã¼ã¶ãéããå®æããããã¨ããã«ç¦ç¹ããã¦ã¦ãFreeBSD 8.0ã§æ³¨ç®ãããæ°æ©è½ã¨ãç¾å¨ã®åãçµã¿ãã¢ããã°ã¬ã¼ãæã®æ³¨æäºé ãç´¹ä»ããããªãå·çæç¹ã§ã¯RELEASEçãã§ã¦ããªããããRCçã§åä½ã確èªãã¦ãããRELEASEçã¨éããããå¯è½æ§ãããã ãããã¯ã¼ã¯ã¹ã¿ãã¯ã®ä»®æ³å"Vimage Jail" FreeBSD 8.0ã§å°å ¥ãããæ©è½ã®ãã¡ãã£ã¨ã注ç®ã«å¤ãããã®ãVimageã ãF
This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing. Unix Toolbox revision 14.5 The latest version of this document can be found at http://cb.vu/unixtoolbox.xhtml. Replace .xhtml on the link with .pdf for the PDF version a
2008å¹´1æ21æ¥(æ) â ç¥æ§ä»æ§ãã³ã¢æ§ _ 3ã¶æã»ã©åãdocomo ãéä¿¡ãã¡ã¤ã³èªè¨¼ãæ¡ç¨ããã«ãããããã㯠ããæ¸ãã¾ããã docomo ã«è¹´ããã¡ãããªãããã¨ããã¦ã¦è¨å®ãããã¡ã¤ã³ã¯å¤ãã ãããããä»å¾æ°ã¶æã§æ®åçãä¸æ°ã«ä¸ããã¨æãã ã¯ãã ãããªãã¾ããã _ å¹æããã¡ã³ããã£ã¡æ¹é¢ã®å°é家ã声ãã¯ãããããããã大æãä¸ç¤¾æ¡ç¨ããæ¹ããã£ã¨å¹æçããã¡ããã大æãæ¡ç¨ããã«è³ã£ãã®ã¯ãã£ã¡æ¹é¢ã®å°é家ã®å°éãªæ´»åã®ææã§ãããã®ã§ããããå¦å®ããã¤ããã¯ã¾ã£ãããªãã®ã ãã _ éä¿¡ãã¡ã¤ã³èªè¨¼ã¯ docomo 以åãã au ã§ãæ¡ç¨ããã¦ããããã ãã©ãå®æ½ã«ãããã¨ãã«å¤§ããªãã¬ã¹ãªãªã¼ã¹ãåºããã«ã²ã£ããã¯ããã au ã¨ã大ãã宣ä¼ãã¦ããã¯ããã docomo ã¨ã§ã¯å½±é¿åã段éãããªãã ããã ãã£ã¦ã大æãå£ãéãã°ã¿ããªãã£ã¡ã«ãªã³ã
ScrLkãã¦PgUpãPgDnããã¨ã¹ã¯ãã¼ã«ã§ããã¿ããã Linux ã³ã³ã½ã¼ã«ã§ã¯ï¼»Shiftï¼½ï¼ï¼»PageUp]
FreeBSD 5.3, 5.5 ã§ã¯ top ã® Mem: è¡ã®å¤ãå ¨ã¦è¶³ãã¨ç©çã¡ã¢ãªéããå¤ããªãã ä¾1 Mem: 146M Active, 21M Inact, 35M Wired, 8360K Cache, 34M Buf, 31M Free irb(main):003:0> 146+21+35+8+34+31 => 275 ä¾2 Mem: 80M Active, 39M Inact, 54M Wired, 16M Cache, 34M Buf, 53M Free irb(main):005:0> 80+39+54+16+34+53 => 276ãã®ãã·ã³ã®ç©çã¡ã¢ãªé㯠256MB ã§ãdmesg ã«ãã㨠real memory = 267845632 (255 MB) avail memory = 252428288 (240 MB)man ã«ããã¨åé ç®ã®æå³ã¯ Act
FreeBSD 6.2-RESEASE ä¸ã§ X ãµã¼ããããªã㨠vim ãæ¿ããé ãã®ã§ compile ããªããããç´ã£ãã % cd /usr/ports/editor/vim # make WITHOUT_X11=yes NO_GUI=yes (ãã¶ã NO_GUI=yes ã ãã§ãã) # make deinstall reinstall cleané ãã£ã vim ã truss ãã㨠AF_UNIX 㧠/tmp/.X11-unix/X0 ãä½åº¦ãè¦ã«è¡ã£ã¦ãã¿ãããªãã ããããã³ã³ãã¤ã«ããªããããè¡ããªããªã£ããã©ãgvim ãããªã㦠vim ãªã®ã«ãªãããªãã ããã æ¯å -X ã¤ãã¦èµ·åãã¦ã大ä¸å¤«ã¿ããã ãã©ãports ã® default 㧠install ãã㨠X ã«æ¥ç¶ã«è¡ãæ§ã« compile ãããã®ã¯ã©ãããªãããµã¼ãç¨éã§ãã使ããªã人ã¯å°ã
2007å¹´3æ1æ¥(æ¨) â ç¡é¡ _ å®å ¨å¾©æ´»ã¨ã¾ã§ã¯ãããªãã¾ã§ããã¾ã人並ã¿ã«æ´»åã§ããã¾ã§ã«ã¯ãªãã£ãã _ ã§ãã¨ããã«æ¼é£¯ãé£ããªãã»ã©ã®å¿ããããã£ãã¦ä»äºãæºãã¦ãããã§ã¯ãªãã¦ï¼ãããæºã¾ã£ã¦ããã©ãããã©ã¤ã³ã«ã¯ã¾ã ããï¼ãçªçºçãªãã©ãã«ãããã¤ãéã£ã¦ããããªãã§çã£ãããã«ã _ ã¤ã¼ããå»å¹´ã®ç§ã«4å°è¨ç½®ãããµã¼ãã®ãã¡ãä»æ¥ã§ãã£ã¹ã¯æ é3å°ç®ã£ã¦ã©ããããã¨ããã¨ãã§ããªã大ã¯ããä¸è¯ããããã²ãã¦ãã¾ã£ãã 2007å¹´3æ3æ¥(å) â ãããã®ããªãã _ anarchy golfã§ã¯ããããªè¨ç®æ©è¨èªã使ãããã©ã使ããªãè¨èªããããã¨ããããã§ãm4 㧠FizzBuzzï¼âè¨èªãããã¼ãï¼ã define(`forloop', `pushdef(`$1', `$2')_forloop(`$1', `$2', `$3', `$4')popdef(`$
ååãåã åã¨MacOSXã§è¡ã£ã¦ããä½æ¥ãFreeBSDã§ãè¡ã£ã¦ããã¾ããã ã¯ã©ã¤ã¢ã³ãã¨ãã¦ã¯é常ã«ä½¿ããããMacOSXã§ãããä»ã®ã¨ãããµã¼ãã¨ãã¦éç¨ããæ°ã«ã¯ãªãã¾ããã åããããportsã§Subversionãã¤ã³ã¹ãã¼ã« # cd /usr/ports/devel/subversion # make WITH_MOD_DAV_SVN=YES WITH_APACHE2_APR=YES WITHOUTBDB=YES # make install # mkdir /home/svn # cd /home/svn/ # svnadmin create repos # vi repos/conf/svnserve.conf [general] anon-access = read auth-access = write password-db = passwd realm =
2007å¹´1æ12æ¥(é) â Apache 2.2.4 _ åºãã _ ãã¼ãã--with-included-apr ããªã㨠configure ã§ã³ã±ãããªãã§ã ããã¤ã³ã¹ãã¼ã«æ¸ã¿ã®å¤ããã¼ã¸ã§ã³ã® APR ãåç §ãã¡ãã£ã¦ãã®ããªãããã©ãããã®ã§ãæ·±ãã¯è¿½æ±ããªãã _ ã¨ãããã make ã¾ã§ãå ¥ãæ¿ãã¯å¾ã§ã _ ãã®åã®ãããã¯ãã¶ã使ããªããªã£ã¦ãã¨æããå®éã«ç¢ºèªãããããããªããã©ã â ãã¼ã° PS2 _ ã¡ãã¨ã¾ã¦ã太ç°ç´ç£ä¿®ã£ã¦ã©ããããã¨ã ãrogue 風å³ãããªãã¦ãã»ãã¾ããã® rogue ã PS2 ã§åºãã®ãï¼ æ£æ°ãï¼ ã¦ãã¼ãæè¿ fj è¦ã¦ãªããã ãã©å¤ªç°ããã¯ä»ãªã«ãã£ã¦ãã®ã _ ã¨ãããã1ã¶æã ãããã³ãå ¥ãããã ãã¼ã°ã¯80年代ã«ã³ã³ãã¥ã¼ã¿ã¼ã®ãã¼æä½ã®ç¿å¾ç¨ã½ããã¨ãã¦éçºããã ã¡ãã¼ãï¼ _ ã²ããã¶ãã«ã¤ã³ã¹ãã¼ã«ãã¦
以ä¸ã®ããã¹ãã¯ãå·çæå½æã®æ å ±ãå ã«æ¸ãããã®ã§ããã ç¾å¨ã®æ å¢ã«ããããªããã¨ãå«ãå ´åãããã®ã§æ³¨æããããã ã¾ããããã¹ãã¯æçµæåºå稿ã§æ ¡æ£ãçµãåã®ãã®ãªã®ã§ãå®éã«UNIXUSER æ¬èªã«è¨è¼ããããã®ã¨ã¯ç°ãªãã誤åè±åçãã®ã¾ã¾ã§ããã è´å½çãªèª¤ã以å¤ã¯å çä¿®æ£çã¯è¡ãªããªãã®ã§æ å ±ã®é®®åº¦ã«æ°ãã¤ãã¤ã¤ å©ç¨ãã¦æ¬²ããã âç®æ¬¡ =========================================== Part2 åºæ¬çãªãã©ãã£ãã¯å¶å¾¡ã®å®ç¾ =========================================== Part1ã§è§£èª¬ãããã©ãã£ãã¯å¶å¾¡æ©æ§ãå®éã«ç®¡çå ´é¢ã«é©ç¨ããä¾ãæã㦠è¡ãããããã§ã¯ ipfw+dummynet(FreeBSD) 㨠iproute2+tc(Linux)ã ãã㦠altq(NetBSD) ã«
AsyncIOã«ã¤ãã¦(ãã®1)ã®ç¶ã. NONBlockã§IOå¦çãããæ¹æ³ã¨ãã¦selectã¨ã·ã°ãã«ã使ãæ¹æ³ãããã¨ããã®ãååã®è©±ã ã£ãã, selectã¯selectããkqueue,epollã§è¿°ã¹ãã¨ãã, ãã¸ã¼ã«ã¼ããããããããã¾ãå¹çã¯ãããªã,ã·ã°ãã«æ¹å¼ã¯å¶ç´ããããããã¾ã使ãåæããããªã. ã¨ããããã§æ°ããåºã¦ããã®ãPOSIX Asynchronous I/O(AIO)ã¨ããæ©æ§ã . ããã¯IOã®waitãã¤ãã³ãããªãã³å½¢å¼ã«ãã¦ãã¸ã¼ã«ã¼ãããªãããã¨ãããã®ã . ããã°ã©ã ã®æµãã¨ãã¦ã¯ä¸è¨ã®ããã«ãªã. 1. 対象ã¨ãªããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã«ã·ã°ãã«ãã³ãã©ãããã¯ã¤ãã³ããã³ãã©ãç»é²ãã¦ãã 2. aio_read/aio_writeãå¼ã³åºãã¨å¶å¾¡ã¯ããã«ã¦ã¼ã¶ã«æ»ã. 3ï¼å¯¾è±¡ã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã®å¦çãçµããã¨ç»é²ããã¦ãããã³
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}