aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.53k stars 4.12k forks source link

Can't seem to run ./install after pulling in s3 codedeploy #1441

Closed joshbedo closed 9 years ago

joshbedo commented 9 years ago

I'm trying to setup codedeploy on a amazon linux AMI and have everything working to the point where i need to run ./install auto to start the agent. I ran the following command aws s3 cp s3://aws-codedeploy-us-east-1/latest/install . --region us-east-1 to download the latest and now when i run ./install auto after chmod -x ./install i get permission denied. I also tried running it with sudo and it throws an error saying sudo: unrecognized command ./install. Any ideas on how i can get ./install to execute?

jamesls commented 9 years ago

Looks like this is for the installer for the codedeploy agent, which is a separate project from the AWS CLI. I'm not familiar with this installer, but it appears to be a ruby file, so maybe "ruby ./install" might work. Otherwise, the codedeploy should be able to help you out if you ask on their forums.

joshbedo commented 9 years ago

Got it working, it worked after running chmod -R 777 ./install. I guess i didn't have execute privileges.