22
25

More than 5 years have passed since last update.

EC2(Amazon Linux)で起動時に自動実行するスクリプト

Last updated at Posted at 2015-02-17

AWS EC2(Amazon Linux)で起動時に特定のスクリプトと自動実行する方法です。
毎回調べることになるので、関連ページをまとめておきました

init.dにスクリプト設置 → chkconfig --add

注意

rootユーザー実行なので、sudoを利用しないこと

User Data を利用する場合

22
25
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
22
25