Accessing main Apache configuration file /ect/httpd/conf

0

Hi there, I have been following the "certificate automation: encrypt with certbot on amazon Linux 2" instructions linked below: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SSL-on-amazon-linux-2.html#letsencrypt:~:text=Linux%202%20AMI.-,Certificate%20automation%3A%20Let%27s%20Encrypt%20with%20Certbot%20on%20Amazon%20Linux%202,-Warning

I have now successfully followed all instructions and received correct output information for step 1. However, when I check that Apache is installed and try to access the conf file, it appears I am unable to. I have been using the following commands:

sudo yum install -y httpd

With an outcome of:

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core                                                                                                      00
215 packages excluded due to repository priority protections
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
215 packages excluded due to repository priority protections
Package httpd-2.4.54-1.amzn2.x86_64 already installed and latest version
Nothing to do

Then try to access the conf file:

cd /ect/httpd/conf

After which I receive an outcome stating "no such file or directory" Any guidance on where I may be making an error would be much appreciated!

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen