vuerest.blogg.se

Mediawiki installer
Mediawiki installer





mediawiki installer
  1. #Mediawiki installer install#
  2. #Mediawiki installer password#

In the following window, specify Mediawiki database, database user name and password and the click on ‘Continue’ Replace the ip address as per your setup.

mediawiki installer

To start the installation, type the following URL in the web broswer, $ sudo firewall-cmd -reload 6) Start MediaWiki web based installation $ sudo firewall-cmd -permanent -zone=public -add-service=https $ sudo restorecon -FR /var/www/html/mediawiki/īefore starting the installation, also make sure following firewall rules are in place ( This is only required when firewall is enabled on your system) $ sudo firewall-cmd -permanent -zone=public -add-service=http If SELinux is enabled on your system then apply below selinux rule on mediawiki folder, $ getenforce Move mediawiki-1.37.1 to apache document root (/var//var/www/html/mediawiki 5) Set the required permissions on mediawiki directoryĬhange the file and group owner of mediawiki folder using chown command $ sudo chown -R apache:apache /var/www/html/mediawiki/ Use following wget command to download mediawiki 1.37, $ wget wget Įxtract the downloaded file using tar command. Please refer this link to get latest version of MediaWiki. 4) Download latest MediaWikiĪt the time of writing this article, latest version of Mediawiki 1.37 was available. Replace the database name, user name and its credentials in above commands as per your setup. MariaDB > GRANT ALL PRIVILEGES ON mediawiki_db.* TO IDENTIFIED BY ' WITH GRANT OPTION Now create database for mediwiki using following commands, $ mysql -u root -p To Secure mariadb database, run following command, $ sudo mysql_secure_installation $ sudo systemctl enable mariadb 3) Secure MariaDB and Create Database for mediawiki Run the beneath commands to start and enable apache web server and mariadb service $ sudo systemctl start httpd

#Mediawiki installer install#

$ sudo dnf install -y httpd php php-mysqlnd php-gd php-xml php-intl mariadb-server mariadb php-mbstring php-json 2) Start Web Server and Database Service If they are not installed on your system, please use the below commands to install, $ sudo dnf module reset php

  • 6) Start MediaWiki web based installationįor mediawiki installation on Linux we must first install Web server (Apache), PHP and Database ( MySQL / MariaDB ).
  • 5) Set the required permissions on mediawiki directory.
  • 3) Secure MariaDB and Create Database for mediawiki.
  • 2) Start Web Server and Database Service.






  • Mediawiki installer