Outils pour utilisateurs

Outils du site


bsd:bsfweb

APACHE


Services Réseaux

Chemin des fichiers de configuration

/usr/local/etc/apache24/httpd.conf

Chemin de l'hébergement par défaut

/usr/local/www/apache24/data
pkg install apache24
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
 
New packages to be INSTALLED:
	apache24: 2.4.41
 
Number of packages to be installed: 1
 
The process will require 28 MiB more space.
 
Proceed with this action? [y/N]: y
[1/1] Installing apache24-2.4.41...
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
[1/1] Extracting apache24-2.4.41: 100%
=====
Message from apache24-2.4.41:
 
--
To run apache www server from startup, add apache24_enable="yes"
in your /etc/rc.conf. Extra options can be found in startup script.
 
Your hostname must be resolvable using at least 1 mechanism in
/etc/nsswitch.conf typically DNS or /etc/hosts or apache might
have issues starting depending on the modules you are using.
 
 
- apache24 default build changed from static MPM to modular MPM
- more modules are now enabled per default in the port
- icons and error pages moved from WWWDIR to DATADIR
 
   If build with modular MPM and no MPM is activated in
   httpd.conf, then mpm_prefork will be activated as default
   MPM in etc/apache24/modules.d to keep compatibility with
   existing php/perl/python modules!
 
Please compare the existing httpd.conf with httpd.conf.sample
and merge missing modules/instructions into httpd.conf!

Ajout et démarrage du service dans /etc/rc.conf pour la prise en charge lors du boot

sysrc apache24_enable="YES"
apache24_enable:  -> YES
 
service apache24 start
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.




Services Réseaux

bsd/bsfweb.txt · Dernière modification : de 127.0.0.1