WordPress is an open source blogging platform written in PHP and distributed under the GPLv2 licence.

WordPress was released in 2003 by Matt Mullenweg and Mike Little as a fork of b2/cafelog. It is maintained by the WordPress foundation.


For this guide you should be familiar with the basic concepts of


We’re using PHP in the stable version 7.1:

[isabell@stardust ~]$ uberspace tools version show php
Using 'PHP' version: '7.1'
[isabell@stardust ~]$

You’ll need your MySQL credentials. Get them with my_print_defaults:

[isabell@stardust ~]$ my_print_defaults client
[isabell@stardust ~]$

Your blog domain needs to be setup:

[isabell@stardust ~]$ uberspace web domain list
[isabell@stardust ~]$


cd to your document root, then download and configure WordPress with wp-cli:

You will need to enter the following information:

  • your blog URL: The URL for your blog. For example: isabell.uber.space

  • your MySQL username and password: you should know your MySQL credentials by now. If you don’t, start reading again at the top.

  • your WordPress database name: we suggest you use an additional database. For example: isabell_wordpress

  • Admin User: The name and the email address of the admin user.


The database name has to start with the user name and an underscore (isabell_xxxx). Otherwise the creation of the database will fail with a permission denied.

[isabell@stardust ~]$ cd /var/www/virtual/$USER/html/
[isabell@stardust html]$ wp core download
Downloading WordPress 23.42.1 (en_US)...
md5 hash verified: f009061b9d24854bfdc999c7fbeb7579
Success: WordPress downloaded.
[isabell@stardust html]$ wp config create --dbname=isabell_wordpress --dbuser=isabell --dbpass=MySuperSecretPassword
Success: Generated 'wp-config.php' file.
[isabell@stardust html]$ wp db create
Success: Database created.
[isabell@stardust html]$ wp core install --url=isabell.uber.space --title="Super Blog" --admin_user=<adminuser> --admin_email=<emailadress>
Admin password: SuperSecretSecurePassword
Success: WordPress installed successfully.
[isabell@stardust html]$

WordPress will generate a secure password for the admin user.


By default, WordPress automatically updates itself to the latest stable minor version. Use wp-cli to update all plugins:

[isabell@stardust ~]$ wp plugin update --all --path=/var/www/virtual/$USER/html/
Success: Plugin already updated.
[isabell@stardust ~]$

Tested with WordPress 4.9.6, Uberspace 7.1.2

Written by: Nico Graf <hallo@uberspace.de>