Page MenuHomePhabricator

Setting up Wikibase Wikidata Query and Quickstatements on a Linux Mint laptop
Closed, ResolvedPublic


Wikimedia Hackathon 2019 Presenter: Tom with the help from Alaa

Prerequisite: a working installation of a Linux (preferably Ubuntu on a Virtual machine like e.g. Oracle VM VirtualBox)

In general follow the installation steps from:
that you will need to copy/paste into a shell console.

Also check README.

Caveat: I am running Linux Mint, so I need to know the base Ubuntu version.
Some commands will be specific for Linux Mint, depending on the base Ubuntu version. Verify:

In general the above script should be used; unless some specific Mint/Ubuntu version or alternative command is required.

  • Get the Docker images from the web site
  • Install docker
curl -fsSL | sudo apt-key add -
sudo add-apt-repository \
   "deb [arch=amd64] \
   bionic \

Install Docker composer failed:

sudo pip install docker-compose

is replaced for Linux Mint by an alternative command:

sudo apt install docker-compose

Note: Before running git clone you should create and set a specific directory to be sure the software arrives in the right environment.

We have the SW installed now and the system should be running now.

Check with a browser:




Google: list docker exposed ports

sudo docker ps
CONTAINER ID        IMAGE                                 COMMAND                   CREATED             STATUS              PORTS                  NAMES
23fb81cc1834        wikibase/wdqs:0.3.0                   "/ /run…"    6 minutes ago       Up 6 minutes                               wikibasedocker_wdqs-updater_1
14582ffce123        wikibase/quickstatements:latest       "/bin/bash /entrypoi…"    6 minutes ago       Up 6 minutes>80/tcp   wikibasedocker_quickstatements_1
bfcdedeb5b91        wikibase/wikibase:1.32-bundle         "/bin/bash /entrypoi…"    6 minutes ago       Up 6 minutes>80/tcp   wikibasedocker_wikibase_1
7bee2dbd70a8        wikibase/wdqs-frontend:latest         "/ ngin…"    6 minutes ago       Up 6 minutes>80/tcp   wikibasedocker_wdqs-frontend_1
f3e8857f8c73        wikibase/wdqs-proxy                   "/bin/sh -c \"/entryp…"   6 minutes ago       Up 6 minutes>80/tcp   wikibasedocker_wdqs-proxy_1
e1c5dc91a61f        wikibase/elasticsearch:5.6.14-extra   "/docker-entrypoint.…"    7 minutes ago       Up 6 minutes        9200/tcp, 9300/tcp     wikibasedocker_elasticsearch_1
67b6af1ea7e0        mariadb:10.3                          "docker-entrypoint.s…"    7 minutes ago       Up 6 minutes        3306/tcp               wikibasedocker_mysql_1
f2180b9f9441        wikibase/wdqs:0.3.0                   "/ /run…"    7 minutes ago       Up 6 minutes        9999/tcp               wikibasedocker_wdqs_1