Skip to content

Instantly share code, notes, and snippets.

@felipekm
Created June 24, 2020 20:10
Show Gist options
  • Save felipekm/b3a84bd9d3f9080737c9c7e170e4ee37 to your computer and use it in GitHub Desktop.
Save felipekm/b3a84bd9d3f9080737c9c7e170e4ee37 to your computer and use it in GitHub Desktop.
Install codedeploy in ubuntu 20
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