Install XWiki on an Ubuntu 16.04 VPS

XWiki is a free and open source advanced wiki software platform written in Java. It runs on servlet containers like JBoss, Tomcat etc. which uses a database such as MySQL or PostgreSQL to store its information.

There are several methods of installing XWiki. In this tutorial, we are going to show you how to install XWiki using Debian packages (.DEB), which is probably the fastest and easiest way because all components needed by XWiki for a production instance are automatically installed on the server. We will use a VPS with Ubuntu 16.04 but you should be able to install XWiki following this tutorial on all Debian based Linux distributions.