Jump to content
  • Announcements

    • Tierri Lopes

      Introduce yourself   12/20/2017

      Introduce yourself here:  https://tlthings.net/board/index.php?/forum/6-apresentações/  
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:

 

echo 'apache24_enable="YES"' >> /etc/rc.conf

 

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
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.