Install Magnolia CMS on Ubuntu 16.04 | 17.10 | 18.04

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…
This brief tutorial is going to show students and new users how to install Magnolia CMS on Ubuntu 16.04 / 17.10 and 18.04.
When you’re ready to install Magnolia follow the steps below:
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:
Step 1: 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…
Step 2: 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..

Step 3: 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
Step 4: Donwnload 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 https://netix.dl.sourceforge.net/project/magnolia/magnolia/Magnolia%20CE%205.6.5/magnolia-community-demo-bundle-5.6.5-tomcat-bundle.zip
Unzip the downloaded content…
unzip magnolia-community-demo-bundle-5.6.5-tomcat-bundle.zip
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/magnolia_control.sh 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…
ex.. http://localhost: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.

Click START INSTALLATION to begin the installation for each page…

After click Start Up Magnolia link to start using the app… Login to the autho instance, use the credentials below
Username: superuser
Password: superuser

Enjoy!

To access the public site, use:
You may also like the post below: