0
0

More than 3 years have passed since last update.

AWS EC2 で Code Deployのセットアップ

Posted at

環境

  • EC2
  • Amazon Linux 2

ルートユーザーとしてログインする

sudo su -

shellを作成する

vi install.sh

以下のコードを貼り付ける

#!/bin/bash
sudo yum update
sudo yum install ruby
sudo yum install wget
cd /home/ec2-user
wget https://aws-codedeploy-ap-northeast-1.s3.ap-northeast-1.amazonaws.com/latest/install
chmod +x ./install
./install auto

実行権限を付与

chmod +x install.sh

install.shを実行

./install.sh
0
0
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
0
0