The article provides a step-by-step guide to install Crafter CMS on Ubuntu Linux. Crafter CMS is a modern, open-source content management platform that is based on Java. It is adaptable for building any type of enterprise-class websites. The installation process includes the addition of a third-party PPA to Ubuntu, downloading and configuring Oracle Java 8, and finally the downloading and installation of Crafter CMS itself.
This article describes the steps to install Crafter CMS on Ubuntu Linux.
Crafter CMS is a 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 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 genuinely modern open-source content management platform written and based on Java. As a result, 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
You’ll be prompted to access the software’s license terms when you run the commands above. Accept and continue.
Configure Oracle JDK8 as Default
Set Oracle JDK8 as default; install the oracle-java8-set-default package to do that. 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 your Java version by running the following command.
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 setup for local development.
cd /tmp && wget https://downloads.craftercms.org/3.0.14/crafter-cms-authoring.tar.gz
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 the Crafter folder to the /opt directory.
sudo mv crafter /opt/
Next, install the required package and startup the Crafter service.
sudo apt install lsof
Finally, run the commands below to start the Crafter service.
To shut down the service, run the commands below
When the service is started, open your browser and browse to the hostname or IP address followed by port 8080
This will bring up the Crafter CMS login page.
You may also like the post below: