Install and configure mediawiki (Ubuntu 10.4)

Source: Internet
Author: User

The lab is preparing to release a website, which was originally intended to be outsourced to others. Later, I did my research and found that it was not as complicated and difficult as I imagined, so in the last week, I had my website ready.

All of them use mediawiki. One is to take into account the lab discovery and do not want to make the website with a deep commercial atmosphere. The other is that our content often needs to be updated, so we must make changes.

Mediawiki is one of the many wiki engines on the Internet. It should be the largest and the engine used by Wikipedia.

Many posts have been posted on the internet regarding its installation, whether in English or Chinese. Here I will focus more on advanced configuration (which is actually a basic concept) and general ideas, instead of a step-by-step guide.

  • Install the required dependencies according to the installation instructions on the official website, mainly MySQL and PHP.
  • To configure a database, you must create a database for use. You must grant all the permissions (write and delete permissions) to the account ).
  • Change the Apache configuration to open the web page in the browser, and then generate localsettings. php using the Wizard. This file is placed in the root directory of mediaiwiki, which will be frequently used in the future.

This is basically the installation logic of mediawiki. It is mainly divided into two parts: a database in MySQL and the mediawiki directory. The backup and migration are also targeted at these two parts.

Next, you also need to install some extension, depending on the specific usage requirements.

Based on our needs, we are most concerned about: multi-language support, discussion support, saving PDF books, multi-level menus, latex support, etc. Most extension is easy to install, basically it is GIT clone, then change localsettings. PHP. You can update the database at most. A few instances are difficult to install. The list of plug-ins I installed is as follows:

  • Collection: PDF books are supported;
  • Translate: multi-language translation support;
  • Babel: Language Support;
  • Math: The Tex formula is supported;
  • Notitle: No title for a page;
  • Clean changes: A Clean list of historical changes;
  • Language names: language support;
  • Localisationupdate: language support;
  • Menusidebar: multi-level menu;
  • Universallanguageselector: language selection;
  • Wikieditor: richer editing menus;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.