amazon-linux tag

10 questions


1 answers
122 views
0
I got 403 error when I deleted symbolic link

The environment is Amazon Linux, Apache 2.4.25, and PHP7.After deleting the symbolic, the php file (login.php) that I had seen on the web in 200 was no longer visible on 403.I don't know the cause, so...


1 answers
85 views
0
td-agent cannot collect apache logs on amazon linux2

I installed td-agent on amazon linux2 and tried to collect apache log files, but I couldn't because of a permission problem.I can find a solution if I run the td-agent daemon with init.d, but which co...


1 answers
119 views
0
Unable to use php on Amazon Linux: The requested URL was not found on this server

I'm a beginner in programming.I am creating an app that displays data in the database on Amazon Linux. I'm trying to insert httpd so that I can see it from my browser.commands used: sudo yum install h...

2 years ago

1 answers
94 views
0
Error AH02454 and AH01079 on amazon-linux2 and httpd does not start properly.

FROM amazonlinux:2ENV COMPOSER_ALLOW_SUPERUSER=1ENV PATH = $PATH: vendor/binRUN yum update-y\ &yum upgrade-y\ &yum install-y\ curl\ git\ libxml2\ libxml2-develop\ httpd\ mysql\ gcc\ vim\ makeR...


2 answers
73 views
0
I want to use the pecl command in php7.2.

sudo yum-y updatesudo yum install-y\ curl\ git\ libxml2\ libxml2-develop\ httpd\ mysql\ gcc\ vim\ mod_sslsudo get https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmsudorpm-ivhepel-...

2 years ago

3 answers
93 views
0
Gem install pg fails.yum install postgresql-devel also does not resolve.

gem install pg displays the following error:I'm running EC2 and my operating system is Amazon Linux.$gem install pg-v'0.20.0'Building native extensions. This could take a while...ERROR:Error installin...


1 answers
171 views
0
An error occurs when installing nginx on an executable.

I'd like to install nginx on yaml of the answer, but I get an error.I will put the contents of the yaml where the error occurred, so I would appreciate it if you could tell me how to resolve it.main.y...

2 years ago

2 answers
135 views
0
MySQL root password is questioned -- skip-grant-tables is not available.

MySQL root password is questioned. You cannot use --skip-grant-tables.$mysql-u rootERROR 1045 (28000): Access denied for user 'root' @ 'localhost' (using password: NO)Unable to log in next door.What s...

2 years ago

1 answers
76 views
0
Kill-9 will not erase the process and Apache will not start.

This is an Amazon Linux 2 environment.Do the following$sudo systemctl start httpd.serviceThe following error occurred:Job for httpd.service failed because the control process expired with error code.S...

2 years ago

1 answers
164 views
0
I want to incorporate consul DNS into host resolution on amazon linux 2 (centos 7 series)

consul is a service discovery tool, and one of its features is the dns [email protected] my-macbook.local.node.consul# My-macbook.local.node.consul Resolved to 127.0.0.1 Wind ReplyNow that ...


© 2024 OneMinuteCode. All rights reserved.