Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
40 views

Amazon Linux 2023 on VMware SSL error SSL_ERROR_SYSCALL

Downloaded al2023-vmware_esx-2023.6.20241121.0-kernel-6.1-x86_64.xfs.gpt.ova from https://docs.aws.amazon.com/linux/al2023/ug/outside-ec2-download.html Created seed.iso like described here https://...
Ivan Berezanskiy's user avatar
-2 votes
1 answer
40 views

Terraform Amazon Machine Image script

I am deploying Amazon Linux 2023 with Terraform. I would like to automate the installation of Kubernetes and Helm so that I can restart my VM and have all the pieces up and running. The following code ...
David Sagang's user avatar
0 votes
0 answers
39 views

Amazon Linux 2023 and SkiaSharp compatibility issues

My Project is .net core 6 MVC,I use the SkiaSharp package for image compression,The program code is as follows,The version of the relevant installation package is SkiaSharp(2.88.8)、 SkiaSharp....
TS MP's user avatar
  • 3
0 votes
0 answers
240 views

GLIBC version issue while installing npm on Amazon Linux 2023

I am using Amazon Linux 2023 and trying to update Node from v14 to v18. While running the command nvm install 18.13.0 it's installing the Node properly. However, right after that I tried to run the ...
Raj's user avatar
  • 417
1 vote
1 answer
84 views

Change perl version in git installation in Amazon Linux 2023

I am working Amazon Linux 2023 as a base image in Docker, there my requirement is to install git. When I am installing git via yum install git, git installation is doing perl 5.32 installation. when I ...
Sujata Kale's user avatar
0 votes
0 answers
152 views

How to run rails console on Amazon Linux 2023 Elastic Beanstalk

enter code hereHow can rails console be run on "Ruby 3.2 running on 64bit Amazon Linux 2023/4.0.10"? Using SSM to access the web server. On Amazon Linux 2, I had a script that exported ...
rigyt's user avatar
  • 2,355
0 votes
1 answer
469 views

cloud-init fails on Amazon Linux 2023 but works on AmazonLinux2 [closed]

Here's my very simple test script that I want to run on ec2 launch via cloud-init using terraform. data "cloudinit_config" "cloudinit" { gzip = false base64_encode = ...
user22685947's user avatar
0 votes
1 answer
110 views

Configure Apache httpd to host app with domain and avoid port conflict

I am deploying a React (UI) / Python (backend) application running on port 3001 to a GoDaddy-reserved domain (www.demo.com) with TLS on an Apache (httpd) server within a AWS Amazon Linux 2023 EC2 ...
chocalaca's user avatar
  • 396
0 votes
0 answers
130 views

Nexus yum proxy to amazon2023 - No more mirrors to try

Trying to configure amazon al2023 yum repo proxy to nexus yum repository and added in nexus.repo file. $yum list is working but $yum install <package> is throwing an error. Error - Downloading ...
Darshana Patel's user avatar
0 votes
0 answers
167 views

Why is dnf throwing a GLib-ERROR when running under docker

I'm seeing a strange error on docker running Amazon Linux 2023. My host's a Slackware 15 machine running the static versions of the latest docker (26.1) - although the same issue occurred on previous ...
Richard Wheeldon's user avatar
2 votes
1 answer
141 views

SQLSTATE[HY000] [1045] Access denied for user 'db_user'@'ip_address' (using password: YES) trying to connect from elastic beanstalk ec2 to RDS

I have an elastic beanstalk ec2 (Amazon Linux 2023) instance and a RDS database (MariaDB 10.11) created inside same region and using same VPC, my databse is accessible only via ssh tunneling, i have a ...
Milon Hossain's user avatar
0 votes
0 answers
52 views

Which account to install Node under for PHP Shell_exec?

I'm using Amazon Linux 2023 with Apache/PHP and I'd like to shell_exec to node.js. How do I install node.js to make it available to PHP? PHP runs under apache account? Do you install node under the ...
user1594257's user avatar
-2 votes
1 answer
367 views

Installing dotnet8 on amazonlinux 2023 image through dockerfile

I am trying to install dotnet8 on amazon linux 2023 image public.ecr.aws/amazonlinux/amazonlinux:2023. After installing, one of the command that it tries to run is 'dotnet', but it errors out saying: ...
suprasad's user avatar
  • 1,515
1 vote
0 answers
30 views

php-fpm and apache after the user is modified, the access prompt does not have permission

When I change the startup user for Apache and php-fpm, I get error 503 index.php access and Apache error OS:Amazon linux 2023 Selinux: Enforcing Apache version:2.48 php version:8.2 change to user:...
Junhong's user avatar
  • 11
1 vote
1 answer
185 views

building ruby 3.3.0 rpm on amazonlinux2023 is linking to hard coded directories

I've been using the below ruby.spec to build RPMs on amazonlinux:2 for several versions of ruby now. Works great. I'm working on migrating to amazonlinux:2023 and while this still produces an RPM, ...
jsharpe's user avatar
  • 2,655
