33.8 C
Senior Writer and partner

How to install Cezerin platform on Ubuntu 18.04?

Today much of the trade remains traditional, but every time the trend is turned to the Internet. In this sense, companies large and small, need applications and tools to help promote their products. In addition, create all the infrastructure to conduct E-commerce. So, Linux is outlined as the ideal system to be the system behind the entire infrastructure. Today, I will show you how to install Cezerin on Ubuntu 18.04. With Cezerin you can deploy an e-commerce platform quickly and easily.

What is Cezerin?

Cezerin is React and Node.js based eCommerce platform. Allows creating Progressive Web Apps.

In other words, you can make a commercial site in a few minutes with this application.

Of course, Cezerin is open source and has the basic operations to make your online store. Although it is simple, it has many features:

  • Products (options, variants, attributes).
  • Product categories.
  • Inventory and stock management.
  • Customers.
  • Customer groups.
  • Orders.
  • Order custom statuses.
- Advertisement -

So, let us get to work.

Install Cezerin on Ubuntu 18.04

To install Cezerin it is necessary to have an Ubuntu 18.04 server that has the sudo command available.

On the other hand, since the application is built with NodeJS, it needs to be installed correctly. In addition, to manage the application data use the database manager NoSQL MongoDB. In other words, you have to install them both.

1) Install NodeJS on Ubuntu 18.04

The first step is to install NodeJS on Ubuntu 18.04. For that, we have a detailed tutorial that will make you achieve this goal.

Read How to install NodeJS on Ubuntu 18.04?

Once you have finished, you will be able to continue with the guide.

2) Install MongoDB on Ubuntu 18.04

Now it is MongoDB’s turn. For this, we will use the version available in the official repository of the project. So add it and then install MongoDB.

First, open a terminal and run the following command to add the GPG key of the repository.

:~$ wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -

1.-Adding the GPG key for the repository
1.-Adding the GPG key for the repository

It then adds the repository as such to the list of software origins.

:~$ echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list

After this, refresh the APT cache.

:~$ sudo apt update

Install MongoDB on Ubuntu with the following command:

:~$ sudo apt install mongodb-org mongodb-org-shell mongodb-org-server mongodb-org-mongos libcurl3

2.- Install MongoDB on Ubuntu 18.04
2.- Install MongoDB on Ubuntu 18.04

Check the installed version:

:~$ mongod -version
db version v4.2.0
git version: a4b751dcf51dd249c5865812b390cfd1c0129c30
OpenSSL version: OpenSSL 1.1.1  11 Sep 2018
allocator: tcmalloc
modules: none
build environment:
distmod: debian92
distarch: x86_64
target_arch: x86_64

3) Install Cezerin on Ubuntu 18.04

After installing the pre-requirements, we will be able to install Cezerin. To do this, navigate to your personal folder and download the source code using git.

:~$ cd ~
:~$ git clone https://github.com/cezerin/cezerin.git cezerin

3.- Downloading Cezering using git
3.- Downloading Cezering using git

Then, navigate into the folder and run:

:~$ cd cezerin
:~$ sudo npm install
:~$ sudo npm run build

4.- Installing Cezerin on Ubuntu 18.04
4.- Installing Cezerin on Ubuntu 18.04

Once the “compilation” has been completed, the application must be installed as such. To do this, simply use the following:

:~$ sudo npm run setup

5.- Install Cezerin on Ubuntu 18.04
5.- Install Cezerin on Ubuntu 18.04

Now you can start the program by using the following command:

:~$ sudo npm start

6.- Starting the application
6.- Starting the application

Now, open your web browser and go to http://Server-ip:3000. Remember to open the port on the firewall.

7.- Cezering running on Ubuntu 18.04
7.- Cezering running on Ubuntu 18.04

If you want to manage Cezerin as a systemd service, run the following commands:

:~$ sudo nano /etc/systemd/system/cezerin.service

And add the following:


ExecStart=/usr/bin/npm start


8.- Make Cezering a systemd service
8.- Make Cezering a systemd service

To apply the changes, reload systemd.

:~$ sudo systemctl daemon-reload

Now, you can start it, enable it or stop it easily.

And that is it.


As you can see, it is quite simple to deploy an E-Commerce platform with Cezerin. Of course, the potential of the application makes the possibilities unimaginable.

So, share this post and please join our Telegram channel.


- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
"The best Linux newsletter on the web"


Please enter your comment!
Please enter your name here

Latest article