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

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


freebsd:dokuwiki

Различия

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

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

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
freebsd:dokuwiki [2020/01/03 22:39]
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 устанавливаю
Строка 102: Строка 79:
   cd /​usr/​ports/​www/​dokuwiki   cd /​usr/​ports/​www/​dokuwiki
   make install clean   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.
 +  ​
 +  ======================================================================
  
 После установки меняю владельцев и права каталогов После установки меняю владельцев и права каталогов
Строка 110: Строка 112:
 Изменяю расположение файла данных. Для этого копирую папку data Изменяю расположение файла данных. Для этого копирую папку data
   cp /​usr/​local/​www/​dokuwiki/​data /​usr/​local/​data_wiki   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. При первом запуске использую адрес: http://​wiki.klotik.ru/​install.php. В настройках wiki указываю расположение каталога с данными /​usr/​local/​data_wiki.
freebsd/dokuwiki.1578091140.txt.gz · Последние изменения: 2020/01/03 22:39 — alex