Skip to main content

Questions tagged [amazon-linux]

2 votes
1 answer
744 views

Log all journald messages to AWS Cloudwatch

I'm migrating our existing Amazon Linux 2 servers to Amazon Linux 2023. One of the changes is that the AL2023 now uses journald for it's logging. I have the requirement to have all logging in AWS ...
GetShifting's user avatar
0 votes
0 answers
54 views

When I do tomcat restart in amazon ec2 linux then EBS space increases to 3-4GB

There are 5 servers in our autoscaling which are our live servers. Out of them 2 server facing out of storage issue related to Elastic block storage (EBS). So I have done research on which directory ...
Nandkishor Bobade's user avatar
2 votes
1 answer
556 views

How can I install gcc10 in amazon linux 2023?

I am trying to install the NVIDIA driver and Cuda toolkit but it expects gcc10. Using p2.xlarge which has Tesla k80. And Tesla k80 supports Cuda toolkit 11.4 (https://www.nvidia.com/en-us/drivers/). ...
PSKP's user avatar
  • 131
0 votes
2 answers
120 views

How do I get linux flavors, like Fedora, RHEL, Amazon Linux, and others that don't update motd on login to do so?

I am trying to get my Amazon Linux 2023 server to update the MOTD on login, not on a timer or by fiddling with the profile. I want a clean experience for users whether they re-exec their shell, or ...
four43's user avatar
  • 111
-1 votes
1 answer
310 views

How do I get a package (or a package version) that is available on modern Fedora (or other RH-oids) for Amazon Linux 2023?

I'm regularly asked how to get some software on Amazon Linux 2023. Usually, I find the software to be already available on Fedora or modern Alma Linux. What do I do to get a software package that's ...
Marcus Müller's user avatar
0 votes
1 answer
552 views

Can't install FISH on Amazon Linux 2023

I have an EC2 instance running Amazon Linux 2023. I added the fish repo per the instructions. I used dnf config-manager --add-repo... and then dnf config-manager --enable-repo.... I also added g++, ...
chuckd833's user avatar
1 vote
1 answer
276 views

Why does augenrules refuse to run even when sudo is used?

I have Amazon Linux 2023 running in a Docker container and I would like to be able to load some custom audit rules into the kernel and ensure they are persisted when the container restarts. I have ...
word4q's user avatar
  • 13
-1 votes
3 answers
2k views

Unable to install MySql on Amazon Linux 2023

I am working on a EC2(AWS) machine running Amazon Linux 2023.4.20240319. I need to install apache, php, and mysql. I stuck with mysql. I have followed many instructions found on the internet: https://...
Brayan Tiwa's user avatar
0 votes
0 answers
926 views

How to install redis 7.2 on amazon linux 2023

How to install redis 7.2 on amazon linux 2023. When I do the default installation it only install redis 6.x.
kumar's user avatar
  • 221
1 vote
1 answer
1k views

Problem installing LibreOffice on Amazon Linux 2023

I am following the instructions on how to install LibreOffice on Fedora which is what I believe Amazon Linux 2023 uses under the hood: https://tecadmin.net/install-libreoffice-on-fedora/ I can ...
kravb's user avatar
  • 111
1 vote
1 answer
2k views

How to make a Python module available to all users

We have a script that installs AWS CLI into Amazon Linux 2 (really many different distros, but AL2 is what I'm working with). It seems like mostly all of the components get installed, but not all of ...
user6571907's user avatar
0 votes
1 answer
108 views

Adding Windows ADUC SG to Sudoers

On an AWS Workspace utilizing Amazon Linux 2 (Red hat underneath), I am attempting to add a Windows Active Directory Security Group to the Sudoers file and am having some terrible luck in getting it ...
user6571907's user avatar
0 votes
3 answers
235 views

What could be the possible reasons of remote linux host shows terminal prompt with around 15 seconds delay

When I try to ssh in to a linux host, its terminal prompt shows around 15 seconds later after entering the ssh command on my local computer. The subsequent connections take 2-3 seconds. However, ...
Rafiq's user avatar
  • 168
0 votes
0 answers
44 views

cryptsetup create quits after a first password letter

I've got a simple script that's been used for years and years on one particular server to mount an encrypted home partition. It's got this line to create /dev/mapper/cr_sdb1: cryptsetup create cr_sdb1 ...
Fer Dah's user avatar
  • 51
1 vote
1 answer
575 views

How to install pkill on amazonlinux?

Trying to install pkill on amazonlinux 2 doesn't work: yum install -y pkill ... No package pkill available. Error: Nothing to do and my favourite search engine hasn't helped, what am I missing?
sparrowt's user avatar
  • 123

15 30 50 per page
1
2 3 4 5
9