This domain may be for sale!
GitHub / Bitbucket ã®ãã©ã¤ãã¼ããªãã¸ããªãç¡æ㧠CI ãæ¾é¡ã® wercker ã¨ãããµã¼ãã¹ãããã¾ãã(2013/11/30 ç¾å¨) ãµã¤ãããããã§ç´ æµã§ãããã«ãæåå¾ãCapistrano ã§ãããã¤ãèªåå®è¡ãããæ¹æ³ãæ¸ãã¦ããã¾ãã ã¾ããã¢ããªã®è¨å®ã§ SSH å ¬ééµãä½æãã¾ãã çæãããå ¬ééµã¯ããããã¤å ãµã¼ãã® ~/.ssh/authorized_keys ã Bitbucket ã®ãããã¤éµãªã©ã«è¿½å ãã¦ããã¾ãã 次ã«ãã¢ããªã®è¨å®ãã Deploy targets ã®è¨å®ããã¾ããCustom deploy ãé¸æãã¦ã master ãã©ã³ãã®ãã«ãã«æåããããèªåãããã¤ããããã«ãã¾ãã å ¥åããããDeploy pipeline ã® Add new variable ãã¯ãªãã¯ã SSH Key pair ãé¸æããå ã»ã©
ã¯ããã« ãã®è¨äºã¯GREE Advent Calendar 2013å¹´ã®21æ¥ç®ã§ããã楽ãã¿ãã ããï¼ ããã«ã¡ã¯ãã¢ã´ã²ãããã³ãã£ã¼ã ã¨è©å¤ã®ä¹å²¡ã§ããGREEã§ã¯ãJavaãScalaãå¸æããããã®åå°ãåºããããããããã¤ãç£è¦ã®ä»çµã¿ã¥ãããªã©ã横æçã«ãã£ã¦ãã¾ããä»åã¯ãã®éç¨ã§å¾ãããç¥èããCapistrano 3ã®å ¥éè¨äºãã¨ããå½¢ã§å ±æããã¦ããã ãã¾ãã ãã®è¨äºã§ã¯Capistrano 3ã®åºç¤ããç´¹ä»ãã¾ããCapistrano 3ã¯Rubyããã¼ã¹ã«ãããµã¼ãæä½ããã³ãããã¤ã®èªååãã¼ã«ã§ããCapistrano 3ãå©ç¨ãããã¨ã§ããããã¤ãªã©ã®è¤éãªãµã¼ãæä½ãèªååãããã¨ãã§ãã¾ããããã®è¨äºã§ã¯ãç¹ã«ãããã¤ã«ç¦ç¹ããã¦ãªãããCapistranoã§ãµã¼ãæä½ãèªååããèãæ¹ã¨å®ç¾æ¹æ³ãã説æãã¦ããã¾ãã Capistrano 3ã®ç¿å¾
ã¾ã¨ãã¦ããããå¦çãããï¼ ã解決ãããCapistranoãï¼ç¹éãDevOpsæ代ã®å¿ é ç¥è ã¤ã³ãã©éç¨ã®èªååãå®ç¾ããDevOpsãæ¯æ´ãããã¼ã«ã¯ããã¤ãããã¾ããããã§ã¯ãã®ä¸ãããCapistranoãã¨ãããã¼ã«ã«ã¤ãã¦ããµã³ãã«ãç¨æãã¤ã¤ç´¹ä»ãã¾ãã ã¯ããã« ã¤ã³ãã©éç¨ã®èªååãå®ç¾ãããã¼ã«ã«ã¯ãChefãããPuppetããªã©ããããããã¾ããä»åã®è¨äºã§ã¯ãããã£ããã¼ã«ã®ãã¡ãCapistranoã¨ãããã¼ã«ãç°¡åãªãµã³ãã«ãç¨æãã¤ã¤ç´¹ä»ãã¾ãã Capistranoã¨ã¯ Capistranoã¨ã¯ç°¡åã«ããã¨ããªã¼ãã³ã½ã¼ã¹ã§æä¾ããã¦ãããè¤æ°ã®ãµã¼ãä¸ã§åæã«ã¹ã¯ãªãããå®è¡ããããã®ã½ããã¦ã§ã¢ãã¼ã«ã§ãã主ã«ãåãå½¹å²ã®ãµã¼ããè¤æ°å°åå¨ãããããªç°å¢ã§ã®èªååã§ãã£ãããã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤èªååã«å©ç¨ããã¦ãã¾ãã ç¹ã«Ruby On
Railsã«Capistranoãå°å ¥ãã¦ãGitãªãã¸ããªã¨é£æºããèªåãããã¤ã®ããã¿ãæ§ç¯ãã¦ããã¾ããä¸åº¦çµã¿ä¸ãã¦ãã¾ãã°ããã®å¾ã®ä½æ¥éãæ¿æ¸ãããã§ãªã¹ã¹ã¡ã§ãï¼ ã¡ãªã¿ã«ãlocalã«ã¹ãã¼ã¸ã³ã°ç°å¢ãä½ãå ´åã«ã¯ãCapistrano è¤æ°ç°å¢ã¸ã®ãããã¤[localhostã¸ã®ãããã¤]ããªã¹ã¹ã¡ã§ãã ð® ãªã¢ã¼ãã®Gitãªãã¸ããªãæºåãããã¤å ã®ãµã¼ããã¢ã¯ã»ã¹ã§ããGitãªãã¸ããªãæºåãã¦ãã ãããç¡å¶éã§ãã©ã¤ãã¼ããªGitãªãã¸ããªãä½æã§ããBitBucketããªã¹ã¹ã¡ã§ãï¼ ã¡ãªã¿ã«ãBitbucketã§ã®SSHãã¼ã»ããã¢ããæé ã¯ãã¡ãã«ã¾ã¨ãã¦ãã¾ãã ð Gitã«ãªã¢ã¼ããªãã¸ããªã追å ãã¼ã«ã«å´ã§Gitã«ãªã¢ã¼ããªãã¸ããªã追å ããã
ä½ãã¢ããªãæ¸ããæã«VPSãªããã§å ¬éãããã¨ãã㨠ãããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã¦ã¢ããªæ¸ãã¦ãµã¼ãã¼ã®è¨å®å¤æ´ãã¦ãããã¤ç°å¢ãä½ã£ã¦â¦etcã ã¨è²ã ä½æ¥ããªãã¨ãããªãã®ã§é常ã«ããã©ãããã æ¨ä»heroku/sqale/engineyardãªããã®Paasãããããã©ããã£ã±ãèªç±åº¦ã®é«ãç°å¢ãå®ä¾¡ã«æ¬²ããå ´é¢ããã¾ããã ã£ã¦ãã¨ã§ ãµã¼ãã¼ã®åºæ¬è¨å®(ã¦ã¼ã¶ã¼ã®ä½æããã¡ã¤ã¢ã¦ã©ã¼ã«ã®è¨å®,ãªã¢ã¼ããã°ã¤ã³ç°å¢ã®æ´å,ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãªã©) ã¢ããªã±ã¼ã·ã§ã³ã®ç¨¼åç°å¢ã®æ´å/ç°å¢ã®ãã¹ã,稼å ãã®ç¯å²ãèªååãã¦ãµã¯ãã¨ãµã¼ãã¼ä½ãã¾ãã ãµã³ãã«ã³ã¼ããç½®ãã¦ããã®ã§ã使ã£ã¦ããããã°ãµã¯ãã¨ãµã¼ãã¼ä½ãã¾ãã ãµã¼ãã¼ã®åºæ¬è¨å® ãµã¼ãã¼ã®ãããã¸ã§ãã³ã°ã¯Chef-Soloã§ããã¾ãã Cookbookã¯ãã https://github.co
以ä¸ã deploy.rb ã¨ãã«ä»ã足ãã¦ããã° --with-mysql-dir ã®ãªãã·ã§ã³ã足ããç¶æ 㧠mysql2 gem ã®ã¤ã³ã¹ãã¼ã«ããã¦ãããã before "bundle:install" do run "BUNDLE_GEMFILE=#{current_path}/Gemfile bundle config build.mysql2 '--with-mysql-dir=/usr/local/mysql'" end
æè¿ã®Chefã®ãã¬ã¤ã¯ã§ããµã¼ãã®æ§ç¯ãèªååã§ã¨ããæ½®æµã«ãªã£ã¦ãã¾ãããããªä¸ã§ãã©ãã©è¦åããããã®ããã¢ããªã®ãªãªã¼ã¹ãChefã§ã¨ããèãæ¹ã§ããç§ã¯å¾®å¦ã«éãã®ã§ã¯ãªãããªãã¨æã£ã¦ããã®ã§ãã¡ãã£ã¨èããæ´çãã¦ã¿ã¾ãããä½µãã¦Capistranoã®ç´¹ä»ããã¦ã¿ã¾ãã Chefã®å½¹å² ã¾ãChefã«ã¤ãã¦ã§ããChefã®å½¹å²ã¨ãã¦ã¯ããµã¼ãã®ç¶æ ã管çãããã®ã§ããããã§è¨ããµã¼ãã®ç¶æ ã¨ããã®ã¯ãå種ããã«ã¦ã§ã¢ã®ã¤ã³ã¹ãã¼ã«ç¶æ ï¼è¨å®ã§ãããããããµã¼ãæ§æã§ãããã¾ãChefã使ãæ大ã®ã¡ãªããã¯ãéçºç°å¢ãã¹ãã¼ã¸ã³ã°ç°å¢ãæ¬çªç°å¢ã¨å ¨ã¦ã®ç°å¢ãåãã¹ã¯ãªããã§æ§ç¯ããã®ã§ãæä½æ¥ã«ãããã¹çã«ããå¾®å¦ãªå·®ç°ãçºçããªããªããã¨ã§ãã ãã¦ããã§åé¡ã«ãªãã®ãããµã¼ãä¸ã®ã¢ããªã±ã¼ã·ã§ã³ã®ã³ã¼ãããã¼ã¿ãã¼ã¹ã®ãã¼ãã«å®ç¾©ã¯ããµã¼ãã®ç¶æ ã«å ¥ãã®ãã¨ããç¹ã§ããå ¥ã
Chefã¨Capistranoã®å¢çç· (Chef Casual Talks Vol.1) #eytokyo #opschef_ja 大ããåãã¦äºã¤ã®è©±ããã¾ããã Chefãå°å ¥ããæã®ãèãæ¹ã Chefã®ãããªæ§æ管çãã¼ã«ã¯ä¸è½ã§ããæ¹ããããããã(TMTOWTDI)ã®ã§ãæåã«ã©ãããããªã·ã¼ã§çµã¿ç«ã¦ãããéè¦ã«ãªãã¾ããä»åãæ¬æ°ã§ä½¿ããã«ãããã以ä¸ã®ãããªããªã·ã¼ãè¨å®ãã¾ããã ååãµã¼ãä¸ã§ä½æ¥ãããChefã§ç°å¢è¨å®ãå®è£ ãã å ¬éãããcookbooksãåå©ç¨ãã opscode-Âcookbooksã«ããã°ãããæ¢ã communityãgithubã«ããcookbookã使ã ããããã®å¿ãæã¤ å¿ è¦ãªãã°opscode-cookbook�sãªã©æ¢åã®cookbookãforkãã¦æãå ¥ãã åæ¥èª¿ã¹ã¦é£ããããªãã¨ã¯ããããã(èªåChef recip
æ¬é£è¼ã®ç¬¬1åãã第3åã¾ã§ã¯ã主ã«moonlinxã®ã¤ã³ãã©æè¡ã説æãã¦ãã¾ãããä»åããã¯moonlinxã®ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³æè¡ã«çç®ãã¦è§£èª¬ãã¦ããããã¨æãã¾ãã ãããã¤ãã¼ã«ãCapistranoãã®é å ã¦ã§ãã¡ãã£ã¢ãmoonlinxãã§ã¯ãmoonlinx Membership Centerã¨å¼ã°ããã¯ãªã¨ã¤ã¿ã¼åãã®ç»é²å¶ä¼å¡ãµã¼ãã¹ãéå¶ãã¦ãã¾ããããã¯ããã¶ã¤ãã¼ãé³æ¥½æ´»åãè¡ãã¢ã¼ãã£ã¹ããã¿ã¼ã²ããã¨ãããµã¼ãã¹ã§ãããã¯ãªã¨ã¤ã¿ã¼èªèº«ã®æ´»åãããã¢ã¼ã·ã§ã³ãããã¼ã«ã¨ãã¦æ´»ç¨ã§ãããµã¼ãã¹ã§ãã ãã®Membership Centerã§ã¯ããã¬ã¼ã ã¯ã¼ã¯ã¨ãã¦Ruby on Railsãå©ç¨ãã¦éçºãã¦ãã¾ããã¾ããPhusionã®Passengerãå©ç¨ãã¦ãApache2ä¸ã§åä½ããã¦ãã¾ãã Railsã®éç¨ç°å¢ã¯ãMongrelã¨Mongre
ãã®ã¦ã§ããµã¤ãã¯è²©å£²ç¨ã§ãï¼ twiwt.org ã¯ãããªãããæ¢ãã®æ å ±ã®å ¨ã¦ã®ææ°ãã¤æé©ãªã½ã¼ã¹ã§ããä¸è¬ãããã¯ããããããæ¤ç´¢ã§ããå 容ã¯ãtwiwt.orgãå ¨ã¦ã¨ãªãã¾ããããªãããæ¢ãã®å 容ãè¦ã¤ãããã¨ãé¡ã£ã¦ãã¾ãï¼
ããããã£ã¯ã©ã¦ãã¦ã¼ã¶ã¼ããã°ãã¯ã移転ãã¾ããã èªåã§ãã¼ã¸ã移åããªãå ´åã¯ãä¸è¨ã®ãªã³ã¯ãã¯ãªãã¯ãã æ°ããããããã£ã¯ã©ã¦ãã¦ã¼ã¶ã¼ããã°ããã覧ãã ããã ä»å¾ã¨ãããããã£ã¯ã©ã¦ãã¦ã¼ã¶ã¼ããã°ãããããããé¡ããããã¾ãã ï¼ ãããã£ã¯ã©ã¦ãã¦ã¼ã¶ã¼ããã°
Capistrano ã¨ã¯ï¼ Ruby ã§æ¸ããã ãããã¤ãã¼ã«ã æé rubyã¤ã³ã¹ãã¼ã« gemã¤ã³ã¹ãã¼ã« railsã¤ã³ã¹ãã¼ã« capistoranoã¤ã³ã¹ãã¼ã« å¼ã£ã¦ã¿ã 詳細 1. rubyã¤ã³ã¹ãã¼ã« $ cd /usr/local/src $ wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz $ tar xvfz ruby-1.8.5.tar.gz $ cd ruby-1.8.5.tar.gz $ ./configure $ make $ make test $ sudo make install $ make clean $ ruby -v ruby 1.8.5 (2006-08-25) [i686-linux] 2. gemã¤ã³ã¹ãã¼ã« $ cd /usr/local/src $ wget http:
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}