Wikibase/Suite

Introduction
A Wikibase install often consists of the following elements:


 * MediaWiki
 * An RDBMS such as MariaDB
 * The Wikibase extension (and other related extensions)
 * The Wikidata query service (WDQS)
 * The WDQS proxy
 * The WDQS frontend
 * QuickStatements
 * Elasticsearch

The Docker install contains all these components and can be started with a single docker-compose command. This install meets the needs of many Wikibase users, especially those just starting out.

However, for those not wanting to run Docker (because of additional administrative overhead, scaling issues in production, or a desire to understand the components better), here's how to install each component manually.

Prerequisites

 * Familiarity with Linux and web server software
 * One or more servers on which you have permissions to install software

Instructions
The Mediawiki install linked in the next step relies on a running RDBMS with a database and user already created.

We recommend using MariaDB, and though a full installation guide is outside of the scope of this document, start with this excellent collection of documentation and this tutorial.
 * Create a database
 * User account management

Instructions
Install instructions for Mediawiki

Working Mediawiki nginx config

Instructions
Installation guide for Wikibase

Installation guide for Composer

Wikidata Query Service
The Wikidata Query Service (WDQS), which consists of the Blazegraph SPARQL query backend and its updater, can be and often is used in conjunction with Wikibase.

Instructions
While intrepid users may wish to compile their own instance of WDQS, we recommend using the precompiled version.


 * Download the desired version from Archiva.
 * 0.3.42 is the recommended version as of this writing, September 2020. However, expect this information to be updated with the impending Mediawiki release.
 * Consult the WDQS user manual.
 * In particular, configure RWstore.properties as noted here.
 * See also these WDQS Docker image configuration tips.

Reference

 * Wikibase Docker repo on GitHub
 * Docker install instructions