Questions tagged [amazon-linux-2]
The amazon-linux-2 tag has no usage guidance.
54
questions
0
votes
0
answers
155
views
Apache ( 2.4.58) compiling fails after Openssl upgrade to 3.2.1. on Amazon Linux 2
Apache ( 2.4.58) compiling fails after Openssl upgrade to 3.2.1. on Amazon Linux 2, Could you please help me on this.
Error:
/var/tmp/httpd-2.4.58/support/ab.c:2319: undefined reference to `...
2
votes
1
answer
154
views
What are the differences between the migration options for Elastic Beanstalk Multi-container Docker environments to AL2?
We're running an Elastic Beanstalk Multi-container Docker environment on Amazon Linux 1, which has been deprecated and needs to be migrated to Amazon Linux 2.
The documentation presents two options ...
0
votes
1
answer
302
views
Looking for updated SSG for Amazon Linux 2 and Amazon Linux 2023
Are there any new data stream and xccdf checklist available for Amazon Linux 2 and Amazon Linux 2023?
I am able to install the scap-security-guide on an Amazon Linux 2 server, but the data stream xml ...
1
vote
1
answer
1k
views
yum install mysql-devel causing openssl11-devel conflicts with 1:openssl-devel-1.0.2k-24.amzn2.0.10.x86_64
I am tring to install RMysql Package however it throughs below error - which says mysql libraries are not installed.
I tried installing them using the yum command but there is a conflict with openssl....
2
votes
2
answers
2k
views
How to Setup Automatic Security Updates on AWS Linux AL2023?
With Amazon Linux 2 I would automatically apply security updates using yum-cron and something like:
# turn on automatic security updates
set -ex
sudo yum update -y
sudo yum install yum-cron -y
sudo ...
0
votes
0
answers
368
views
Terraform - error while configuring s3 backend, with instance profile
First up, we use ADFS and do not have individual IAM user profiles. We use the instance profiles as per the roles/permissions we need, and do not use individual access keys etc.,
This issue came up ...
0
votes
1
answer
316
views
I have a local Amazon Linux 2 (EC2) AMI Instance; How do I repartition the disk and expand the file system?
I have expanded the disk of my VM.
How do I now repartition the disk and expand the file system on the guest?
Which is Amazon Linux 2
Kernel 4.14.252-195.483.amzn2.x86_64 on an x86_64
$> sudo lsblk
...
5
votes
5
answers
7k
views
How can I get node18 on amazonlinux2?
I'm currently trying to install node18 on a amazoncorretto:11 base image. I'm getting the error
#6 11.04 Error: Package: 2:nodejs-18.16.0-1nodesource.x86_64 (nodesource)
#6 11.04 Requires: ...
3
votes
2
answers
5k
views
How do I install php-memcached for php 8.x on Amazon Linux 2 aarch64?
I'm migrating our website from an older Centos server to a new EC2 instance (Amazon Linux 2, aarch64). I'd like to install both the LAMP stack and memcached on the EC2 instance stack; which is the ...
0
votes
1
answer
133
views
Amazon Linux 2 SSL setup with Godaddy subdomain Certificate
I have two sites site1.mydomain.com and site2.mydomain.com on a Amazon Linux 2 instance. I used a Loadbalancer and a godaddy certifcate with subdomains site1 and site2 but for cost reasons wanted to ...
0
votes
1
answer
4k
views
Installing podman on Amazon Linux 2
I am trying to install podman on an Amazon Linux 2 instance
cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
...
0
votes
1
answer
2k
views
How to install mcrypt for PHP 7.4 on Aws Linux 2?
I'm trying to install mcrypt with
yum install php-mcrypt
but run into this dependency error:
Error: Package: php-mcrypt-5.4.16-9.el7.x86_64 (epel)
Requires: php(api) = 20100412-64
installed: php-...
3
votes
0
answers
664
views
How do I install third party packages from non-default repositories in Amazon Linux?
My ultimate goal is to create a Docker image with a particular binary installed (loudgain) that I can run functions on.
As above, pkgs.org claims the binary is available from both "fedora-updates&...
0
votes
0
answers
51
views
How to connect two adapters to aws linux 2 with virtulabox?
I followed this video link and able to use amazon linux 2 with virtualbox.
But this video shows only one network adapter(bridged).
I connected two network adapters(NAT and Host-Only) but only the ...
0
votes
1
answer
535
views
Why doesn't the Fedora EPEL repo have Nginx v1.20.2?
I have some Amazon Linux 2 EC2 instances.
I've installed the Amazon Linux 2 EPEL topic and the EPEL repo:
amazon-linux-extras install epel
I've installed the latest available version of nginx:
yum ...