ID #1026

How to install MediaWiki on hosting servers like Bluehost etc.?

  1. SSH to your website, and create a directory that you want to set up the Wiki pages under the WWW, e.g. /www/wikipedia;
  2. Create a MySQL or Postgres database, e.g. wikidb, with a username and password attached.
  3. Download the latest version of media wiki to the directory, e.g., type the command: wget, and decompress the file by typing: tar -zxf mediawiki-1.13.3.tar.gz;
  4. Now you have a subdirectory in /www/wikipedia that contains all the files of mediawiki. Open in the browser the address: http://yourwebsite/wikipedia, follow the instructions.Fill in the database name and username/pwd as created in 2.
  5. Remember at the end of the installation, you will be prompted to move the configuration file to its parent directory. Note also change the permission of that file so that modification is only available to you, e.g. using chmod or the file manager. 
  6. Congratulations, you can now see a working wiki similar to mine:


Tags: installation

Related entries:

You can comment this FAQ

Comment of james:
Hi. In your, how did you create the subdomain "wiki"? My folder structure is following: ~/www/wikipedia/mediawiki/ After you create a subdomain, did you point it to wikipedia folder? or mediawiki folder? or something else?
Added at: 2016-05-04 05:35