O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Chapter 6.7 Configure HTTP server

Archimed Nemes KodeKloud - Linux Easy Inglês 24 flashcards

Flashcards do conjunto (24)

  1. 1Install Apache serversudo snf install httpd
  2. 2Allow firewall for http/https connectionssudo firewall-cmd --add-service=http (or https)
  3. 3Make changes to firewall permanentsudo firewall-cmd --runtime-to-permanent
  4. 4Install necessary package for HTTPSsudo dnf install mod_ssl
  5. 5Start and enable HTTP serversudo systemctl start httpd
    sudo systemcl enable httpd
  6. 6View manual of HTTP config fileman httpd.conf
  7. 7Where are configuration files for HTTP service is located/etc/httpd/
  8. 8Where can you find httpd.conf?/etc/httpd/conf
  9. 9Change default port from 80 to 8080 on which HTTP server listens in config filesudo vi /etc/httpd/conf/httpd.conf
    Listen 8080
  10. 10Add specific address 10.11.12.13: 8080 on which HTTP server listens in config fileListen 10.11.12.13: 8080
  11. 11Change contact of admin to webserver@example.comServerAdmin webserver@example.com
  12. 12Where HTTP server files which HTTP daemon serves to public are stored?DocumentRoot "/var/www/html"
  13. 13What changes should be made if HTTP server hosts 2 or more websites? (1st step)Create new file
    sudo vim /etc/httpd/conf.d/
  14. 14What changes should be made if HTTP server hosts 2 or more websites? (2nd step)Add the following line
    ServerName store.example.com (1st website)
    DocumentRoot /var/www/store/
  15. 15What changes should be made if HTTP server hosts 2 or more websites? (2nd step)Add the following line
    ServerName blog.example.com (1st website)
    DocumentRoot /var/www/blog/
  16. 16What changes should be made if we serve private website for internal employees?
  17. 17What changes should be made if we serve external server?
  18. 18Test Apache serverapachectl configtest
  19. 19Create and edit index.html in html directorysudo vim /var/www/html/index.html
  20. 20Reload httpd servicesudo systemctl reload httpd.service
  21. 21Where can you find default SSL settings for server?/etc/httpd/conf.d/ssl.conf
  22. 22certbot changeslook at video 20:45
  23. 23You own www.example.com. Indicate it in http config filesudo vi /etc/httpd/conf/httpd.conf
    ServerName www.example.com:80
  24. 24In which director modules can be edited or removed?/etc/httpd/conf.modules.d

Informações

Descrição
Easy KodeKloud - Linux FlashCards sobre Chapter 6.7 Configure HTTP server, criado por Archimed Nemes em 27-05-2022.
Criado por
Archimed Nemes
Visualizações
1
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?