|
||
---|---|---|
README.md | ||
dokuwikiinstall | ||
postinstall |
README.md
Dokuwiki install script for Ubuntu 22.04 server
Prerequisites
An Ubuntu 22.04 server with Nginx and Php-Fpm as well as MariaDB.
Nginx with Php-Fpm can be installed from
[Here]
and MariaDB can be install from
[Here]
Download the script
git clone https://git.x-files.dk/ubuntu-server-apps/dokuwiki-install.git
Usage
cd dokuwiki-install
sudo ./dokuwikiinstall <domain name>
Example
sudo ./dokuwikiinstall wiki.something.xyz
This will create a Dokuwiki site running on port 80 with the domain name you chose under the installation. Don't worry though this can easily be fixed by modifying the Nginx configuration later. If you need an example on how to configure Nginx to run this on port 443 I an example [Here]
Configuration
Once the script is done browse to http://wiki.hostname.xyz/install.php and fill out the mandatory fields marked with green.
Post install
This is needed in order to change some configuration settings in Nginx after you are done with the setup screen.
cd dokuwiki-install
sudo ./postinstall
Troubleshooting
Most issues will probably be caused by the fact that we all set up and configure Nginx diffrently. If you encounter problems I would suggest you look at the Nginx configuration I use [Here] and also the default "sites-enabled" Nginx configurarion I use [Here] when you start troubleshooting.
More guides
More guides can be found on [wiki.xfiles.dk]
Last tested
January 12th 2024 on Ubuntu 22.04.