1 個回答
- 最新
- 最多得票
- 最多評論
1
Hello,
Ubuntu 22.04 is currently not officially supported for the CodeDeployAgent, see: https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent.html
Supported Amazon EC2 AMI operating system:
The CodeDeploy agent has been tested on the following Amazon EC2 AMI operating systems:
- Amazon Linux 2018.03.x
- Amazon Linux 2 (ARM, x86)
- Ubuntu Server 20.04 LTS, 18.04 LTS, 16.04 LTS, and 14.04 LTS
- Microsoft Windows Server 2019, 2016, 2012 R2, and 2008 R2
- Red Hat Enterprise Linux (RHEL) 8.x, 7.x
So I would suggest you switch to another operating system like Ubuntu Server 20.04 LTS.
But you can still try to install an older rubyversion and test if it works. Check out this blog for installing an older rubyversion on ubuntu-22-04: https://blog.francium.tech/setting-up-ruby-2-7-6-on-ubuntu-22-04-fdb9560715f7
Basically what he does are three commands:
sudo apt install gnupg2
rvm pkg install openssl
rvm install 2.7.6 --with-openssl-dir=$HOME/.rvm/usr
You could also open an github-issue to ask for 22.04-support: https://github.com/aws/aws-codedeploy-agent
已回答 1 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 6 個月前
- AWS 官方已更新 7 個月前
Thanks for your suggestion.