翻訳ã¯æ©æ¢°ç¿»è¨³ã«ããæä¾ããã¦ãã¾ããæä¾ããã翻訳å 容ã¨è±èªçã®éã§é½é½¬ãä¸ä¸è´ã¾ãã¯çç¾ãããå ´åãè±èªçãåªå ãã¾ãã ãè¨å®ããç°å¢å¤æ° AWS CLI ç°å¢å¤æ°ã使ç¨ããã¨ãå¥ã®æ¹æ³ã§è¨å®ãªãã·ã§ã³ã¨èªè¨¼æ å ±ãæå®ã§ãã¾ãããã®ãããã¹ã¯ãªããå¦çããååä»ããããã¡ã¤ã«ãä¸æçã«ããã©ã«ãã¨ãã¦è¨å®ããå ´åã«ä¾¿å©ã§ãã ãªãã·ã§ã³ã®åªå é ä½ ãã®ãããã¯ã§ç¤ºããã¦ããç°å¢å¤æ°ã®ããããã使ç¨ãã¦ãªãã·ã§ã³ãæå®ããå ´åãè¨å®ãã¡ã¤ã«ã®ãããã¡ã¤ã«ãããã¼ããããå¤ã¯ä¸æ¸ãããã¾ãã AWS CLI ã³ãã³ãã©ã¤ã³ã§ãã©ã¡ã¼ã¿ã使ç¨ãã¦ãªãã·ã§ã³ãæå®ããã¨ã対å¿ããç°å¢å¤æ°ã¾ãã¯è¨å®ãã¡ã¤ã«å ã®ãããã¡ã¤ã«ã®å¤ãä¸æ¸ãããã¾ãã
èªãæéã®ç®å®: 3 å Compose ã®è¤æ°ã®å ´é¢ã«ããã¦ç°å¢å¤æ°ããã¾ãã¾ã«ç¨ãããã¦ãã¾ãã ãã®ãã¼ã¸ã§ã¯ç°å¢å¤æ°ã«ã¤ãã¦å¿ è¦ã¨ãªãæ å ±ã示ãã¾ãã Compose ãã¡ã¤ã«å ã§ã®ç°å¢å¤æ°ã®å©ç¨ ã·ã§ã«å ã«ã¦ç°å¢å¤æ°ãè¨å®ãããã®å¤ã Compose ãã¡ã¤ã«ã«ããã¦èªã¿è¾¼ã¾ãããã¨ãã§ãã¾ãã ç°å¢å¤æ°ãè¤æ°ããå ´åã.envã¨ããååã®ãã¡ã¤ã«ã«ç°å¢å¤æ°ã®ããã©ã«ãå¤ãè¨å®ãããã¨ãã§ãã¾ãã ãããã¯ã³ãã³ãã©ã¤ã³ãªãã·ã§ã³--env-fileã使ã£ã¦ç°å¢å¤æ°ãã¡ã¤ã«ã¸ã®ãã¹ãæå®ãã¦å©ç¨ãããã¨ãã§ãã¾ãã è¨å®ãªãã·ã§ã³ã«ã¯ç°å¢å¤æ°ãå«ãããã¨ãã§ãã¾ãã Compose 㯠docker-compose ãå®è¡ãããã·ã§ã«ç°å¢ããå¤æ°å¤ãåå¾ãã¾ãã ãã¨ãã°ã·ã§ã«ç°å¢ã« POSTGRES_VERSION=9.3 ãå®ç¾©ããã¦ããã¨ãã¦ã以ä¸ã®ãããªè¨å®ãè¡ã£ãã¨ãã¾
systemdã§ã¦ã¼ã¶ã¼ã®ç°å¢å¤æ°ãèªã¿è¾¼ã¾ãã ãã¾ããµã¼ãã¹ãç«ã¡ä¸ãããªãã¨ããåé¡ãããã¾ããã 調ã¹ã¦ã¿ãã¨ãsystemdã¯.barshrcã.bash_profileã« å®ç¾©ããç°å¢å¤æ°ãèªãã§ãããªãã¨ãããã¨ããããã¾ããã ç°å¢å¤æ°ãèªã¿è¾¼ã¾ãããå ´åã¯ä¸æéããã¦ãããã°å¤§ä¸å¤«ãªã®ã§ããã®æ¹æ³ãã¾ã¨ãã¦ã¿ã¾ããã /etc/sysconfig/USER_NAMEãã«èªã¿è¾¼ã¾ãããç°å¢å¤æ°ãæ¸ã 以ä¸ã®è¦é ã§serviceãåããã¦ã¼ã¶ã¼ãèªã¿è¾¼ãç°å¢å¤æ°ãå®ç¾©ãããã¡ã¤ã«ãè¨å®ãã¾ãã # cat <_EOF_ > /etc/sysconfig/test LANG=ja_JP.UTF-8 PATH=/home/test/.plenv/shims:/home/test/.plenv/bin:/home/test/.rvm/gems/ruby-1.8.7-p374/bin
systemd ã§ã® Environment / EnvironmentFile ã§ã¯å¤æ°å±éã§ãã¾ããã ç¥ããã«ããã£ãã®ã§è¨äºã«æ®ãã¾ãã ç¾è±¡ ä¾ãã°ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}