• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install MediaWiki on OpenSUSE 42.3

{{postValue.id}}

How to install MediaWiki on OpenSUSE 42.3

MediaWiki is a PHP wiki package designed for use on Wikipedia. It allows you to create your own personal wiki site. It is an extremely powerful and a featured wiki implementation, which also shows the data stored in a database. In this tutorial, you will learn about the method to isntall MediaWiki on OpenSUSE 42.3

Requirements
Lamp Stack
Apache
Mariadb
Php5.6 and above
zypper inphp-intl php-gd


If you want to install texlive and php5-xcache packages then run the following command.

zypper install texlive php-xcache


Installing MediaWiki

If you want to download the MediaWiki installation file, you can run the wget command along with the download link as follows.

 linuxhelp:~ # wget https://releases.wikimedia.org/mediawiki/1.29/mediawiki-1.29.1.tar.gz
--2017-10-28 11:59:36--  https://releases.wikimedia.org/mediawiki/1.29/mediawiki-1.29.1.tar.gz
Resolving releases.wikimedia.org (releases.wikimedia.org)... 91.198.174.217, 2620:0:862:ed1a::3:d
Connecting to releases.wikimedia.org (releases.wikimedia.org)|91.198.174.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 39734499 (38M) [application/x-gzip]
Saving to: ‘ mediawiki-1.29.1.tar.gz’ 

100%[==============================================================================================================================================> ] 39,734,499   482KB/s   in 69s    

2017-10-28 12:00:46 (562 KB/s) - ‘ mediawiki-1.29.1.tar.gz’  saved [39734499/39734499]

After downloading, extract the MediaWiki package with the help of the following command.

linuxhelp:~ # tar -xvzf mediawiki-1.29.1.tar.gz
mediawiki-1.29.1/
mediawiki-1.29.1/.eslintrc.json
mediawiki-1.29.1/.stylelintrc
mediawiki-1.29.1/api.php
mediawiki-1.29.1/autoload.php
mediawiki-1.29.1/cache/
mediawiki-1.29.1/cache/.htaccess
mediawiki-1.29.1/composer.json
mediawiki-1.29.1/composer.local.json-sample
mediawiki-1.29.1/COPYING
mediawiki-1.29.1/CREDITS
mediawiki-1.29.1/docs/
.
.
.
mediawiki-1.29.1/vendor/zordius/lightncandy/tests/helpers_for_test.php
mediawiki-1.29.1/vendor/zordius/lightncandy/tests/LCRun3Test.php
mediawiki-1.29.1/vendor/zordius/lightncandy/tests/LightnCandyTest.php
mediawiki-1.29.1/vendor/zordius/lightncandy/tests/mustacheSpecTest.php
mediawiki-1.29.1/vendor/zordius/lightncandy/tests/recursive.tmpl
mediawiki-1.29.1/vendor/zordius/lightncandy/tests/regressionTest.php
mediawiki-1.29.1/vendor/zordius/lightncandy/tests/test1.tmpl
mediawiki-1.29.1/vendor/zordius/lightncandy/tests/test2.tmpl
mediawiki-1.29.1/vendor/zordius/lightncandy/tests/test3.tmpl
mediawiki-1.29.1/vendor/zordius/lightncandy/UPGRADE.md]

Once the extraction is done, rename the mediawiki directory as per your choice.

linuxhelp:~ # mv mediawiki-1.29.1 mediawiki

Afterwards, move the renamed directory into Apache document root as follows.

linuxhelp:~ # mv mediawiki /srv/www/htdocs/

In here, you need to provide an appropriate name for your Apache document root. You can do that by running the following commands.

linuxhelp:~ # chown -R wwwrun:www /srv/www/htdocs/
linuxhelp:~ # chmod &ndash R 775 /srv/www/htdocs/

Once it is done, you need to switch to your browser and and enter http://yourdomain/mediawiki in the URL search field.
1

Choose your desired language and click on Continue.
2

You' ll be taken to the Copyright and Terms page, click on Continue to proceed further.
3

In here, configure your MySQL database.
4

Click on Continue to proceed further.
5

The, you should set your Administrator account details.
6
7

Choose the User rights profile and other needed modifications. Click on Continue.
8

Most of your installation is done. Click on Continue to give effect to the procees.
9

You can now see the LocalSettings.php file which was not available earlier.
10

With this, the installation of MediaWiki comes to an end.

Tags:
matthew
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to install Medaiawiki on CentOS?

A

For the installation of the Media, use the following link as given below "https://www.linuxhelp.com/how-to-install-mediawiki-in-centos-7/"

Q

Whether the Mediawiki is an opensource application or not?

A

Yes, the Mediawiki is an opensource application.

Q

How to download the Mediawiki?

A

For download the Mediawiki, use the following link as given below "https://releases.wikimedia.org/mediawiki/"

Q

How do I allow uploading of additional formats in Mediawiki?

A

By using this command you allow the additional formats



Syntax: "$wgFileExtensions[] = 'pdf';"

Q

How do I stop anonymous users from editing any page in Mediawiki?

A

To stop the annonymous user is by changing the value of the $wgGroupPermissions configuration option. Edit LocalSettings.php and add the line:



"$wgGroupPermissions['*']['edit'] = false;"

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.