Questions tagged [amazon-linux-2]
251 questions
0
votes
0 answers
mysqld.service failed on Amazon-linux -2
I would like to install MySQL5.7 to my amazon linux in some way.
However I do not know that It is possible to install mysql5.7 in Amazon-linux.
Originally in my EC2 , Maria DB was set as default.
I did these steps.
But it did not start.
$ sudo yum…

flow Stack
- 19
- 1
- 6
0
votes
0 answers
AAPanel - Installation fails for PHP 8.0.11 on ARM EC2
Problem Statement
Trying to install PHP8.0 on ARM based server with OS Amazon-Linux-2 having aaPanel as the server management software installed.
Looking forward for solutions with perspective from aaPanel.
Environment Info
Bit:64 Mem:952M Core:2…

rsakhale
- 1,018
- 13
- 26
0
votes
1 answer
Find the source code for NGINX installed on Amazon Linux 2
I was just trying to edit the source code from NGINX installed via amazon-linux-extras as nginx1 to edit the server response header.
I have read that the best and most simple way is to edit the file
ngx_http_header_filter_module.c and change the…

PythonicExperience
- 65
- 5
0
votes
1 answer
Facing redis problem: unknown command `config`, with args beginning with: `set` on amazon linux
I am trying to get around this problem since yesterday but no matter what I do, I just cannot make redis to execute for my project. Here are the details in steps:
Step 1: I created new setup for redis using Elasticache in aws console, then I copied…

Radheya
- 779
- 1
- 11
- 41
0
votes
1 answer
Elastic Beanstalk pre-deploy Laravel Node error
Issue on Laravel to deploy on Elasticbean stalk as I'm using one of the GitHub packages
https://github.com/rennokki/laravel-aws-eb
and I dropped the .ebextensions and .platform folders in my root project.
when I deployed and got an error, I decided…

Steven Fleet
- 27
- 1
- 7
0
votes
1 answer
After restart of apache server, php script no longer works
after (just) restarting my apache server, which runs a php script,
the website no more works.
I can see the landing page, and that's it.
(cannot click buttons, no reaction, no backend entrance..)
I have checked log files of server:
Everything is ok…

Andrew Power
- 1
- 3
0
votes
0 answers
Envrionment Error: Tasks: TOP => resque:work => resque:preload => resque:setup => environment
I am beginner of Amazon Linux 2 and Ruby on Rails. Recently, I am working on migrating our ruby application from EB environment of Amazon Linux 1 to EB environment of Amazon Linux 2.
In our Ruby application, we set a script file in .platform…

lei lei
- 1,753
- 4
- 19
- 44
0
votes
1 answer
How to run a hub pulled docker image setting the environment variables
I have a Django project and I'm trying to deploy it on an AWS EC2 instance.
I've created 2 docker images (application and nginx), tested locally, pushed to hub, but when I pull in my EC2 instance and try to run it, I'm getting environment variable…

C. S. F. Junior
- 341
- 1
- 3
- 20
0
votes
1 answer
Easiest Way to install Zabbix in amazon linux 2 ami
is there any easy way to install zabbix on amazon linux 2 ami? I was following the official documentation but many issues came up.
First, php issue, i was following the installation process similar to cent os but it showed some error showing that…

MD Nasirul Islam
- 501
- 5
- 17
0
votes
0 answers
Where is the logger file in platform Ruby 2.7 on Amazon Linux 2
My ruby application is running on platform Ruby 2.7 on Amazon Linux2.
The application create a logger by using below code:
Rails.logger = Logger.new(File.join(Rails.root, 'log', 'server.log'))
The application runs well, but the server.log file…

lei lei
- 1,753
- 4
- 19
- 44
0
votes
1 answer
yum fails to fetch mirror list 403 Amazon Linux
Edit: seems to be working now. Discussion here https://forums.aws.amazon.com/thread.jspa?threadID=344200
I'm finding that Amazon Linux yum can not retrieve the mirror list, failing with a 403 error.
Going to…

fishstix44
- 651
- 7
- 17
0
votes
0 answers
Installation failed with standard install instructions
Following the instructions in the documentation, I attempt to create my new project, and get the following error:
EDIT: I should not post questions late at night. Added more detail to the terminal output. Prior to this, I verified pip was upgraded,…

Jeff Beale
- 1
- 1
0
votes
0 answers
Build fails when deploying Rails application on Amazon Linux 2
I am migrating my existing Rails application from Amazon Linux AMI to Amazon Linux 2. I was able to upgrade my Rails linux environment to AL2 but the deployment is failing.
The deployment procedure I am using is via CodePipeline through…

Puneet Pandey
- 541
- 2
- 6
- 23
0
votes
0 answers
yum update failed on amazon linux2 after installing php56 with repo "repo.ius.io"
on amazonlinux2 i have installed php56 with repo ius-release for nginx webapplicaion.
sudo yum -y update
sudo yum install –y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget…

mahendra rathod
- 1,438
- 2
- 15
- 23
0
votes
0 answers
Apache, Linux 2, Elastic Beanstalk - Rewrite http and www to https non-www
I am trying to get URL rewrites as noted in the question title. I created .platform/httpd/conf.d/ssl_rewrite.conf and with the below content, I was able to get http to https rewriting successfully.
RewriteEngine On

cjanow
- 47
- 1
- 8