2014-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã©ãã«ãç²¾ç¥ãä¸è¡çã®ã¨ãã¯é£éãã¦è¯ããªããã¨ãçºçãããæ°ããããæ¨æ¥ããããã ã§çé£ã«ãã£ãåå·æ©ã«ä»£ãã£ã¦ç¨¼åãã¦ããå¼å·æ©ãããã±ããããã³ã³ã¯ãªå°é¢ã¸ã®ãã¤ã¬ã¯ãã¢ã¿ãã¯ã§ã亡ããªãã«ãå ã ã¹ãã¼ã«ã¼ä»¥å¤ã®é話ãåºæ¥ãªãã¨ããâ¦
ä¸éã«è¬ããããã®ã¨ã©ã¼ã #config/deploy.rb set :pty, true ä¸è¨è¨å®è¿½å ããã°è§£æ±ºã
対話形å¼ã«ããã«æ°è¦ã§ãã¡ã¤ã«ãçæããæ¹æ³ã§ã®ã³ãã³ãã $ htpasswd -bc file_name user_name password ããã·ã¥åæ¹æ³ã®æå®ããããªãã·ã§ã³ããããã©ãããã¯å¿ è¦ã«å¿ãã¦ä»ã足ãã°è¯ãã¨æãã
ããã©ã«ãã®repoè¨å®ã§ã¯npmããªãã epelããå ¥ããã®ãä¸çªç°¡åããã $ rpm -Uvh http://ftp.iij.ad.jp/pub/linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm $ yum install npm --enabelrepo=epel ããã§ç¡äºã¯ããã¯ããChefã§æ¸ãå ´åã¯ä»¥ä¸â¦
yumã§ä½¿ç¨ããrepositoryã®åªå é ä½ãè¨å®ãããã¦ã°ã°ã£ã¦ã¿ãã¨ãããããç¨ã®ãã©ã°ã¤ã³ããããããã yum install yum-plugin-priorities ä¸è¨ã³ãã³ãã§ã¤ã³ã¹ãã¼ã«ããã¨ã¯è¨å®ãããrepoãã¡ã¤ã«ãéãã¦ãpriorityãªãã·ã§ã³ã追å ã ä»åã¯ã¨ããâ¦
Chefã§ä¸è¨ã®ãããªä¸è¬çãªiptablesã®templateãç¨æããè¨å®ãåæ ããããrestartããããã¨ããã¨ã©ã¼ãã # iptables *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :RH-Firewall-1-INPUT - [0:0] ï¼ä¸ç¥ï¼ COMMIT Chefã®å½â¦
MySQLã«é¢ãã¦ã®Chefãã´ãªã´ãªã¨æ¸ããå¾ã«chefå®è¡ã§ããã¼ãã¨ãã£ããã以ä¸ã®mysqldãã¹ã¿ã¼ãåºæ¥ãªãã¨ããã¨ã©ã¼ãã $ knife solo cook hostname ï¼ä¸ç¥ï¼ STDOUT: MySQL Daemon failed to start. Starting mysqld: [FAILED] STDERR: ï¼å¾ç¥ï¼ ã¨ãâ¦
大æµã®å ´åvagrantä¸ã®ãµã¼ãã¸ã®ãã°ã¤ã³ã¯ vagrant ssh ã§äºè¶³ãããã¨æãã¾ãããé常ã®sshã³ãã³ã ssh hostname ã§ãã°ã¤ã³ãããå ´åãæãã¾ãããã¨æãã¾ãããã®ãããªå ´å㯠vagrant ssh-config --host hostname >> ~/.ssh/config ä¸è¨ã®ã³ãã³â¦
EC2ç¨ã®Chefãæ¸ããã¨æããVagrantã§ç°å¢ä½ãããã¦ãããèºããããã¡ã¢ã vagrantã®awsç¨ãã©ã°ã¤ã³ã§ããvagrant-awsãã¤ã³ã¹ãã¼ã«ãããã¨ããã¨ãã $ vagrant plugin install vagrant-aws Installing the 'vagrant-aws' plugin. This can take a feâ¦
以ä¸ã¨ã©ã¼ã¡ãã»ã¼ã¸ã $ gem update --system ERROR: Loading command: update (LoadError) dlopen(/Users/user_name/.rbenv/versions/2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle, 9): Symbol not found: _SSLv2_client_method Referenced frâ¦
ã¨ã©ã¼ã¡ãã»ã¼ã¸ã¯ä»¥ä¸ã cairo: Unsatisfied dependency: XQuartz 0.0.0 Homebrew does not package XQuartz. Installers may be found at: https://xquartz.macosforge.org pango: Unsatisfied dependency: XQuartz 0.0.0 Homebrew does not package XQuaâ¦
丸ã 2ãµæãããæ´æ°ããã«æ¾ç½®ãã¦ããã¾ãããæ¸ãããã®ãã¨ã¨ããæè¡çã«ã¡ã¢ã£ã¦ããããé ç®ãå¤ã ãããã§ãããå¦ä½ããæ¸ãããã®çºã¾ã£ãæéãç¡ãã£ãããªã©ã¨è¨ã訳ãæ¸ãã¦ã¿ã¾ããããæéãç¡ããªã©ã¨ãããã¨ã¯ããããªãã®ã§ãåç´ã«æ¸ãâ¦
æç°çºã®ä¾¿ã§æ¼é ããã¤ã«å°çããå¾ãå½å ç·ã§ãã¼ããã³ã¸ã¨åããã¾ããããã¼ããã³ã«ã¯ã ããã18æé ã«å°çãã¾ããã 空港ãåºã¦ã¨ããããã³ã£ããã人ã¨è»ã¨ãã¤ã¯ã§éè·¯ã®ãã£ãè¿ãæ¹ãå端ãªãã®ã§ã¯ãªãã£ãããã§ããããç¥ããªãã£ããã§ããâ¦
å§çºã«æºããèµ´ãã¯æ°å®¿ãæç°ã¨ã¯ã¹ãã¬ã¹ã«ä¹ãæãæç°ç©ºæ¸¯ãç®æãã¾ããåã®ãã¹ãã¼ããåã®å½éç·ãåã®æµ·å¤ãåã®â¦â¦ã¾ãè²ã ã ãªããããªãæç°ç©ºæ¸¯ã«è¡ãã®ãã¨ããã¨ããä»äºé¢ä¿ã§ãããã ã«è¡ããã¦é ãããã¨ã«ãªã£ãããã§ããèªåã«ã¨ã£ã¦å ¨â¦
åãè¦ãããæ¯ãã§ãããå¿ææ°ã¯ä¸æãç¶ããè¦è¦ãè´è¦ãå è¦ãã主è¦ãªäºæã¯ã¾ãã§æ©è½ããªãèªãã¨è§¦è¦ã«å ¨ç¥çµãéä¸ãã¦ããç®ã«ã¯è¦ããªãç¼åã®æ§ç¸ããå¿ æ»ã«ãªã£ã¦æ¨¡ç´¢ããåºãæ触ã¨æãããæ触çµé¨ã«ãªãæ触ã«ã触è¦ããããããã¤ä½åº¦ãã®â¦
cakeã®recursiveé¢é£ã§ã¯æ¯åè¦ãããããã®ã§ãä»åå°ãããã£ããã¨ãã¡ã¢ã ããããã£ããã¨ã¯é¡ã®éããé¢é£å ã®ãã®å ã®ãã¼ãã«ãã¼ã¿åå¾ã ãã£ãããªã®ã§recursiveã«ã¤ãã¦ã軽ãã¾ã¨ããâ»è¿½è¨â» çµå±ãã¾ãå©ä¾¿æ§ãè¯ããªãã®ã§ãjoinsãªãã·ã§ã³â¦
Controllerã®editããã³updateã¢ã¯ã·ã§ã³ãªã©ã§ãã¼ã¿ã®ã¢ãããã¼ããè¡ã£ãéãå¤æ´ããããã¼ã¿ã®åå¾ãããããã¨ãããã¾ãããã ã¨ããããã§åå¾æ³ãã¡ã¢ã£ã¦ããã¾ãã ç°å¢ Rails 4.0 Ruby 2.1 å¤æ´é¢é£ã®ã¡ã½ãã群 Ruby On Rails ããã«ã¼ãè¡éâ¦
ãã¹ããã¼ã¿ãããå æ¸ã«å ¥ãã¦ãã¾ã£ã¦å¾æãããã¨ãããã¾ãããã ALTER TABLE table_name AUTO_INCREMENT = 1; ããã ãã§ãªã¼ãã¤ã³ã¯ãªã¡ã³ããåæååºæ¥ã¾ãï¼ç´ æ´ãããï¼ï¼
å½åã£ã¦å¤§å¤ãªä½æ¥ã ã¨æãã¾ããæ¥ã ã®ã³ã¼ãã£ã³ã°ã§ä»ããªãããããªãå¤æ°åãããåä¾ã®ååã¾ã§ãè³é«ã«é»æãæµãããããªç´ æ´ãããååã¯ä¸ã æãã¤ãã¾ããã ãã®ããã°ã®ã¿ã¤ãã«ã§ãããããã°ã©ã ã¯ãç¨ãããã¸ãã¯ã®é¸æã§æ±ºã¾ããã¨ããã®â¦
é¨ã®æ¹¿æ°ã¨ç èã®ç ãããæãã«ãããã³ã°ãã¦ã大ããçç±ããªãæå·çãªæ°æã¡ã«ãªãã¾ããæ´ãã¦ããæ¥ã«ã¯ç èãªãã¦ã¨æããã ãã©ãé¨ã®æ¥ã¯ã©ãããããã帰ãéã«ãã±ã¼ã£ã¨ãããããªãã ã¨ããããã§ã¹ããã¹ã¤ããã®ã¹ã¢ã¼ãã³ã¬ã¤ãã¼ãã«ã¼èâ¦
ä½éã5kgå¢ããã絶対ã«ã ã
èªåã®é ã®æªããåèªèã 人ããç©è¦ãæªããç解åããªããã§ã人ããå¦ç¿æéããããªãã¨ãããªãã£ã¦ãã¨ãæè¿å¿ãã¦ããã¡ãã£ã¨é©ã£ã¦ããççã ã¾ãããç´ãï¼ï¼
ãªãã¨ãªã家ã®ä¸ã§PCã¨åãåãæ°åã«ãªããªãã£ãã®ã§ãæãä¸çããå¤ã«åºã¾ããã ããã¾ãçãããæ£æ©ããããæ°åã ã£ãã®ã§ä¸ç³äºé³¥ã ã£ãããã§ãã ã¨ããããã§è¿ãã®å ¬åã«æ¥ã¦PCãéãã«ã¿ã«ã¿ãã£ã¦ããããã§ããããããä¸ã å¿«é©ã§é©ãã¾ãâ¦
ããããªã¹ã¹ã¡ãããã®ã§èªãã§ã¿ããæå¼·ãªãã¸ã§ã¯ãæåè¨èª JavaScript åå ¥éï¼ããããããããããã§ãâ¦â¦ã æåã¹ã©ã¤ãã®ææ°ã§è¥å¹²ãããã£ã¦ãªã£ããã©ãèªãã§ã¿ããããæãã®åéãJSã¯ãããã¿ã¤ãã¬ã¼ã£ã¦è©±ã念ä»ã®ããã«èãã¦ããã©ããâ¦
ä»åã®å¯¾å±ã¯è äºäºæ®µvsç¿ç¦ã¨ããçµã¿åããã§ã®ãªãã³ã¸ãããã¨ãªãã¾ãããä¸æ¥å¶æã¡æé8æéã¨ããããã®ããããªãã«ã¼ã«ã§ã®å¯¾å±ã§ãæ¼ããå§ã¾ã£ã対å±ã¯ææ¹ã«çµå±ãã¾ããã çµæã®æ¹ã¯ãæ®å¿µãªããè äºäºæ®µã®ãªãã³ã¸ã¯ãªãããç¿ç¦ã®é£åã¨ãªâ¦
5æã®çµãããããããè¨ç»ãç«ã¦ã6æã®é ããã³ã¼ãã£ã³ã°ä½æ¥ãè¡ã£ã¦ããæ¡ä»¶ãããããçµãããè¿ãã¾ããã 主ã«æ¹ä¿®çãªä½æ¥ã ã£ãã®ã§ãããçµæ§å¤§å¹ ãªãã®ã ã£ãã®ã§ãããã大å¤ã§ããã ã¾ã è¥å¹²ãã°çåºããããªã®ã§ããã®è¾ºãã®ä¿®æ£ã¯å ¥ãããâ¦
7æ8æ¥ãã7æ9æ¥ã®äºæ¥éãããã¦è¡ãããçä½æ¦ã®åæ¦ã¯æ¨æå «æ®µãåå©ãã¾ããï¼ ä»æè² ããªãã®ç¾½çããã«åã®åãã¤ããã¨ãããã¨ã¯å¤§å¤å大ãªãã¨ãªã®ã§ã¯ãªãã§ããããã 対å±ã®æ¦åã¯ç¸ç¢åã¨ãªããç¾½ççä½ã®æ»ãããã£ããã¨åããå¾ã®æ¨æå «æ®µâ¦
使ãæ¹èª¿ã¹ã¦ã»ã»ã¼ã¨ãæã£ã¦ããã使ãæ©ä¼ãã»ã¨ãã©ç¡ãã£ããå©ç¨æ¹æ³âau Wi-Fi SPOTâauå«è¶åºã¨ãã§ãã¶ãªã³ã°ããªãã¦æ¸ãããåãå©ãããªãã¨æã£ã¦ããã ãã©å¦ä½ããé»æ³¢ãé£ãã§ãªããããã京çç·ã»äºã®é ç·ã®è»å ã§ãå¿«é©ã¤ã³ã¿ã¼ãããï½å ¬è¡â¦
ã¤ã¤ã¼ã©ãããããã¾ãªãã§ããã¨ããããã£ã±ã¤ãã§ããã®ãããããã¾ãããã¯ãºãªãã¸ã»ã³ãã¥ãªã¼ããããã¾ããã ãããªã¯ãºã®ä¸ã®ã¯ãºã«å¯¾ãã¦ãä¿¡é ¼ãå¯ãã¦ããã人ãããã®ãã¨æãã¨æãé£ãã®ä¸è¨ã«å°½ãã¾ãã ãã®ä¿¡é ¼ã«å¿ãããã人éãã¨ãâ¦
ä»æ¥å¸°å® éä¸ã«ãµã¨æã£ããã¨ã 人éã®ä¾¡å¤ã£ã¦ãã®äººã®åå¨ãå ¨ä½ã®ä½åã®ä¸ã§ãããã§æ±ºã¾ãã®ã§ã¯ãªããã¨æã£ããä¾ãã°ãã®äººã®å±æ§ãä¸è¬çã«äººéãææãããã®ã ãã§ãã£ãå ´åï¼é£äºãåºæ¥ãã¨ãç¡ç ãåããã¨ãï¼ããã®äººã¯1/1ã®äººéã¨ãããã¨â¦