æ¨æºæç§æ¸ã·ãªã¼ãº ãåãåããçªå£
ZFS ã root ãã¡ã¤ã«ã·ã¹ãã ã«ãã¦ãUbuntuãèµ·åããæ¹æ³ã Ubuntu 11.04 on a Native ZFS root å¾ç·¨ããZFS DAY 2011.10 Linuxã§ZFSã«åºæ¿ãåãã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã¡ã¢ã ZFS ON LINUXã§éçºãé²ãã§ãããã®ã使ããHOWTO install Ubuntu to a Native ZFS Root Filesystemã«æ²¿ã£ã¦ã¤ã³ã¹ãã¼ã«ãã¾ãã å¿ è¦ãªãã® 64-bit Ubuntu Live CD. (alternate installerã§ã¯ãªã) AMD64(x86_64)ãªCPUã§åãã¦ãPC 8GB 以ä¸ã®HDDç æä½ 2GB ã®ã¡ã¢ãªã¼ (2GBã¯æä½éå¿ è¦ãã§ãé ãã4GBãæ¨å¥¨ãæ®éã®ããã©ã¼ãã³ã¹ãéè¤é¤å¤ãå§ç¸®ãªã©ã®é«åº¦ãªæ©è½ã使ç¨ãããå ´åã¯16GBã®ã¡ã¢ãªãæ¨å¥¨ãã¨æ¸ãã¦ãã) 試ã
ãµã¼ãã®åä½ã«ç°å¸¸ãçºçããéã«åå ãæ¢ãããã®Linuxã³ãã³ãã§ãèªåç¨ã®ã¡ã¢ã§ãã å ¨ã¦manã¨ãã°ã°ã£ããåºã¦ããã®ã§èª¬æã¯é©å½ã§ããæãã¤ãããå¾ã§è¿½è¨ãã¦ããããã§ãã 対象ã¯Debian Squeezeã«ãªãã¾ãã å ¨ã¦ããã±ã¼ã¸ã¤ã³ã¹ãã¼ã«ã§ãããã®ã§ãããã±ã¼ã¸å㯠[in packagename] ã¨ãã¦ããã¾ãã åæããã³ã¡ã³ããããã¨ããããã¾ãã è¯ãæ°ãªã³ãã³ãã¯è¿½è¨ãã¦ããã¾ãã ï¼è¿½å ããã³ãã³ãï¼ * telnet (+ã³ã¡ã³ã wget, netcat) * arp (+ã³ã¡ã³ã arpwatch) * pstree * fdisk ã³ã¡ã³ãã« gdisk * host, dig * watch * reboot
Ubuntuã§åãã¦RubyãRailsã«ææ¦ããæ¹ã®ããã«ãææ°ã® Ruby 1.9.3 㨠Ruby on Rails 3.2 ã®ã¤ã³ã¹ãã¼ã«æé ããã詳ãã説æãã¾ãã ãªããæ¬ç¨¿ã§ã¯Rubyã®ã¤ã³ã¹ãã¼ã«ã«rbenvãå©ç¨ãã¾ããapt-getã§ã¤ã³ã¹ãã¼ã«ãããRubyã¯ãã¼ã¸ã§ã³ãå¤ãã®ã§ãï¼æé ãã¡ãã£ã¨è¤éã§ããï¼æ¬ç¨¿ã®æ¹æ³ããå§ããã¾ããã¾ããrbenvãå©ç¨ããã¨ãããã¸ã§ã¯ããã¨ã«Rubyã®ãã¼ã¸ã§ã³ãç°¡åã«åãæ¿ããããã¨ããã¡ãªãããããã¾ãã æ¬ç¨¿ã対象ã¨ãã OS 㯠Ubuntu 12.04 LTS ããã³ Ubuntu 12.10 ã®ãã¹ã¯ãããçã§ããUbuntuä¸ã§Ruby/Railsã®å¦ç¿ãRailsã¢ããªã±ã¼ã·ã§ã³ã®éçºããããæ¹åãã«æ¸ãã¦ãã¾ããéçºããRailsã¢ããªã±ã¼ã·ã§ã³ããµã¼ãçã®Ubuntuã«ã¤ã³ã¹ãã¼ã«ãã¦éç¨ãããæ¹ã¯ãRail
Linuxã·ã¹ãã ããã°ã©ãã³ã° ä½è : Robert Love,ããã¼ãã©ã,åä½æ²»éåºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã¸ã£ãã³çºå£²æ¥: 2008/04/16ã¡ãã£ã¢: 大åæ¬è³¼å ¥: 5人 ã¯ãªãã¯: 181åãã®ååãå«ãããã° (29件) ãè¦ã çµå Unix/Linuxã®æ¨æºã³ãã³ãã§2ã¤ã®ãã¡ã¤ã«ã®å ±ékeyã§é£çµãããã¨ãã§ãã¾ããå ±ékeyã§ã®çµåã«ã¯joinã³ãã³ããå©ç¨ãã¾ããjoinã«ããSQLã®inner joinã«è¿ããã¨ãã³ãã³ãã ãã§åºæ¥ã¦ãã¾ãã¾ããä»ã¾ã§ããã¹ãå¦çãã³ãã³ãã§è¡ãäºãå°ãªãã£ãã®ã§joinã®æ´»ç¨æ¹æ³ãç¥ãã¾ããã§ããããä»å調ã¹ãå 容ãè¨é²ãã¾ããä¼¼ãã³ãã³ãã¨ãã¦pasteã¨ãããã®ãããããã¡ãã¯åãè¡æ°ã®å 容ãåç´ã«çµåãã¾ãããã¡ãã«ã¤ãã¦ãç°¡åã«ç´¹ä»ãã¾ãã join joinåã«sort joinã³ãã³ããå©ç¨ããå ´åã¯2ã¤ã®ãã¡
åç·¨ã®ç¶ãã§ãã Ubuntu 11.04ã¸ã®ã¤ã³ã¹ãã¼ã«æé 㯠https://github.com/dajhorn/pkg-zfs/wiki/HOWTO-install-Ubuntu-to-a-Native-ZFS-Root-Filesystem ãã®ãã¼ã¸ãèªãã§ããã°åºæ¬çã«å¤§ä¸å¤«ã§ãããä¸å¿è§£èª¬ï¼ã交ãã¤ã¤è¼ãã¦ããããã¨æãã¾ãã解説ã§ããã»ã©Linux詳ãããªããã ãã©ãã å¿ è¦ãªãã® ã»Ubuntu 11.04 x64 LiveCDï¼ubuntu-11.04-desktop-amd64.isoï¼ ã»ã¤ã³ã¿ã¼ãããæ¥ç¶ç°å¢ ã»å ´åã«ãã£ã¦ã¯VM 使ããã£ã¹ããªã¯Ubuntu 11.04ã§ãã10.10以åorä»ã®ãã£ã¹ããªã§ããããããããã¾ããããç¾ç¶ã®ZFSã¯ã«ã¼ãã«2.6.39以éã ã¨åããªããããªã®ã§11.10ã®ã¢ã«ãã¡ã¨ãã ã¨ç¡çãªããããªããã¨æãã¾ãï¼11.04
ä¸è¡ã¾ã¨ã è¤æ°ãã¡ã¤ã³ã®ä¿¡é ¼é¢ä¿ãæ§ç¯ãã¦ããªãå ´åï¼winbind ã® idmap backend ã¨ã㦠rid ã使ãã¨ä¾¿å© åã㪠ãµã¼ããç«ã¦ããã³ã«ã¦ã¼ã¶ã¢ã«ã¦ã³ããã¡ã³ããã³ã¹ããã®ãé¢åã ï¼ã¨ãããã¨ã§ããããè °ãæ®ã㦠winbind ã«ã¤ãã¦åå¼·ãã¾ããããããä¸ã«æç¨ãªææ¸ãå¤ãã¦å©ããã¾ããã CentOS 5.0 samba-3.0.23c-2.el5.2.0.2 ã¨ããç°å¢ã§ï¼ä»¥ä¸ã®ãããªå称ãä¾ã¨ãã¦ä½¿ãã¾ãã ãã¡ã¤ã³å: HOGE ActiveDirectory ã®ã¬ã«ã : hoge.example.com ActiveDirectory ã® DC: dc.hoge.example.com UNIX ãµã¼ãã® NETBIOS å: PENGUIN ActiveDirectory ã®ã¦ã¼ã¶: dayflower åºç¤ç¥è ã¦ã¼ã¶ã *nix ãå©ç¨ãããã¨
å人çã«ããã¹ããã¡ã¤ã«ãå¦çãããã¨ãå¤ãã®ã§ããï¼ç°¡åãªå¦çãªãUnixã®ã³ãã³ãããã¤ãã¨ãªãã¤ã¬ã¯ãã§çµã¿åããã¦ã§ãããã¨ãå¤ãããã¾ãï¼ä»åã¯ãããªãªãã§ãã¡ãã£ã¨ããã¢ãã¯ãªTIPSãã¾ã¨ãã¦ã¿ã¾ããï¼ sortã³ãã³ãã§ã¿ãåºåãã®ãã¡ã¤ã«ãæå®ããæè¿ç¥ã£ã¦é©æããã®ãããï¼sortã³ãã³ãã§ã¿ãåºåãã®ãã¡ã¤ã«ãæå®ãããã¨ãã¯ï¼Ctrl+v Tabã§ã¿ãæåãå ¥åãã¦ããã®ã§ããï¼$ sort -t $'\t' -k 2,2 ã®ããã«ãã¦ã¿ãåºåãã§2çªç®ã®ãã¼ã§ã½ã¼ããããã¨ãã§ãã¾ãï¼ 1000è¡ããã«ãã¼ã¿ããµã³ããªã³ã°ãã1000è¡ããã«ãã¡ã¤ã«ãããã¼ã¿ããµã³ããªã³ã°ãããã¨ãã¨ãã¯ï¼perlã§ã¯ã³ã©ã¤ãã¼ãæ¸ãã®ãéãããã§ãï¼$ perl -ne '$i++; print unless ($i % 1000)' ææã®ã³ã¼ãã´ã«ãã«ããã¨ããã ãçãã§ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}