How to setup wiki

From ChengLab
Revision as of 20:54, 6 April 2018 by Xclab02 (talk | contribs) (Created page with "#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-dependen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  1. install apache2
  2. install php5 php5-apcu php5-intl php5-gd php5-cli imagemagick
  3. install php5-sqlite
    1. associated with php
  4. install libapache2-mod-php5
    1. apache2 php-dependency
  5. check if apache2 php works
    1. https://www.howtoforge.com/ubuntu-14.10-lamp-server-tutorial-with-apache-php-and-mysql
    2. try access to /var/www/html
  6. enable user dir
    1. a2enmod userdir
    2. enable php under user dir
      1. https://www.computersnyou.com/2931/setup-per-user-web-directories-apache2-ubuntu-13-10/
      2. vi /etc/apache2/mods-available/php5.conf
      3. comment out last few lines
  7. download mediawiki
    1. move it to /var/www/html or
    2. user/public_html
  8. in browser type: http://hostname/~user/mediawiki/mw-config