• Home
  • Services
    • Retail & eCommerce
      • .NET eCommerce
      • Multichannel eCommerce
      • Mobile Apps for eCommerce
      • eCommerce Chatbots
      • Dynamics365 Integration
    • SharePoint Portal
      • Document flow
      • Request approval services
      • Staff directory and orgchart
      • Helpdesk
      • HR-services
      • Reporting and documentation
  • Projects
  • Customers and partners
  • Blog
  • Contact us
ISDK - eCommerce development, omnichannel solutions, CRM-marketing
  • EN
    • EN
    • DE
    • NL
  • Home
  • Services
    • Retail & eCommerce
      • .NET eCommerce
      • Multichannel eCommerce
      • Mobile Apps for eCommerce
      • eCommerce Chatbots
      • Dynamics365 Integration
    • SharePoint Portal
      • Document flow
      • Request approval services
      • Staff directory and orgchart
      • Helpdesk
      • HR-services
      • Reporting and documentation
  • Projects
  • Customers and partners
  • Blog
  • Contact us
Installing nopCommerce on LinuxInstalling nopCommerce on Linux

Launch an online store on nopCommerce. Part two: Installing nopCommerce on Linux

This series of tutorials explains how to launch on online store on nopCommerce.

Starting from its 4.00 version, nopCommerce moved to ASP.NET Core 2.0. This means it can now be deployed on Linux. In this article, we will explain how to prepare Linux-based systems for setting up a nopCommerce store.

Installation resources

Packages are distributed as disk images (.ISO, .VHD, etc.) or installation packages (.MSI, .EXE). It is recommended to download Ubuntu Server with LTS as .ISO disk images.

Once ISO disk image is downloaded, create an installation disk following the guidance from the Ubuntu official site.

NB: Hyperlinks, terms and conditions as well as documentation mentioned in this manual may be revised by Canonical and other authors. In this case, we advise to use search in order to get up-to-date data.

Ubuntu Server Package

Ubuntu Server package is available for download at http://releases.ubuntu.com/18.04/

It is recommended to select an ISO option and download the package as a disk image which should be mounted before the installation.

Official installation documentation can be found here.

SQL Server Package

This Database Management System should be installed through the official repository.
Official installation documentation can be found here. This image supports all SQL Server editions.

License conditions for SQL Server Editions:

  • Express – free edition with a limited functionality (there is only a relational database management system) and limited performance: 1 processor, 1GB of RAM, 10 GB maximum database size. This edition can be used in a production environment for a small database or at first stages of a nopCommerce store.
  • Standard – paid edition for mid-tier databases, includes business analytics services and has a higher performance level. This edition is optimal for nopCommerce.
  • Enterprise – paid edition for large databases, offers business analytics services and unlimited performance (depending on hardware).
  • Developer – fully-functioning free edition (similar to Enterprise edition), designed for development and testing, can also be used for learning and demonstrations

Official documentation: Editions and supported features of SQL Server 2017

Microsoft .NET Core Package

Current version can be downloaded from here. Use official guidelines to install .Net Core Runtime.Install .NET Core on Linux

nopCommerce Package

Current platform version with its source code can be found at https://github.com/nopSolutions/nopCommerce. It is designed for developers and requires Microsoft Visual Studio (version 15.7 or later) for the installation. Download archive nopCommerce-develop.zip. Additionally, for coding you need to download .NET Core SDK.

You can also download the platform with or without its source code from the official site. It is required to register to get the access. Select the version with no source code. Archive nopCommerce_4.10_NoSource.rar. will be downloaded.

Installation order

  1. Ubuntu Server operation system installation
  2. Docker image of the SQL Server database installation
  3. Microsoft .NET Core program components installation
  4. nopCommerce installation and set-up

Ubuntu Server installation

When connecting a disk or launching an image with the installation package, installation program setup.exe should be started automatically. If not, start it manually. In case a computer has no operation system, a DVD or USB boot disk should be prepared and inserted in the computer before turning it on.

In BIOS settings of the computer, launch order should be defined, and DVD or USB should be the first to be installed.

After the program initial launch, a window with language, time and keyboard settings pops up.

It is recommended to install Ubuntu in English, set English as a main language and then add other required languages.

Ubuntu Server installationInstall Ubuntu in English

To install Ubuntu Server 18.04, select Ubuntu Server Installation in the menu. Define the language and select a keyboard layout.

Ubuntu Server Installation

Define the language

Select a keyboard layout

Once the installation type is selected, define the environment in which the server will be installed. The installation can be both standalone or cluster (MAAS). In this manual we consider a standalone installation.

Select a standalone installationThe network is configured using the DHCP protocol, however, the parameters can be set manually.

Select an interface to configureThe disk can be partitioned both manually and automatically, the installer of the operating system will choose the optimal parameters by itself.

Filesystem setup

