User Tools

Site Tools


dokuwiki:install_dokuwiki_with_apache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dokuwiki:install_dokuwiki_with_apache [2022/06/30 18:38] 45.89.242.195dokuwiki:install_dokuwiki_with_apache [2022/06/30 20:14] (current) 45.89.242.222
Line 6: Line 6:
   * [[DokuWiki:Install DokuWiki with Apache:Install DokuWiki|Install DokuWiki]]   * [[DokuWiki:Install DokuWiki with Apache:Install DokuWiki|Install DokuWiki]]
   * [[DokuWiki:Install DokuWiki with Apache:Configure Apache|Configure Apache]]   * [[DokuWiki:Install DokuWiki with Apache:Configure Apache|Configure Apache]]
 +  * [[DokuWiki:Install DokuWiki with Apache:Enable the new site|Enable the new site]]
 +  * [[DokuWiki:Install DokuWiki with Apache:Configure DokuWiki|Configure DokuWiki]]
  
  
----- 
  
-===== Install DokuWiki ===== 
  
- 
-===== Configure Apache ===== 
- 
-At the moment, Apache has no way of knowing about the new installation. 
- 
-  * To make it aware, create a configuration file for DokuWiki.  
- 
-<code bash> 
-sudo vi /etc/apache2/sites-available/dokuwiki.conf 
-</code> 
- 
-...and populate that file with: 
- 
-<file /etc/apache2/sites-available/dokuwiki.conf> 
-ServerName dokuwiki.example.com 
-DocumentRoot /var/www/html/dokuwiki 
- 
-AllowOverride All 
-Require all denied 
- 
-Order allow,deny 
-Deny from all 
- 
-ErrorLog /var/log/apache2/dokuwiki_error.log 
-CustomLog /var/log/apache2/dokuwiki_access.log combined 
-</file> 
- 
-<WRAP info> 
-**NOTE:**  If a domain is being used, ensure to change the **ServerName** option. 
-</WRAP> 
  
 ---- ----
- 
-Save and close the file. 
- 
----- 
- 
- 
-====== Enable the new site ====== 
- 
-<code bash> 
-sudo a2ensite dokuwiki 
-</code> 
- 
----- 
- 
-====== Reload the Apache configuration files ====== 
- 
-<code bash> 
-sudo systemctl reload apache2 
-</code> 
- 
----- 
- 
  
dokuwiki/install_dokuwiki_with_apache.1656614311.txt.gz · Last modified: 2022/06/30 18:38 by 45.89.242.195

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki