How to setup wiki
Steps
- install apache2
- install php5 php5-apcu php5-intl php5-gd php5-cli imagemagick
- install php5-sqlite
- associated with php
- install libapache2-mod-php5
- apache2 php-dependency
- check if apache2 php works
- https://www.howtoforge.com/ubuntu-14.10-lamp-server-tutorial-with-apache-php-and-mysql
- try access to /var/www/html
- enable user dir
- a2enmod userdir
- enable php under user dir
- https://www.computersnyou.com/2931/setup-per-user-web-directories-apache2-ubuntu-13-10/
- vi /etc/apache2/mods-available/php5.conf
- comment out last few lines
- download mediawiki
- move it to /var/www/html or
- user/public_html
- in browser type: http://hostname/~user/mediawiki/mw-config
Administration
Change password
Go to /path/to/public_html/mediawiki/maintenance
sudo php changePassword.php --user=<username> --password=<password>