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

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


freebsd:dokuwiki

Различия

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

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

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
freebsd:dokuwiki [2020/01/03 22:23]
alex
freebsd:dokuwiki [2020/01/03 22:42] (текущий)
alex
Строка 1: Строка 1:
-====================================================================== +==== Установка DokuWiki на FreeBSD ​====
-                          INSTALLATION NOTES +
- +
-The wiki program have been installed to /​usr/​local/​www/​dokuwiki. +
- +
-Please configure your web server to allow running PHP scripts there. +
- +
-Please create dedicated data directory outside the installation directory +
-and make it owned by the process running these PHP scripts. ​ It is important +
-to make sure that your PHP intepreter does not allow running PHP scripts +
-there. +
- +
-For first install, you may have to manually copy the contents from +
-/​usr/​local/​www/​dokuwiki/​data into the newly created data directory and change +
-the owner of /​usr/​local/​www/​dokuwiki/​conf to the web server. +
- +
-Please go to http://​www.your.host/​dokuwiki/​install.php to finish the +
-installation. ​ For FULL configuration instructions,​ see +
-http://​wiki.splitbrain.org/​wiki:​config +
- +
-After installation please change the permissions of +
-/​usr/​local/​www/​dokuwiki/​conf back to root:​wheel. +
- +
-======================================================================+
  
 Для работы DokuWiki устанавливаю Для работы DokuWiki устанавливаю
Строка 46: Строка 23:
   make install clean   make install clean
  
-=== Установка:​ spawn-fcgi-1.6.3 ​===+=== Установка:​ spawn-fcgi ===
   cd /​usr/​ports/​www/​spawn-fcgi   cd /​usr/​ports/​www/​spawn-fcgi
   make install clean   make install clean
Строка 99: Строка 76:
  
  
-http://​wiki.klotik.ru/​install.php+=== Установка:​ dokuwiki === 
 +  cd /​usr/​ports/​www/​dokuwiki 
 +  make install clean 
 +   
 +  ====================================================================== 
 +                            INSTALLATION NOTES 
 +   
 +  The wiki program have been installed to /​usr/​local/​www/​dokuwiki. 
 +   
 +  Please configure your web server to allow running PHP scripts there. 
 +   
 +  Please create dedicated data directory outside the installation directory 
 +  and make it owned by the process running these PHP scripts. ​ It is important 
 +  to make sure that your PHP intepreter does not allow running PHP scripts 
 +  there. 
 +   
 +  For first install, you may have to manually copy the contents from 
 +  /​usr/​local/​www/​dokuwiki/​data into the newly created data directory and change 
 +  the owner of /​usr/​local/​www/​dokuwiki/​conf to the web server. 
 +   
 +  Please go to http://​www.your.host/​dokuwiki/​install.php to finish the 
 +  installation. ​ For FULL configuration instructions,​ see 
 +  http://​wiki.splitbrain.org/​wiki:​config 
 +   
 +  After installation please change the permissions of 
 +  /​usr/​local/​www/​dokuwiki/​conf back to root:​wheel. 
 +   
 +  ====================================================================== 
 + 
 +После установки меняю владельцев и права каталогов 
 +  chmod -R 775 /​usr/​local/​www/​dokuwiki/​data 
 +  chown -R www:www /​usr/​local/​www/​dokuwiki/​data 
 +  chown -R www:www /​usr/​local/​www/​dokuwiki/​conf/​ 
 + 
 +Изменяю расположение файла данных. Для этого копирую папку data 
 +  cp /​usr/​local/​www/​dokuwiki/​data /​usr/​local/​data_wiki 
 + 
 +=== Запуск === 
 +  /​usr/​local/​etc/​rc.d/​spawn-fcgi start 
 +  /​usr/​local/​etc/​rc.d/​nginx start 
 + 
 +При первом запуске использую адрес: ​http://​wiki.klotik.ru/​install.php. В настройках wiki указываю расположение каталога с данными /​usr/​local/​data_wiki. 
 + 
 +После окончания настройки изменяю владельца каталога conf 
 +  chown -R root:wheel /​usr/​local/​www/​dokuwiki/​conf/​ 
  
 https://​www.dokuwiki.org/​install:​freebsd\\ https://​www.dokuwiki.org/​install:​freebsd\\
 http://​microsin.net/​adminstuff/​xnix/​dokuwiki-freebsd-install.html http://​microsin.net/​adminstuff/​xnix/​dokuwiki-freebsd-install.html
freebsd/dokuwiki.1578090239.txt.gz · Последние изменения: 2020/01/03 22:23 — alex