Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
femibiwoye committed Jan 7, 2021
1 parent 06e1350 commit 05202ff
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions scripts/install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
#!/bin/bash
apt update
# apt install ruby -y
# gem install bundler
# 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
# cd /opt/codedeploy-agent
# bundle install --system
# rake clean && rake
# cp /opt/codedeploy-agent/init.d/codedeploy-agent /etc/init.d/
# systemctl daemon-reload
# systemctl start codedeploy-agent
# systemctl enable codedeploy-agent

sudo su
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

0 comments on commit 05202ff

Please sign in to comment.