è«æ¯äºé² æ¯å¨ç äºé² æ¯èçæ¹å æ¯æ§½è¿æ¼æ¹å å£å çå®æ²» èèé¤å» å£èäºé² ãããåæã®è«æ¯ãªãå®æ²»ããã¦ãã¾ãï½ï½ï½ åããï½ï½ï½
# Load DSL and Setup Up Stages require 'capistrano/setup' # Includes default deployment tasks require 'capistrano/deploy' require 'capistrano/rbenv' set :rbenv_type, :user set :rbenv_ruby, '2.0.0-p247' require 'capistrano/bundler' require 'capistrano/rails/assets' require 'capistrano/rails/migrations' # Loads custom tasks from `lib/capistrano/tasks' if you have any defined. Dir.glob('lib/capistran
èæ¯ èªåã®ãµã¼ãã¹ã§httpséä¿¡ããµãã¼ãããã«ã¯ãSSL証ææ¸ãå¿ è¦ã«ãªãã¾ãã èªåã§ä½¿ç¨ããã ããªããSSL証ææ¸ãèªåã§ä½æãããããããªã¬ãªã¬è¨¼ææ¸ãç¨ãã¦ãè¯ãã®ã§ãããå¤é¨ã«å ¬éãããµã¼ãã¹ã®å ´åããã¨ãè¡ãã¾ããã SSL証ææ¸ã¨ããã¨å¤æ®µãé«ãå°è±¡ãããã¾ããããStartSSLã¨ãããµã¼ãã¹ã§ç¡æã§SSL証ææ¸ã®çºè¡ãåããããã¨è¨ããã¨ã§è©¦ãã¦ã¿ã¾ããã StartSSLã«ã¦ã¼ã¶ã¼ç»é²ãã 証ææ¸ã®çºè¡ãè¡ãåã«ãStartSSLã«ã¦ã¼ã¶ã¼ç»é²ããå¿ è¦ãããã¾ãã StartSSLããã"StartSSL Free (Class1)"ãé¸æãã¾ãã Certificate Control Panelãé¸æã Sign-upã«é²ã¿ã¾ãã ååãä½æãã¡ã¼ã«ã¢ãã¬ã¹ãªã© å人æ å ±ã®ç»é²ãè¡ãã¾ãã ç»é²ããã¡ã¼ã«ã¢ãã¬ã¹ã«æ¬äººç¢ºèªã®ã¡ã¼ã«ãå±ãã®ã§ãåä¿¡ããã¡ã¼ã«ã®a
AmazonWebServiceã®ELBã¯ãã¨ã¦ãç°¡åã«ãµã¼ãåæ£åã§ããç´ æ´ããããµã¼ãã¹ãªãã ãã©ãã¡ãã£ã¨ãããã¨ã«æ³¨æããªãã¨ãã¨ãã§ããªãç®ã«éããã¨ããããããã¥ã¢ã«ã¨ãã«ã¡ããã¨æ¸ããã¦ãããããèªããã£ã¦è©±ãªãã ãã©ã AZæ¯ã®EC2ã¤ã³ã¹ã¿ã³ã¹ã¯åãã«ããï¼ åãã¦ELBãéç¨ãã¦ããå½åãã©ããEC2ã¤ã³ã¹ã¿ã³ã¹ã«ãã£ã¦ã¢ã¯ã»ã¹ã«åãããããªâ¦ã¨æã£ã¦ãããELBã¯ã¾ãç»é²ããã¦ããAZã®æ°ã§ãã©ãã£ãã¯ãåãã¦ããã®ä¸ããåEC2ã«æ¯ãåããæåã ã£ããã¤ã¾ããAZ_Aã«EC2ã1åï¼AZ_Bã«EC2ã10åããã¨ãç·ãã©ãã£ãã¯ã®ç´50%ãAZ_Aã®EC2ã¤ã³ã¹ã¿ã³ã¹1åãå¼ãåããã¨ããå°çã«â¦ã ããã¥ã¢ã«ã«ãæ¸ããã¦ãã¾ãâ¦ã çä¿¡ãã©ãã£ãã¯ã¯ãã¼ããã©ã³ãµã¼ã§æå¹ã«ãªã£ã¦ãããã¹ã¦ã®ã¢ãã¤ã©ããªãã£ã¾ã¼ã³éã§åçã«è² è·åæ£ãããã®ã§ãåã¾ã¼ã³ã®ã¤ã³ã¹ã¿ã³ã¹
Capistranoï¼ã«ãã¹ãã©ã¼ãï¼ã¯è¤æ°ã®ãªã¢ã¼ããµã¼ãã«SSHæ¥ç¶ãã¦ä¸æ¬æä½ã§ãã便å©ãªãã¼ã«ã§ãã è²ã ãªç¨éã«ä½¿ãã¾ãããä»åã¯Capistranoã§PHPããã¸ã§ã¯ãããããã¤ãã¦ã¿ã¾ããã æ¦è¦å³ Capistranoãã¤ã³ã¹ãã¼ã«ãããµã¼ãã¯ä¸å°ã ãã§ãã ãããã¤å ã®ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã§ã¯ãã°ã¤ã³ç¨ã¢ã«ã¦ã³ãï¼è¦sudo権éï¼ãäºåã«ä½æãã¦ããã¾ãã ã¤ã³ã¹ãã¼ã«ä¸ã®å³ã§ã¯Capistranoãã½ã¼ã¹ã³ã¼ã管çãµã¼ãã«ã¤ã³ã¹ãã¼ã«ãã¦ãã¾ãã Capistranoãåããã«ã¯Rubyãå¿ è¦ã«ãªãã¾ãã®ã§ãã¾ãã¯Rubyãã¤ã³ã¹ãã¼ã«ãã¾ãã ï¼Rubyã®ã¤ã³ã¹ãã¼ã«æ¹æ³ã¯çç¥ãã¾ããï¼ æ¬¡ã«ã以ä¸ã®ã³ãã³ãã§Capistranoãã¤ã³ã¹ãã¼ã«ã $ sudo gem install capistrano 使ç¨æ¹æ³åºæ¬çã«capfileã«ä¸é£ã®æä½ãè¨è¿°ãããã¨ã¯ã³
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}