MediaWiki installation configuration (Linux)

Source: Internet
Author: User
Tags mediawiki

1:mediawiki Introduction

MediaWiki the best thing about an application is that it is Wikipedia behind the engine. Many people find that MediaWiki provides a usable environment for sharing information between workgroups, even the entire organization, and online communities. MediaWiki allows users to share information through blogs,wikis , and files. It also allows you to use a tag cloud to protect uploaded files, tag files for easy positioning, and locate experts. For more information, see resources .

So, if you want to introduce some custom information that you don't want to manually update and insert into your Wiki page, what should I do? What if you want to provide a customized output format for a particular type of information? These situations are where MediaWiki comes in, because you can easily add these site-specific features through the use of extensions.

Let's see how you can create a way to collaborate with different sources of information MediaWiki extended, while at the same time being able to pass the familiar Wiki the user interface of the page to provide data.

2: MediaWiki installation
2.1 The installation environment for this example is as follows:

Libxml2-2.7.4

LAMP:

Linux CentOS Release 5.8 (Final) +apache2.2.27+mysql5.5.25+php5.6.6

MediaWiki1.2.41

Php:http://cn.php.net/get/php-5.6.6.tar.gz/from/a/mirror

other software remaining: http://download.csdn.net/detail/gao36951/8460349

2.2 Starting the installation

Installation of ==>LIBXML2

a) tar-zxvf libxml2-2.7.4.tar.gz
b) CD libxml2-2.7.4
c)./configure
d) make&&make Install

installation of ==>apache2.2.27

a) tar-zxvf httpd-2.2.27.tar.gz
b) CD httpd-2.2.27
c)./configure--enable-so
d) make&&make Install

installation of ==>apache5.5.25

a ) tar-zxvf tar-zxvf mysql-5.5.25.tar.gz

b) CD mysql-5.5.25 and add users and user groups groupadd mysql useradd-g mysql MySQL

c)./configure--prefix=/usr/local/mysql--with-charset=utf8--with-extra-charsets=all--enable-assembler-- Enable-thread-safe-client--with-big-tables--with-readline--with-ssl--with-embedded-server--with-plugins=all
d) make&&make Install

installation of ==>php5.6.6

a)tar-zxvf php-5.6.6.tar.gz
b) CD php-5.6.6
c)./configure--with-apxs2=/usr/local/apache2/bin/apxs--with-mysql
d) make&&make Install

e) CP Php.ini-dist/usr/local/lib/php.ini (5.1.2)

CP Php.ini-development/usr/local/lib/php.ini (new version 5.6.6) The version used in this article
f) Edit the httpd.conf file to invoke the PHP module. The path to the right of the loadmolude expression must point to your
PHP in the system. The make install command above may have done this for you, but be sure to check it.
For PHP 5:
Loadmodulephp5_module modules/libphp5.so
Note: The httpd.conf file is in the directory/usr/local/apache2/conf
h) Continue to edit the httpd.conf file to tell Apache to parse the specific extension into PHP, for example, let Apache parse the extension. php into PHP. You can specify any extension as PHP, just add them, each separated by a space.
For example, we want to add. phtml:

addtypeapplication/x-httpd-php. php. phtml

In general, we also set the. phps extension to display the highlighted PHP source files, which can be done as follows:

Addtypeapplication/x-httpd-php-source. Phps
i) Start your Apache server:/usr/local/apache2/bin/apachectl start

launch successful browser access as follows

==>mediawiki Installation

TAR-ZXVF mediawiki-1.24.1.tar.gz then copy the extracted files to/usr/local/apache2/htdocs, the browser to access the extracted folder root directory under the index.php for the next step

In turn, click Configure

All the way down, after success as

Apache issues encountered during installation


Resolution: Httpd:could not reliably determine the server ' sfully qualified domain name


Open httpd.conf with Notepad

Remove the #ServerName localhost:80 comments from the inside.

Re-execute HTTPD

HTTP://LOCALHOST:80 can then be accessed through a browser if the page displays "It works! ", which means that Apache has been installed and started successfully.


Additional:

After successful installation, refer to the following documentation for detailed configuration and FAQ about MediaWiki

Common configurations:

http://www.mediawiki.org/wiki/Manual:FAQ/zh-hans#. e6.88.91.e5.ba.94.e8.af.a5.e6.80.8e.e6.a0.b7.e5.90.af.e7.94.a8.e4.b8.8a.e4.bc.a0.e5.8a.9f.e8.83.bd.ef.bc.9f

FAQs Help:

http://codex.wordpress.org.cn/Mediawiki%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94

Reference Documentation:

Http://www.mediawiki.info/thread-1182-1-1.html

http://blog.csdn.net/huoyunshen88/article/details/19083299

http://blog.csdn.net/hualichenxi123/article/details/7709547

Http://blog.chinaunix.net/uid-24373487-id-83842.html


MediaWiki installation configuration (Linux)

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.