Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sonnetmia/ce387f163004f91c6ac3a639dbc13e73 to your computer and use it in GitHub Desktop.
Save sonnetmia/ce387f163004f91c6ac3a639dbc13e73 to your computer and use it in GitHub Desktop.
Install AWS Codedeploy Agent for Ubuntu 20.04
apt-get update
apt-get install -y ruby
wget https://aws-codedeploy-us-east-1.s3.amazonaws.com/releases/codedeploy-agent_1.0-1.1597_all.deb
mkdir codedeploy-agent_1.0-1.1597_ubuntu20
dpkg-deb -R codedeploy-agent_1.0-1.1597_all.deb codedeploy-agent_1.0-1.1597_ubuntu20
sed 's/2.0/2.7/' -i ./codedeploy-agent_1.0-1.1597_ubuntu20/DEBIAN/control
dpkg-deb -b codedeploy-agent_1.0-1.1597_ubuntu20
dpkg -i codedeploy-agent_1.0-1.1597_ubuntu20.deb
systemctl start codedeploy-agent
systemctl enable codedeploy-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment