Инструменты пользователя

Инструменты сайта


freebsd:apache

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
freebsd:apache [2021/11/13 13:39]
alex
freebsd:apache [2021/11/13 16:30] (текущий)
alex
Строка 3: Строка 3:
   make install clean   make install clean
  
-===> ​  ​Registering installation for apache24-2.4.23 +  Installing apache24-2.4.51... 
-Installing apache24-2.4.23... +  ===> Creating groups. 
-===> Creating groups. +  Using existing group '​www'​. 
-Using existing group '​www'​. +  ===> Creating users 
-===> Creating users +  Using existing user '​www'​. 
-Using existing user '​www'​. +  To run apache www server from startup, add apache24_enable="​yes"​ 
-To run apache www server from startup, add apache24_enable="​yes"​ +  in your /​etc/​rc.conf. Extra options can be found in startup script. 
-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! 
 +   
 +  ===> SECURITY REPORT: 
 +        This port has installed the following files which may act as network 
 +        servers and may therefore pose a remote security risk to the system. 
 +  /​usr/​local/​libexec/​apache24/​mod_cgid.so 
 +   
 +        If there are vulnerabilities in these programs there may be a security 
 +        risk to the system. FreeBSD makes no guarantee about the security of 
 +        ports included in the Ports Collection. Please type 'make deinstall'​ 
 +        to deinstall the port if this is a concern. 
 +   
 +        For more information,​ and contact details about the security 
 +        status of this software, see the following webpage:
  
-Your hostname must be resolvable using at least 1 mechanism in +Чтобы запустить Apache как сервис,​ нужно добавить строку apache24_enable=”YES” в файл ​/etc/rc.conf
-/etc/nsswitch.conf typically DNS or /etc/hosts or apache might +
-have issues starting depending on the modules you are using.+
  
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!+  sysrc apache24_enable="​YES"​
  
-- apache24 default build changed from static MPM to modular MPM +Для запуска Apache в ручную
-- 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 +  ​service ​apache24 ​start
-   ​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!+
  
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!+  service apache24 status 
 +  apache24 is running as pid 48211.
  
-===> SECURITY REPORT: +Настройки Apache находятся в файле ​/usr/local/etc/apache24/httpd.conf
-      This port has installed the following files which may act as network +
-      servers and may therefore pose a remote security risk to the system. +
-/usr/local/libexec/apache24/mod_cgid.so+
  
-      This port has installed the following startup scripts which may cause +для того что бы Apache работа с PHP нужно установить порт ​/usr/ports/www/mod_php74 
-      these network services to be started at boot time. +  ​cd ​/usr/ports/www/mod_php74 
-/usr/local/etc/rc.d/​apache24 +  make install clean
-/usr/local/etc/rc.d/​htcacheclean+
  
-      If there are vulnerabilities in these programs there may be a security +После установки порта mod_php74 в каталоге usr/​local/​etc/​apache24/​modules.d создаю файл 080_mod_php.conf следующего содержания 
-      ​risk to the systemFreeBSD makes no guarantee about the security of +  <​IfModule dir_module>​ 
-      ports included in the Ports CollectionPlease type 'make deinstall'​ +      ​DirectoryIndex index.html index.php 
-      ​to deinstall the port if this is a concern.+  </​IfModule>​ 
 +  <​FilesMatch "\.php$">​ 
 +      ​SetHandler application/​x-httpd-php 
 +  </​FilesMatch>​ 
 +  <​FilesMatch "\.phps$">​ 
 +      SetHandler application/​x-httpd-php-source 
 +  </​FilesMatch>​
  
-      For more information,​ and contact details about the security 
-      status of this software, see the following webpage: 
-http://​httpd.apache.org/​ 
-===> ​ Cleaning for apr-1.5.2.1.5.4 
-===> ​ Cleaning for apache24-2.4.23 
- 
-Чтобы запустить Apache как сервис,​ нужно добавить строку apache24_enable=”YES” в файл /​etc/​rc.conf 
- 
-  sysrc apache24_enable="​YES"​ 
  
freebsd/apache.1636810759.txt.gz · Последние изменения: 2021/11/13 13:39 — alex