Skip to content

Instantly share code, notes, and snippets.

View hakube's full-sized avatar
💭
Let's work together!

hakube hakube

💭
Let's work together!
View GitHub Profile
@hakube
hakube / aws_codedeploy_agent_install.sh
Created January 20, 2022 01:02 — forked from lifeeth/aws_codedeploy_agent_install.sh
AWS Codedeploy Agent install on Ubuntu 20.04 - Until a package is released for Ubuntu 20.04
#!/usr/bin/env bash
sudo snap install ruby --channel=2.5/stable --classic
sudo gem install bundler
sudo git clone https://github.com/aws/aws-codedeploy-agent.git /opt/codedeploy-agent
sudo chown -R root.root /opt/codedeploy-agent
sudo chmod 644 /opt/codedeploy-agent/conf/codedeployagent.yml
sudo chmod 755 /opt/codedeploy-agent/init.d/codedeploy-agent
sudo chmod 644 /opt/codedeploy-agent/init.d/codedeploy-agent.service
pushd /opt/codedeploy-agent
sudo bundle install --system