Locais padrão
Raiz da web: /usr/share/nginx/html
Configuração:
- Debian/Ubuntu:
/etc/apache2/ - CentOS/Fedora:
/etc/httpd/
Registros:
- Debian/Ubuntu:
/var/log/apache2/ - CentOS/Fedora:
/var/log/httpd/
Acesso
Abra o seu browser: http://<server-ip>/
Comandos de controle de serviço
# Start Apache sudo systemctl start apache2 # Debian/Ubuntu sudo systemctl start httpd # CentOS/Fedora # Stop Apache sudo systemctl stop apache2 # Debian/Ubuntu sudo systemctl stop httpd # CentOS/Fedora # Restart Apache sudo systemctl restart apache2 # Debian/Ubuntu sudo systemctl restart httpd # CentOS/Fedora # Check status systemctl start apache2 # Debian/Ubuntu systemctl status httpd # CentOS/Fedora