Difference between revisions of "MediaWiki:Migrate from old server to new server"

From ppwiki
Jump to navigation Jump to search
Line 16: Line 16:
 
=Installation=
 
=Installation=
 
==Data base server installtion and configuration==
 
==Data base server installtion and configuration==
The database server (db1006.dfw.labnet) is running Debian Stretch 9 with MariaDb version 10.1.38. We will not convert the installing of Debian and MariaDB in this tutorial. Once you have your database serve ready, create a databasese for your new Wiki.
+
The database server (db1006.dfw.labnet) is running Debian Stretch 9 with MariaDb version 10.1.38. We will not cover the installing of Debian and MariaDB in this tutorial. Once you have your database serve ready, create a databasese for your new Wiki. See Database information below
  
 
- Database base name : wikipp
 
- Database base name : wikipp

Revision as of 08:50, 1 August 2019

Mediawiki is the same software used in Wikipedia. In this tutorial, we are going to move an existing wiki we have already setup to another server. The wiki we are moving is the same wiki I am writing this tutorial on (https://papaulgigitech.com). I am going to move this wiki to a local server in a lab environment.

Prerequisites

- 1 data base server : db1006.dfw.labnet

- 1 Mediawiki server : mw1002.dfw.labnet

- PHP 7.3

- 10.1.38-MariaDB

- Nginx 1.17

- Debain Stretch (9)

Installation

Data base server installtion and configuration

The database server (db1006.dfw.labnet) is running Debian Stretch 9 with MariaDb version 10.1.38. We will not cover the installing of Debian and MariaDB in this tutorial. Once you have your database serve ready, create a databasese for your new Wiki. See Database information below

- Database base name : wikipp - Database user name: rootwiki - Privileges:

GRANT USAGE ON *.* TO 'rootwiki'@'mw1002.dfw.labnet'
GRANT ALL PRIVILEGES ON `wikipp`.* TO 'rootwiki'@'mw1002.dfw.labnet'

Medaiwiki server installtion and configuration

Mediawiki installation

Download Mediawiki