Jump to content
Sign in to follow this  
Tierri Lopes

[Freebsd] Instalar Apache24

Recommended Posts

1- Fazer login no servidor (através do PuTTy ou semelhantes)

 

2- Correr os seguintes comandos (por ordem):

 

pkg update

pkg upgrade

pkg install -y apache24

 

3 - Adicionar o apache24 como arranque automático:

sysrc apache24_enable="YES"

 

Lista de comandos para ligar, desligar e reiniciar respectivamente o apache:

 

service apache24 start

service apache24 stop

service apache24 restart

 

Localização de ficheiros do site:

 

/usr/local/www/apache24/data

 

Localização de ficheiros de configuração (httpd.conf):

Please login or register to see this code.
 
  • Upvote 1

Share this post


Link to post
Share on other sites
Guest Gamers

E onde poderia colocar os arquivos do site?

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

 

You transfer your files via FTP to this location

 

/usr/local/www/apache24/data

  • Upvote 1

Share this post


Link to post
Share on other sites
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.