

On the next screens, you can leave the default settings, unless you want to make any other custom changes. Once you have filled the details click continue. Finally you can give your wiki a name and create administrative username and password by filling the necessary fields. On the next page you can choose the database engine – InnoDB or MyIsam. For that purpose, use the database, user and password that you have created earlier: Setup MediaWiki Database Settingsġ3. If you have followed the steps so far, the checks should be OK and you can proceed to the next page where you will setup the database details. Next, the script will run environment check to ensure that all requirements are met: Check MediaWiki Requirementsġ2. Now you can access the MediaWiki application by reaching of your server and follow the installation steps.įirst you can choose the language settings: Select MediaWiki Languageġ1. # GRANT ALL PRIVILEGES on media_wiki.* to quit ġ0. # CREATE USER identified by 'mysecurepassword' On the MySQL prompt run the following commands to create database, create database user and grant that user privileges on the newly created database # CREATE DATABASE media_wiki After that we will create database for our MediaWiki installation as shown. Now extract the contents of the archive with the tar command.

Head over to the MediaWiki Download page and download the latest package or you can use the following wget command. Next move is to download the MediaWiki package. To make the changes active, you will have to restart the Apache web server: # systemctl restart httpdħ. Now secure you MariaDB installation by running: # mysql_secure_installationĦ. Start and enable the services with: # systemctl start httpdĥ.
Download mediawiki install#
# yum install php php-mysql php-pdo php-gd php-mbstring php-xml php-intl texliveĤ. # yum -y install mariadb-server mariadb-client Now we can proceed with installing Apache, MariaDB and PHP with necessary extensions required to run MediaWiki – For better performance you can also install Xcache. # yum-config-manager -disable remi-php54ģ. Next, we are going to use php7.3, we will need to disable the installation of php5.4 to install php7.3 from the remi repository as shown. First you need to enable the epel and remi repositories to install LAMP stack with the latest PHP 7.x version.
Download mediawiki how to#
In this article we are going to review how to install MediaWiki on CentOS 7 with LAMP (Linux, Apache, MySQL and PHP) stack. Its functionality can be easily extended thanks to the third party extensions developed for this application.

If you want to build your own wiki website, you can easily do it by using MediaWiki – a PHP opensource application, originally created for WikiPedia.
