How to Install Crafter CMS on Ubuntu Linux

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

Crafter CMS is a truly modern open-source content management platform written and based on Java. It allows anyone to build enterprise-class websites for any purpose.

The Community edition is free and licensed under the GPLv3 open-source license.

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

For more about Crafter CMS, please visit its homepage.

How to install Crafter CMS on Ubuntu Linux

As described above, Crafter CMS is a truly modern open-source content management platform written and based on Java. It allows anyone to build enterprise-class websites for any purpose.

Below is how to install it on Ubuntu Linux.

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.

oracle java 9

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 Crafter CMS

Now that Java is installed, run the commands below to download Crafter CMS packages. The zip file will install a fully functional Crafter Studio instance and a Crafter Engine in Preview Mode. Out of the box, the Studio instance uses a local directory as the repository and a Derby database, which allows a quick and easy set up for local development.

cd /tmp && wget

After downloading the file, run the commands below to extract the downloaded file.

tar -xvzf crafter-cms-authoring.tar.gz

After extracting the archived file, run the commands below to move Crafter folder to the /opt directory.

sudo mv crafter /opt/

Next, install required package and startup Crafter service.

sudo apt install lsof

Finally, run the commands below to start Crafter service.

/opt/crafter/bin/startup.sh

To shutdown the service, run the commands below

/opt/crafter/bin/shutdown.sh

When the service is started, open your browser and browse to the hostname or IP address followed by port 8080


This will bring up Crafter CMS logon page.

Username: admin
Password: admin

Crafter CMS Ubuntu install

Enjoy!

Crafter ubuntu install

You may also like the post below: