Questions tagged [amazon-linux]
The amazon-linux tag has no summary.
143 questions
0
votes
1
answer
69
views
Apache/2.4.62 server only works on localhost domain, loads "It works!" for anything else
Im going crazy here, I dont know what to do anymore
I have this Apache/2.4.62 server running on an amazonlinux:2023 container, inside a docker. Its running a PHP application, using PHP-FPM
It works ...
1
vote
1
answer
2k
views
How to install Caddy on Amazon Linux 2023?
Before upgrading to Amazon Linux 2023, I'd like to make sure I can easily install Caddy.
Amazon published a list of available packages, but Caddy is not in it.
I also found a package request from 2022 ...
2
votes
1
answer
391
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 ...
1
vote
1
answer
2k
views
How to install moreutils on AL2023
If I run
docker run -it --rm --entrypoint=/bin/bash fedora:latest
dnf install moreutils
it works.
If I run:
19:57:34:~/ $ docker run -it --rm --entrypoint=/bin/bash public.ecr.aws/lambda/provided:...
7
votes
3
answers
6k
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
1
answer
2k
views
Install FreeIPA on Amazon Linux 2023
The goal is to install "freeipa" on Amazon Linux 2023 AMI.
Amazon Linux 2023 doesn't officially support the package by default, due to this AMI is made of Fedora 34, 35, 36, and CentOS 9 ...
1
vote
0
answers
2k
views
pm2 in systemd not actually starting processes
I'm having an issue where I'm running pm2 as pm2-root under systemd (this is on Amazon Linux2023). The daemon runs fine, and if a process dies, it restarts it fine. However, if the server reboots, pm2-...
0
votes
1
answer
661
views
FreeIPA on Amazon Linux 2023
I want to install the FreeIPA client on Amazon Linux 2023.
Unfortunately, Amazon Linux 2023 doesn't officially support the package.
As a workaround I installed the Fedora repositories and managed to ...
1
vote
0
answers
1k
views
Amazon Linux 2023: systcl kernel parameters - network - hardening and tuning review
We are in the process of transitioning to Amazon Gnu/Linux 2023, and during the course of this migration, I came across some Ansible code that modifies kernel parameters.
I would greatly appreciate it ...
0
votes
1
answer
2k
views
Domain user directory being created as /home/username@domain instead of /home/username
I am using an amazon linux 2023 box and i joined the instance to domain using realmd.
The issue is that when i try to login with my AD credentials, the user directory is being created as /home/...
0
votes
0
answers
143
views
SSH using AD credentials only works for username@[email protected] and not [email protected] [duplicate]
I built a new server using Amazon Linux 2023 and I join it to our domain avengers using realmd.
I am however getting an issue where i can't login to the server with this command [email protected] but ...
0
votes
1
answer
580
views
Amazon Linux 2023 HTTPD failed to start
I have an AWS instance which I use on demand, I was trying to boot it up and start apache but got this error which I have looked up and couldn't get anywhere near resolving or diagnosing it
The job ...
0
votes
1
answer
4k
views
Installing ODBC 18 driver on Amazon Linux
I see instructions from MS site on how to install ODBC drivers on various Linux distributions but not for Amazon Linux.
https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-...
13
votes
4
answers
26k
views
How to install and configure Redis server on Amazon Linux 2023 (AL2023)?
Amazon Linux 2023 is loosely based on Fedora 34, 35 and 36 as per aws:
https://docs.aws.amazon.com/linux/al2023/ug/relationship-to-fedora.html
However redis package is not available in AL2023, instead ...
0
votes
0
answers
907
views
AmazonLinux 2022 Fails to Run PHP Scripts - Error AH02454
I am attempting to run basic PHP scripts on an Amazon Linux 2022 or Amazon Linux 2023 server instance. I followed the directions here and when I request index.html it serves a static page fine. ...