An open API service indexing awesome lists of open source software.

https://github.com/paulo-correia/linux_apache-http

Instalação e Configuração do Apache ou Http
https://github.com/paulo-correia/linux_apache-http

apache apache2 httpd linux server-status ssl vhosts

Last synced: 3 months ago
JSON representation

Instalação e Configuração do Apache ou Http

Awesome Lists containing this project

README

          

![](https://github.com/paulo-correia/Linux_Apache-Http/blob/master/Apache_logo.png?raw=true)

## No Docker (Alpine Linux)
[Docker_Apache](https://github.com/paulo-correia/Docker_Apache)

## Instalação
Toda a instalação é feita como **root**

### Debian
```apt-get install apache2```
### CentOS
```yum install httpd```

## Configuração

### Debian
Como **root** crie o arquivo com o comando:

`touch /etc/apache2/conf-available/servername.conf`

Como **root** edite o arquivo recém criado colocando o seguinte conteúdo:

`ServerName localhost (Onde localhost pode ser o nome do servidor)`

Como root crie o link simbólico na pasta /etc/apache2/conf-enabled com o comando:

`ln -s ../conf-available/servername.conf`

Reinicie o Apache com o comando:

`service apache2 restart`

Teste abrindo o IP do servidor/máquina num navegador

### Opcionais

## HTACCESS
https://github.com/paulo-correia/Linux_Apache-Http/blob/master/HTACCESS.md

## SERVER STATUS
https://github.com/paulo-correia/Linux_Apache-Http/blob/master/SERVER_STATUS.md

## START PAGE / PÁGINA INICIAL
https://github.com/paulo-correia/Linux_Apache-Http/blob/master/START_PAGE.md

## SSL
https://github.com/paulo-correia/Linux_Apache-Http/blob/master/SSL.md

## VHOSTS
https://github.com/paulo-correia/Linux_Apache-Http/blob/master/VHOSTS.md