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.
Installing Crafter CMS on Ubuntu Linux allows users to use the platform’s modern open-source content management capabilities to build enterprise-class websites for any purpose.
Ubuntu Linux is a popular and reliable operating system, making it a great choice for hosting and operating Crafter CMS. Additionally, the steps for installing Crafter CMS on Ubuntu Linux are well-documented and straightforward, making it accessible to many users.
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 the 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.
javac -version
Download and Install Crafter CMS
Now that Java has been 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 start the Crafter service.
sudo apt install lsof
Finally, run the commands below to start the Crafter service.
/opt/crafter/bin/startup.sh
To shut down 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
http://localhost:8080/studio
This will bring up the Crafter CMS login page.
Username: admin
Password: admin

Enjoy!

You may also like the post below:
Leave a Reply