How to Install Magnolia CMS on Ubuntu Linux

This article describes steps one can take to install Magnolia CMS on Ubuntu Linux.

Magnolia is an opensource content management framework based on Java. It allows anyone to build and maintain websites for any purpose. Developed by Magnolia International Ltd, it supports multi-language, multi-site on an enterprise-scale.

Whether you’re creating a personal or business website, Magnolia CMS can help you create and manage your content on every device with its intuitive and powerful admin dashboard.

Magnolia is a Java based CMS, so you must have Java installed in order to use it. To install Java JDK 8, follow the steps below:

Add A Third Party PPA to Ubuntu

The easiest way to install Oracle Java JDK 8 on Ubuntu is via a third party PPA. To add that PPA, run the commands below

sudo add-apt-repository ppa:webupd8team/java

After running the commands above, you should see a prompt to accept the PPA key onto Ubuntu. accept and continue

Continue below to install Java 8.

Download Oracle Java 8 Installer

Now that the PPA repository has been added to Ubuntu, run the commands below to download Oracle Java 8 installer. the installer should install the latest Java JDK 8 on your Ubuntu machines.

sudo apt update
sudo apt install oracle-java8-installer

When you run the commands above you’ll be prompted to access the license terms of the software. accept and continue.

Configure Oracle JDK8 as Default

Set Oracle JDK8 as default, to do that, install the oracle-java8-set-default package. This will automatically set the JAVA env variable.

sudo apt install oracle-java8-set-default

The command above will automatically set Java 8 as the default. and that should complete your installation, you can check you java version by running following command.

javac -version

Download and install Magnolia

Now that Java is installed, run th commands below to download Magnolia content, then extract to the /opt directory.

cd /tmp && wget

Unzip the downloaded content.


Move the content to the /opt directory and install.

sudo mv magnolia-5.6.5 /opt/magnolia

Then run the commands below to begin the installation.

cd /opt/magnolia
sudo ./apache-tomcat-8.5.5/bin/ start --ignore-open-files-limit

After this, you should be able to access the site content by going to the server hostname or IP address followed by port 8080.


This is the page you should see. on this page, click the links below that read

  • Run the Web update on the author instance
  • Run tate on the public instancehe

Those links will take you to the installation pages.

This is only necessary once after the initial setup and again whenever you install a new module or update an existing one. Magnolia will auto-detect, if a Web update has to be run when you attempt to log in. Running it ensures that all modules shipping with Magnolia or installed at a later point in time are properly configured.

Magnolia CMS Ubuntu

Click START INSTALLATION to begin the installation for each page.

Magnolia Ubuntu install

After click Start Up Magnolia link to start using the app. Login to the autho instance, use the credentials below

Username: superuser
Password: superuser

Magnolia Ubuntu install


Ubuntu Magnolia install

To access the public site, use:


You may also like the post below: