脱オタファッション実践編ã¨ããã®ãèªãã§ãªããã ã©ã ã©ãããã®ããã£ãã®ã§æ¸ãã¦ã¿ãã
è±ãªã¿UNIXã«ãè²ã ããã¨æãã®ã§ãä»åã®è©±ã¯ãé©åº¦ã«ä¸è¬åããã(è¦å£ãããªã)ããé©åº¦ãªæè¡åã¨ã«ã¸ã¥ã¢ã«ãªä¾¿å©ãããè±ãªã¿ã®ã´ã¼ã«ã¨å®ç¾©ãã¦è©±ãé²ãã¾ãã
PC以å¤ã«æºåãã¦ãããããã®
- ãèªåã«ãã£ãããã¦ããããããããã¼ãã¼ã
- å ã ã¨ããæ 度ã»å§¿å¢ãä¿ã¦ãæ¤ å
- è§åº¦ãã»ããããã¢ãã¿
è±ãªã¿UNIXã§ééããã¡ãªã®ã¯ããã¿ã¼ããã«å©ãã¦ãã°hackerãã¨æã£ã¦ãã¾ãã¨ããã
ããã¯ééããå ¨ã½ããGNU(ãããé«æ ¢ã§é å¼µã£ã¦ããã©ã³ãã®ä¾)ã ããã¨ãä¸è¨åæãã¯ãªã¢ãã¦ãªãã¨(è °ã¨ãè ã¨ãã)çãåã«ãªã£ã¦ãã¾ãã(å ¨ã½ããGNUã®æç¹ã§ããªãçãåã ããããã¯å¥ã®è©±ãããã¾ã§ããfree softwareã§ããã¨ããä¾ããªã®ã§ã»ã»ã»)éã«è¨ãã°ãä¸è¨ãã¯ãªã¢ãã¦ããã°ãå ¨ã½ãããããã©ã ããã¨Appleã ããã¨(å¥åº·çãªæå³ã§)è¦å£ãããªãç°å¢ã¯ååå¯è½ã§ãã
å°é·ã¢ã¤ãã ã¯?
çã£å ã«å°é·ã¢ã¤ãã ã»ã½ãããã説æãã¾ãã
ä¸è¨ã¢ã¤ãã ã¯ãå½åæãåºããªãæ¹ãè¯ãã¢ã¤ãã ã»ã½ãããã§ãã
ããã3éãã«åé¡ããã¾ãã
- ç´ äººã«ã¯ãªã¹ã¹ã¡ã§ããªãã¿ã¤ã(ããªã«ã¼ã®ãã³ãã¼é¢¨)
- ãªã¹ã¯ãä¼´ãå²ã«ã¯ãªã¿ã¼ã³ãå°ãªãã¿ã¤ã
- ç ®ã¦ãç¼ãã¦ãé£ããªãã¿ã¤ã(King of å°é·)
ãªã®ã§ãPHPããªãã§å°é·ãªãã ã!ギークなお姉さんã使ã£ã¦ããããã¼ã!ãã¨ããææã¯ãééããªããã§ãã
ããã¾ã§ãä»åã®è©±ã¯ãé©åº¦ã«ä¸è¬åããã(å¥åº·çãªæå³ã§è¦å£ãããªã)ããé©åº¦ãªæè¡åã¨ã«ã¸ã¥ã¢ã«ãªä¾¿å©ãããã´ã¼ã«ãªã®ã§ãèªçã®å¯è½æ§ãããã°é¿ããã®ãåã
å人çãªã¤ã¡ã¼ã¸ã§ãããä¾ã«æãããã®ãåé¡ãã¾ãã
å®çªã®ã¢ã¤ãã ã¯?
- Debian GNU/Linux(ubuntuã§ãå¯)
- CentOS
- Mac
- zsh or bash
- vi(vim)
- Perl(5以é)
- ash(bourne shelläºæ)
å®çªãªã®ã§ã趣å³è¶£åãå¤ãã£ã¦ãæ¯è¼ç対å¿ãå¯è½ã§ãããããã¸ã(ã®ç¥è)ãããã¨ãå°ããã¨ãå°ãªãã§ããå¤åæããã°ä»ã«ããã£ã±ããããã©ãæéã®é½åã§å²æã
以ä¸è£è¶³èª¬æã
- Debianã¯æ¬å®¶ã¨å家(ubuntu)ããããã©ã¡ããã«çµããªãæ¬å®¶ã®æ¹ãç¡é£ãå¤ãã®è¦ã¤ããããææ°stableãå®å¿ã ãã
- RPMç³»ã¯â¦â¦æ¬æ°RedHatã§ããããã©ãã©ã¤ã»ã³ã¹æã大å¤ã ã¨æããããFTPãµã¤ãããCentOSãæ¾ã£ã¦ããã¨è¯ããã
- Fedoraã¯ä¸æãããã¨å¤ãªãã°æ¾ããã©ããã¡ãã¨ã¢ãããã¼ããã¦ãã°å ±åã§ãããªã使ãåºã¯ãããéçºçã¯æ¢ãã¦ãããæ¹ãè¯ããã
- viã¯nviãç´ç³»ã ãã©Linuxç³»ã¯vimãå®çªã§ããã¯ã»ã¯å¼·ããã©è¨å®ãã¡ã¤ã«ãããã®ã«ã¯ä¾¿å©ã§æä½ã®ç¡é§ãå°ãªãã
- bashã¯ç¡é£ä¸ã®ç¡é£ãçããªããæ¨æºçã«æ¡ç¨ããã¦ãããå¿ç¨ãå¹ããã
- Perlã5以éãªã®ã¯ããã¾ãã4ã¤ãã人ãªãã¦ããªããããRubyã ããã¨Pythonã ããã¨åãã¦ãåã«ã¯ããã人ã¯ããªãããã ãPerlãä¸çªæ®åãã¦ãããç¡é£ãã¨ããç¹ã§ã
- ã¹ãã³ã§é å¼µãããããªããããã³ããã·ã¥ãä»ã¯MacããAquaã§è¯ãã¨æãã¾ãã
- ãã¼ããã½ã³ã³ã¯ä¸æã«Debiançªã£è¾¼ãããããªãMacBookãè²·ã£ãæ¹ãè¯ãããããªã«é«ããªãããä¸èº«ã¯ã¡ããã¨UNIXãç½ã女ã®åã£ã½ãè¦ãããªããAirãProããããã¯é»ã¢ãã«ã®ãã¤ãè²·ãã°è¯ãã
- ashã¯å¤ããã©ä¾¿å©ã ããå®å ¨äºæã§ãªãã®ãçãã¨ããã ãã©ãbashismãå ¥ãè¾¼ãã ã·ã§ã«ã¹ã¯ãªããçã«æ¯ã¹ãã¨ãã·ãªå°è±¡ãããã¾ãã/bin/shã¯ashã«ãã¨ãã¾ãããã
使ãããªãçãªè©±
åºæ¥ãã°OSã¯3種ã§æãã¾ãããã4種ããããªãå
¨ç¶å¤§ä¸å¤«(ã¤ã³ã¹ãã¼ã«å¨ã«ãªããã¡)ã
éã«1種ã®ã¿ã2種ãªã©ã¯é¿ããæ¹ãè¯ãã§ã(è¦éççªçãªè©±ã«éãã¾ãã)
åºæ¬ã¯Debianã§apt-getãããã§ãããä½è£ããã£ãã1ã¢ã¤ãã ã ãmake installãã¦ã¿ã¦ãã ãããæé©åãªãã·ã§ã³ã§é度ãããã£ã¦è¯ãæãã«ãªãã¾ãã
ãããªããã§ããã?
ããã°ã©ãã³ã°ã®è©±ã¯ã¾ãé·ãããªã®ã§ä»åã¯çç¥ã
ä½ã足ããªãã¨ãããªã©ããã£ããææãã ããã