Linux server-encyclopedia mediawiki
Mediawiki
Mediawiki is a powerful wiki software that enables page editing, image and multimedia management.
1. Download mediawiki software ("https://www.mediawiki.org/wiki/News")
2. Create your own database for mediawiki-1.22, which we call "mediawiki-1.22".
3. Extract the mediawiki installation package to the root directory of the apache web page "/ var/www/html/".
[root@localhost html] # cp / wj/mediawiki-1.22.tar / var/www/html/ copy the zip file
[root@localhost html] # tar-xvf mediawiki-1.22.tar / / decompress
[root@localhost html] # mv mediawiki-1.22 mediawiki-1.22 / / repeat command, which makes it easy to open from the browser
4. Installation. Enter the address "127.0.0.1/mediawiki" in the browser to start the installation
1) prompt "localsetting.php not found" and click "set up the wiki"
2) choose a language
3) if there is a serious problem in the testing environment, it needs to be solved in advance. As you can see in the following figure, the pecl extension is missing.
4) set up the database
5) set up administrator
6) installation is complete. Finally, we will generate a "localsettings.php". This is the configuration file for mediawiki. We will save this file to the working directory of mediawiki.
[root@localhost ~] # cp / wj/LocalSettings.php / var/www/html/mediawiki/
7) enter "127.0.0.1/mediawiki" in the browser to access the mediawiki home page