Questions tagged [amazon-linux-2]
The amazon-linux-2 tag has no usage guidance.
16
questions with no upvoted or accepted answers
2
votes
0
answers
596
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&...
1
vote
1
answer
743
views
How do I migrate our existing Beanstalk application to Amazon Linux 2?
Our three Beanstalks are currently running on the "Tomcat 8.5 with Java 8 running on 64bit Amazon Linux" platform, either on the canned "ami-0e469f970b0c3b65c" AMI, or (for one of ...
1
vote
1
answer
304
views
How to disable SoughtRules in SpamAssassin
I'm running SpamAssassin 3.4 via Amavisd 2.12, installed with yum from EPEL on Amazon Linux 2. According to the SpamAssassin Confluence wiki (here and here), SoughtRules should be disabled, but ... I ...
1
vote
0
answers
194
views
(AWS) ALB with ec2 instances Amazon Linux and Nginx
I want to use Nginx in Amazon Linux intances. If I use a single instance with a public IP granted by Amazon, the configuration works. Then when I add an ALB and later add the target group the app ...
1
vote
0
answers
230
views
How to enable jpeg suppot for php GD in aws linux 2?
I am using php7.4 also installed php-gd using yum install php-gd and also restart my httpd service and also reboot my server.
installed libjpeg but still getting
Array (
[GD Version] => ...
1
vote
1
answer
3k
views
firewalld on EC2 Amazon Linux 2 - no icmptypes found
On freshly-booted Amazon EC2 instance (Amazon Linux 2), the firewalld could not be started. Executing systemctl start firewalld gives several warnings and errors (details below), boiling down to: no ...
0
votes
0
answers
83
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 `...
0
votes
1
answer
154
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 ...
0
votes
0
answers
299
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
0
answers
193
views
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 ...
0
votes
0
answers
44
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
2k
views
Trying to send mail through mailx and postfix, but receiving nothing in inbox
I'm trying to set up a type of notification system that will alert me when my website is down using crontab and mailx. I went ahead and installed mailx on my server and then tried to send a simple ...
0
votes
2
answers
764
views
Open SSL throwing unknown option '-n' in Amazon Linux2 instance
My code throws error when it reaches this line:
{% set encrypted_password = salt['cmd.run']('openssl enc -aes-128-cbc -a -salt -md md5 -in <(echo -n "' + ssm_plaintext_password +'") -pass pass:'+...
0
votes
0
answers
64
views
Locked of Server, how to run sudo passwordless
Here is the issue
Created a new server with Amazon Linux 2
Removed ssh-key from default root user (ec2-user)
Created two new accounts with sudo access without a password
Now I got locked out of the ...
0
votes
1
answer
963
views
Amazon Linux 2 OpenSSL Wrong Singature Type
I'm coding a discord bot in python. Whenever I try to connect to a specific site, on my EC2 instance running Amazon Linux 2, the script returns the following error:
discord.ext.commands.errors....
-1
votes
1
answer
167
views
Why are some of my Secondary IPs missing after a YUM update on Amazon Liunx 2
On Sunday, I did a Yum Update on my Amazon Linux 2 instance (a T2.Medium) and after the update only 2 IP addresses per interface were working. Before the update I had 6 IPs per interface. It looks ...