The final step of the operation system installation is creation of the admin account.

Profile setup

SQL Server database installation

To set up SQL Server in Ubuntu, run the following commands in the terminal window to install mssql-server pack.
Import GPG keys from a public repository:
$ wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add –

Register Microsoft SQL Server Ubuntu repository:

$ sudo add-apt-repository “$(wget -qO- https://packages.microsoft.com/config/ubuntu/18.04/mssql-server-2019.list)”

Run the following commands to install SQL Server:

$ sudo apt-get update
$ sudo apt-get install -y mssql-server

After the package installation is complete, run mssql-conf and follow the instructions on the screen to set the system administrator password and select your release.
$ sudo /opt/mssql/bin/mssql-conf setup

Microsoft .NET Core program components installation

Add Microsoft repository:
$ wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
$ sudo dpkg -i packages-microsoft-prod.deb
Install Microsoft .NET Core by running the following commands:
$ sudo add-apt-repository universe
$ sudo apt-get install apt-transport-https
$ sudo apt-get update
$ sudo apt-get install aspnetcore-runtime-2.2

nopCommerce installation

Deploy the archive file with the nopCommerce package to a web-server /var/aspnetcore folder.
$ sudo mkdir /var/aspnetcore
$ cd /var/aspnetcore/
$ wget https://github.com/nopSolutions/nopCommerce/releases/download/release-4.10/nopCommerce_4.10_NoSource.rar
$ sudo unrar nopCommerce_4.10_NoSource.rar
$ sudo chown -R www-data:www-data nopCommerce_4.10/
To start, go to the folder with the solution and execute the following commands:
$ cd nopCommerce_4.10/
$ sudo -u www-data dotnet Nop.Web.dll
To run the solution as a service, it is needed to configure the automatic start. To do this, create a systemd configuration file and specify the launch parameters for the solution.
$ sudo vim /etc/systemd/system/nopcommerce.service
Define the configuration:

[Service]
WorkingDirectory=/var/aspnetcore/nopCommerce_4.10
ExecStart=/usr/bin/dotnet /var/aspnetcore/nopCommerce_4.10/Nop.Web.dll
Restart=always
RestartSec=10
SyslogIdentifier=nopcommerce
User=www-data
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false

[Install]
WantedBy=multi-user.target
Start and automatic start of the service when the OS starts is performed by the following commands:
$ sudo systemctl enable nopcommerce.service
$ sudo systemctl enable nopcommerce.service

– – – – –

Once the environment is ready, you can move on to installing nopCommerce platform and setting up a store. Use our guide to make the process easier.

Request a quote

LinuxMicrosoftnopCommerce

Categories

  • News
  • Tech stories
  • eCommerce

Popular topics

Adjust Azure Behavior analytics Belgium berlinexpo Business Intelligence Certification chatbots COVID-19 CRM DevExpress XAF DPD Dynamics365 ecommerce events integration Linux Marketing tools Microsoft mobile marketing mobile measurement MVP nonprofit nopCommerce nopCommerceDays omnichannel open source plugin POS Regulations security SharePoint Snowplow SQL Server Store setup subscriptions web-applications Web Analytics
  • Microsoft Power AppsMicrosoft Power Apps
    Microsoft Power Apps
    19 JAN 2021 · admin
  • RPA with Power Automate DesktopRPA with Power Automate Desktop
    RPA with Power Automate Desktop
    4 JAN 2021 · admin
  • Microsoft Power AutomateMicrosoft Power Automate
    Microsoft Power Automate
    18 DEC 2020 · admin
  • Microsoft Power BIMicrosoft Power BI
    Microsoft Power BI
    10 DEC 2020 · admin
  • Microsoft 365 subscription plans overviewMicrosoft 365 subscription plans overview
    Microsoft 365 subscription plans overview
    19 NOV 2020 · admin
  • Microsoft Office 365 apps overviewMicrosoft Office 365 apps overview
    Microsoft Office 365 apps overview
    12 NOV 2020 · admin
  • Which mobile app analytics platform is right for you?Which mobile app analytics platform is right for you?
    Which mobile app analytics platform is right for you?
    5 NOV 2020 · admin
  • Minimum Viable Product to test your business idea quickly and with a little budgetMinimum Viable Product to test your business idea quickly and with a little budget
    Minimum Viable Product to test your business idea quickly and with a little budget
    16 OCT 2020 · admin
  • How tracking and analytics can help you maximize your mobile app marketing effortsHow tracking and analytics can help you maximize your mobile app marketing efforts
    How tracking and analytics can help you maximize your mobile app marketing efforts
    30 SEP 2020 · admin
  • User analytics: comparison of Snowplow and Google Analytics 360User analytics: comparison of Snowplow and Google Analytics 360
    User analytics: comparison of Snowplow and Google Analytics 360
    16 SEP 2020 · admin

Projects and solutions implemented

https://isdk.pro/wp-content/uploads/Barcode-scanning-small-150x150.jpegMVP app to test an E-Commerce business idea in 3 weeks
https://isdk.pro/wp-content/uploads/GlobeIn-Shop-small-1-150x150.jpgiOS app with Apple in-app subscriptions and purchases
https://isdk.pro/wp-content/uploads/globein-box-small-150x150.jpgSubscription boxes iOS app set up for marketing campaigns
https://isdk.pro/wp-content/uploads/book-publisher-small-150x150.jpgnopCommerce multi-store for a book publisher
https://isdk.pro/wp-content/uploads/clinic-small-150x150.jpgRoutine automation with Office 365 and Teams chatbot
https://isdk.pro/wp-content/uploads/SharePoint-in-a-business-school-150x150.jpgSharePoint Online and Office 365 in a business school
https://isdk.pro/wp-content/uploads/SharePoint-for-a-DMS_ed-small-150x150.pngSharePoint 2019 Document Archive
https://isdk.pro/wp-content/uploads/nopCommerce-upgrade-case-featured-400-200-150x150.pngnopCommerce Upgrade to .NET CORE
https://isdk.pro/wp-content/uploads/Harman-JBL-ecommerce-case-featured-400-200-150x150.pngHigh-traffic eCommerce webstore Harman.club
https://isdk.pro/wp-content/uploads/Herbalife-banner-400-200-150x150.pngE-Commerce Omni-Channel
https://isdk.pro/wp-content/uploads/hr-sharepoint-trainings-home-400-200-150x150.pngEnterprise SharePoint Portal. HRM-Trainings
https://isdk.pro/wp-content/uploads/Automobile-company-sharepoint-hr-portal-400-200-150x150.pngSharePoint HR-Portal – Employee Request Approvals

Contact us

logo

“The only way to do great work is to love what you do” - Steve Jobs

Search by topic

.NET Core .NET Framework 1С Adjust Ajax Apache JMeter ARIS ASP.NET ASP.NET MVC Bootstrap Business Connectivity Services DevExpress DevExpress XAF DevExtreme ESB Google Geoservices Google Map InfoPath Java Message Service JavaScript JQuery Knockout.js Knockoutjs Microsoft Azure Microsoft Flow MS Active Directory MS SQL MS System Center Nintex Nintex Forms Nintex Workflow nopCommerce QlikView Reporting Services SharePoint Sharepoint Search Sharepoint workflow Snowplow Telerik UML Visual Studio Web Services Xamarin

Projects

https://isdk.pro/wp-content/uploads/Barcode-scanning-small-150x150.jpegMVP app to test an E-Commerce business idea in 3 weeks
https://isdk.pro/wp-content/uploads/GlobeIn-Shop-small-1-150x150.jpgiOS app with Apple in-app subscriptions and purchases
https://isdk.pro/wp-content/uploads/globein-box-small-150x150.jpgSubscription boxes iOS app set up for marketing campaigns
https://isdk.pro/wp-content/uploads/book-publisher-small-150x150.jpgnopCommerce multi-store for a book publisher
https://isdk.pro/wp-content/uploads/clinic-small-150x150.jpgRoutine automation with Office 365 and Teams chatbot
https://isdk.pro/wp-content/uploads/SharePoint-in-a-business-school-150x150.jpgSharePoint Online and Office 365 in a business school
https://isdk.pro/wp-content/uploads/SharePoint-for-a-DMS_ed-small-150x150.pngSharePoint 2019 Document Archive
https://isdk.pro/wp-content/uploads/nopCommerce-upgrade-case-featured-400-200-150x150.pngnopCommerce Upgrade to .NET CORE
https://isdk.pro/wp-content/uploads/Harman-JBL-ecommerce-case-featured-400-200-150x150.pngHigh-traffic eCommerce webstore Harman.club
https://isdk.pro/wp-content/uploads/Herbalife-banner-400-200-150x150.pngE-Commerce Omni-Channel
https://isdk.pro/wp-content/uploads/hr-sharepoint-trainings-home-400-200-150x150.pngEnterprise SharePoint Portal. HRM-Trainings
https://isdk.pro/wp-content/uploads/Automobile-company-sharepoint-hr-portal-400-200-150x150.pngSharePoint HR-Portal – Employee Request Approvals

Contact us

  • USA Austin, TX
    +1 737 2413109

    GERMANY Berlin
    +49 15233977274

    BENELUX (BELGIUM, Antwerp)
    +32 484 40 10 53

    RUSSIA Moscow
    +7 495 651 66 62

    LATVIA Riga
    +371 27869927

  • [email protected]
  • https://isdk.pro
  • https://www.linkedin.com/company/isdk/
ISDK ©2010-2020

All rights reserved.

X
Request trial hours!
Submit
ISDK website uses cookies for statistics and content. Learn more ACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.