Install GrandNode eCommerce Platform on Ubuntu 16.04 | 18.04 | 18.10

laptop 4662049 640

GrandNode is an open source, functional cross-platform e-commerce solution to run your online shops. It runs on Windows, Linux and Mac OS systems and allows users and store owers to build scalable e-commerce solution which can be adapted in any company independently from company size or industry..

If you want an eCommerce platform that is scalable and performs at a high level, then GrandNode is a good place to start. GrandNode is built on an open source core with support for open standards, which might be very useful in helping you run your digital content.

This CMS platform is designed for ease of use to allow enterprises and business owners to collaborate and automate engaging experiences with users across multiple devices, including mobile.

For more about GrandNode, please check their Homepage

This brief tutorial is going to show students and new users how to install GrandNode eCommerce software on Ubuntu 16.04 / 18.10 and 18.04 LTS.To get started with installing GrandNode eCommerce Platform, follow the steps below:

Step 1: Install Nginx HTTP Server

GrandNode can use used with a proxy server and Nginx HTTP server is a great proxy server. To install Nginx server, run the commands below:

sudo apt update
sudo apt install nginx

After installing Nginx, the commands below can be used to stop, start and enable Nginx service to always start up with the server boots.

sudo systemctl stop nginx.service
sudo systemctl start nginx.service
sudo systemctl enable nginx.service

Now that Nginx is installed. to test whether the web server is working, open your browser and browse to the URL below.

nginx default home page test

If you see the page above, then Nginx is successfully installed.

Step 2: Install MongoDB Server

In order to get the latest version of MongoDB, you must add its repository to Ubuntu. to do that, run the commands below to add the official repository key.

sudo apt-key adv --keyserver hkp:// --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5

After adding the repository key to Ubuntu, run the commands below to add MongoDB repository to your system.

echo "deb [ arch=amd64,arm64 ] xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list

Now that the repository and key have been added to Ubuntu, run the commands below to install the package.

sudo apt update
sudo apt install -y mongodb-org

After installing MongoDB, the commands below can be used to stop, start and enable MongoDB to automatically startup when the systems boots up.

sudo systemctl stop mongod.service
sudo systemctl start mongod.service
sudo systemctl enable mongod.service

After installing, run the commands below to create GrandNode database and user account.

sudo mongo

Then run the commands below to create a database called grandnode with user grandnodeuser.

use grandnode
     user: "grandnodeuser",
     pwd: "new_password_here",
     roles: [ "dbOwner" ]

You should then see the message as shown below:

 use grandnode
switched to db grandnode
> db.createUser(
. {
. user: "grandnodeuser",
. pwd: "new_password_here",
. roles: [ "dbOwner" ]
. }
. )
Successfully added user: { "user" : "grandnodeuser", "roles" : [ "dbOwner" ] }

Step 3: Install Microsoft DotNet (.NET 2.1) Core

To install Microsoft code .NET 2.1 packages on Ubuntu, run the commands below.

cd /tmp
wget -q
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get install apt-transport-https

Then add Microsoft repository to your system  by running the commands

sudo sh -c 'echo "deb [arch=amd64] bionic main" > /etc/apt/sources.list.d/dotnetdev.list'

After that, install .NET 2.1 by running the commands below:

sudo apt-get update
sudo apt-get install dotnet-sdk-2.1

That should get you .NET code on Ubuntu.

Step 4: Download and Run GrandNode

Now that all the requirements are met, run the commands below to get the latest version of GrandNode and extract it to the Nginx root directory.

sudo apt-get install unzip libgdiplus
sudo unzip -d /var/www/html/grandnode /tmp/

After configure www-data as owner of the directory.

sudo chown -R www-data:www-data /var/www/html/grandnode

Then change into the directory and start the server.

cd /var/www/html/grandnode
sudo -u www-data dotnet Grand.Web.dll

That should get the server and ready to use.

Open your browser and browse to the server hostname or IP address followed by port 5000

Create an admin account and setup the database connection. using the name and user created.

GrandNode Ubuntu Install

When you’re done, click Install

After a brief moment, GrandNode should be installed and ready to use.

GrandNode Install Ubuntu

You should have a fully functional eCommerce site ready to be use.

To create a service account for GrandNode, run the commands below:

sudo nano /etc/systemd/system/grandnode-core.service

Then copy and paste the lines below into the file and save.

  ExecStart=/usr/bin/dotnet /var/www/html/grandnode/Grand.Web.dll

When you’re done run the commands below to enable and start.

sudo systemctl enable grandnode-core.service
sudo systemctl start grandnode-core.service

Congratulations! You’ve successfully installed GrandNode eCommerce Platform on Ubuntu 16.04 | 18.04 | 18.10.

You may also like the post below:

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.