DevOps Classroom notes 10/Sep/2026

Steps to install nop

# add dotnet repository
sudo add-apt-repository ppa:dotnet/backports

# update system repository packages
sudo apt-get update
# install dotnet aspnetcore
sudo apt-get install -y aspnetcore-runtime-9.0

# Valiadate dotnet core installation
dotnet --list-runtimes

install mysql & nginx

# install mysql 
sudo apt-get install mysql-server-8.0 -y 

sudo mysql

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

# nginx installation 
sudo apt-get install nginx -y 

sudo systemctl start nginx
sudo systemctl status nginx
sudo systemctl enable nginx

validate nginx http://<ipaddres&gt;:80

vi /etc/nginx/sites-available/default

# Default server configuration
#
server {
    listen 80 default_server;
    listen [::]:80 default_server;

    server_name   nopCommerce.com;

    location / {
    proxy_pass         http://localhost:5000;
    proxy_http_version 1.1;
    proxy_set_header   Upgrade $http_upgrade;
    proxy_set_header   Connection keep-alive;
    proxy_set_header   Host $host;
    proxy_cache_bypass $http_upgrade;
    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header   X-Forwarded-Proto $scheme;
    }

    # SSL configuration
    #
    # listen 443 ssl default_server;
    # listen [::]:443 ssl default_server;
    #
    # Note: You should disable gzip for SSL traffic.
    # See: https://bugs.debian.org/773332
    #
    # Read up on ssl_ciphers to ensure a secure configuration.
    # See: https://bugs.debian.org/765782
    #
    # Self signed certs generated by the ssl-cert package
    # Don't use them in a production server!
    #
    # include snippets/snakeoil.conf;
}

Now nop stepup

# create directory
sudo mkdir /var/www/nopCommerce

cd /var/www/nopCommerce

# download nop packages
sudo wget https://github.com/nopSolutions/nopCommerce/releases/download/release-4.90.8/nopCommerce_4.90.8_NoSource_linux_x64.zip

# install unzip 
sudo apt-get install unzip -y 
# un zip packages
sudo unzip nopCommerce_4.90.8_NoSource_linux_x64.zip

sudo mkdir bin
sudo mkdir logs

cd ..
sudo chgrp -R www-data nopCommerce/
sudo chown -R www-data nopCommerce/

mysql://root:password@localhost:3306/database

FOllow documentation create 2 docker images

  1. ubuntu base image
  2. install dotnet and aspnetcore-runtime-9.0
  3. setup nopCommerce appliaction

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube