One of the biggest advantages of running nopCommerce on Linux is the low cost. It is a known fact that Linux hosting is way cheaper than Windows hosting. A shared Windows hosting plan with only 512MB of memory will cost around $7-$8 a month. Whereas for $10 a month you can get a Linux VPS hosting plan with 2GB of memory and SSD storage. The SSD storage has the added benefit of increased download speed compared to HDD hosting. This is why running nopCommerce on Linux is such an attractive option.
If you are interested in running nopCommerce on Linux, this tutorial will take you through the installation steps while explaining in detail the purpose and concepts behind each of the steps. By the end of this tutorial, you will have a good understanding of how nopCommerce is installed on Linux.
Preparation
To begin this tutorial you will need the following:
-
Linux VPS Hosting
You will need to have access to a Linux hosting account. Here are three recommended hosting providers. I have first hand experience with all of these 3 hosts, and I highly recommend them. As a guideline, if you are hosting a medium traffic site with around 5000 monthly visitors, I would suggest starting with 1 vCPU with 2GB RAM. It’s easy to monitor the resource usage with some Linux commands, so you can start with the basic setup, and add more CPU / RAM as you see fit. Go ahead and sign up for one. Note that all of the links are affiliate links. -
RackNerd: https://my.racknerd.com/aff.php?aff=3844 . At the time of writing, they have this awesome deals where you get 2 vCPU and 2GB RAM at only $24.98 per year (yes, just around $2 a month).
-
InterServer: https://www.interserver.net/vps?id=640958 . Make sure you use the coupon code VPSPENNY at the checkout to receive 50% off the first month.
-
Vultr: https://www.vultr.com/?ref=9031284-8H . Receive $100 in free credit for trying out their platforms.
-
An SSH Client
To connect to SSH, my favourite tool is MobaXterm. I will be using it throughout this tutorial. But you can use whichever SSH client you are most comfortable with.
You can download and install MobaXterm here. -
Read nopCommerce's documentation
This tutorial will explain nopCommerce’s official documentation on Installing on Linux in detail. Please read the original documentation. You do not need to do anything yet as I will walk you through those steps with detailed explanations in this tutorial.