0 votes
1 answer
2k views

Error downloading metadata for repository 'AmazonLinux'

I am using amazoncorretto:17.0.9-al2023 image and while performing "dnf install unzip" I get the below error: Error downloading metadata for repository 'AmazonLinux', Curl error (6): ...
DKM's user avatar
  • 1
1 vote
3 answers
576 views

Using gnupg2-full in AWS Lambda base image for Python3.12

Apparently AWS switched their Python base images for AWS Lambda to Amazon Linux 2023. I have a Lambda function which uses gnupg and was working fine on older base images. With the Python3.12 upgrade, ...
reikje's user avatar
  • 3,054
3 votes
1 answer
1k views

How to replace the default motd for AWS Linux 2023

How do I replace the default motd (message-of-the-day) for AWS Linux 2023? I modified /etc/motd with a new message, but the default text-characters-bird thingy still shows when I login with SSH.
ByteSlinger's user avatar
  • 1,587
1 vote
1 answer
490 views

In Elastic Beanstalk how do I send custom logs to CloudWatch on the Amazon Linux 2023 platform?

I'm deploying an Elastic Beanstalk app on Amazon Linux 2023. I'm trying to configure the new Amazon CloudWatch Agent to forward custom logs to cloudwatch. This used to be done by adding some config ...
Ben Zuill-Smith's user avatar
0 votes
1 answer
368 views

How to use AL2023 in a NET 6 Lambda function?

I have a few Lambda functions set up to use NET 6. The lambdas are created through serverless templates and have the property: "Runtime": "dotnet6" By default they use Amazon ...
g0np's user avatar
  • 299
1 vote
1 answer
1k views

Easiest way to install mysqldump on Amazon Linux 2023 running on AWS Lambda

I need mysqldump (or mariadb-dump) inside my Lambda function. I chose I want to go the Docker way and used the public.ecr.aws/lambda/nodejs:20 base image. To add MySQL/MariaDB I added the following to ...
Philipp Kyeck's user avatar
0 votes
2 answers
2k views

Amazonlinux2023 install hardended version of pip for python

I want to sue amazonlinux2023 with as few "un-hardened" packages as possible. AL2023 ships with python but not pip So what is the correct way to get a "hardened" version of pip ...
jlcdo's user avatar
  • 3
4 votes
4 answers
7k views

openssl command not found on Amazon Linux 2023

I'm trying to build an image to run my lambda on. Here is my Dockerfile: FROM public.ecr.aws/lambda/nodejs:20 as builder RUN cat /etc/os-release RUN dnf update openssl --releasever 2023.1.20230628 ...
dor272's user avatar
  • 718
3 votes
3 answers
3k views

How to install Wkhtmltopdf in Amazon Linux 2023?

I am upgrading my servers to Amazon Linux 2023 from AL2. My application needs wkhtmltopdf and now while trying to install it I see that is not officially released on my specific OS version. I have ...
damuz91's user avatar
  • 1,728
1 vote
3 answers
2k views

How to stream custom logs to cloudwatch from AL2023 instances

We use amazon-elastic-beanstalk to deploy part of our stack. We have just migrated our base platform from PHP 7.4 which uses Amazon Linux 2, to PHP 8.2 which uses Amazon Linux 2023. Default system ...
Pau Seglar's user avatar
0 votes
0 answers
448 views

Amazon Linux 2023 Blocking Outbound Connections

So I've been working with EC2 instances in two separate contexts. In the first context I simply am building an AMI for some spot instances. In the other context I have an EKS cluster with node groups. ...
cmcnphp's user avatar
  • 428
2 votes
1 answer
1k views

How to install Cypress prerequisites and Chrome on Amazon Linux 2 v5 (or AL2023)?

It appears that Amazon Linux 2 v5.0 image (Amazon Linux 2 x86_64 standard:5.0 runtime available to CodeBuild) no longer contains Amazon Linux Extras, which makes a lot of documentation and answers ...
alexandroid's user avatar
  • 1,608
6 votes
1 answer
14k views

Is there a way to install OpenJDK Java in Amazon Linux 2023?

In the process of trying out a switch to Amazon Linux 2023 from Centos7 and I am trying to understand my options for Java. I am currenly running Java 11 openjdk in Centos7. Ideally I'd like to match ...
jpadams's user avatar
  • 191
8 votes
1 answer
8k views

mongosh not running: digital envelope routines:alg_module_init:unknown

I have just installed mongodb 7 on my new amazon linux 2023 machine. Mongodb itself appears to be running fine, but I can't run mongosh as I get the error below. I have reinstalled everything multiple ...
Nickpick's user avatar
  • 6,557
2 votes
3 answers
2k views

certbot-auto (2021) for Amazon Linux release 2 (Karoo) and nginx [closed]

I checked my ec2 system version: cat /etc/system-release Amazon Linux release 2 (Karoo) cat /etc/os-release NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="...
Finn's user avatar
  • 1,449