Forked from amanjuman/Install AWS Codedeploy Agent for Ubuntu 20.04
Created
May 15, 2022 17:43
-
-
Save sonnetmia/ce387f163004f91c6ac3a639dbc13e73 to your computer and use it in GitHub Desktop.
Install AWS Codedeploy Agent for Ubuntu 20.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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