Questions tagged [amazon-linux-2]

55 questions
0
votes
1 answer

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 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda …
chris-j
  • 3
  • 1
0
votes
0 answers

How to install Gnumeric/ssconvert no Amazon Linux 2?

I cannot find gnumeric/ssconvert package for Amazon Linux 2 (using yum). I tried to compile the source code with error. Is there any easier way to install it? Compile Error [ec2-user@ip-172-31-6-34 gnumeric-1.12.55]$ ./configure…
Andre
  • 1,341
  • 4
  • 19
  • 34
0
votes
0 answers

how to determine specific website from PID?

I'm running a Linux2 webserver on Amazon EC2 which is hosting a number of (mainly wordpress) websites. Every day at about the same time the server CPU jumps to run at 100% CPU for about an hour. Using the Top command i see that an instance of httpd…
Dog
  • 113
  • 3
0
votes
0 answers

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 for doing so: Migration to ECS running on Amazon…
0
votes
0 answers

Amazon Linux 2 not showing page

I have this Amazon Linux2 box and when I installed a certificate for SSL it will always show the apache TestPage.. instead of the contents of /var/www/html/site1 or site2 folders. With http it works. only https not. My httpd.conf file # This is the…
0
votes
1 answer

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 get rid of the loadbalancer and install the…
0
votes
0 answers

How do I keep NGINX directory ownership after installation on Amazon 2 EC2

I have NGINX server set up as proxy to a rails application. In the main config file /etc/nginx/nginx.conf I've set user to be ec2-user, which is the default user for this instance. Since NGINX server is installed via sudo (root account), I had to…
Vlad
  • 113
  • 5
0
votes
0 answers

Rsyslog logs not getting forwarded

rsyslog audit logs are not getting forwarded from Amazon Linux 2 (koji linux) what are the known rsyslog issues related to this amazon linux 2 system? Also, what is the significance of below two line #FileCreateMode $FileCreateMode 0640 #Configure…
Amito
  • 1
0
votes
0 answers

ImageMagick With HEIC Extension Issue in Amazon Linux 2

I need to integrate HEIC extension in ImageMagick. I am using Amazon Linux 2 server. I have tried to install ImageMagick as mentioned in their documentation: https://imagemagick.org/script/install-source.php The ImageMagick gets installed with the…
0
votes
1 answer

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" VERSION_ID="2" PRETTY_NAME="Amazon Linux…
Daniel Szalay
  • 145
  • 1
  • 7
0
votes
1 answer

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-common-7.4.30-1.amzn2.x86_64…
Xander
  • 101
  • 2
0
votes
0 answers

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 first adapter is visible. I didn't configure through…
0
votes
1 answer

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 install nginx The version I get is 1.20.1. 1.20.2…
Appleoddity
  • 3,488
  • 2
  • 13
  • 33
0
votes
1 answer

Apache 2.4: How to log POST data?

I have my LAMP application hosted on AWS EC2 Linux 2 instance. I can see requests logs in /var/log/httpd/access_log but there is no POST data there. I could figure out that I can use mod_dumpio or mod_security but I cannot get it to work. I am new…
0
votes
1 answer

How to diagnose/fix CloudFormation/autoscaling SSL errors on file download

I have an autoscaling group that was created by AWS CloudFormation. It runs on Amazon Linux 2. Last week, it was working fine. Now, new instances throw a "certificate has expired" error when trying to download phpMyAdmin. It appears cfn-init is…