Hey Guys,
Its been awhile since I've been here. I found out Nop works with Linux, so I want to install it on my box.
Apache/2.4.41 (Ubuntu)
Database client version: libmysql - mysqlnd 7.4.3
PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
PHP version: 7.4.3
I installed using the instructions and Installed the .NET Core Runtime,
<------------------------------------------------------------------------------------------------------------------------------------->
Microsoft.AspNetCore.App 3.1.7 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.7 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
<------------------------------------------------------------------------------------------------------------------------------------->
Install the nginx package: SKIPPED because I have Apache2
<------------------------------------------------------------------------------------------------------------------------------------->
sudo systemctl status nginx changed to:
sudo systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-08-17 11:35:54 EDT; 2h 22min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 17828 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 17843 (apache2)
Tasks: 11 (limit: 309451)
Memory: 94.7M
CGroup: /system.slice/apache2.service
├─17843 /usr/sbin/apache2 -k start
├─17844 /usr/sbin/apache2 -k start
├─17845 /usr/sbin/apache2 -k start
├─17847 /usr/sbin/apache2 -k start
├─17919 /usr/sbin/apache2 -k start
├─78123 /usr/sbin/apache2 -k start
├─93470 /usr/sbin/apache2 -k start
├─93475 /usr/sbin/apache2 -k start
├─93476 /usr/sbin/apache2 -k start
├─95648 /usr/sbin/apache2 -k start
└─95723 /usr/sbin/apache2 -k start
<---------------------------------------------------------------------------------------------------------------------------------------->
To configure nginx as a reverse proxy to forward requests to your ASP.NET Core app, modify /etc/nginx/sites-available/default. Open it in a text editor and replace the contents with the following:
I went to /etc/apache2/sites-available/MYWEBSITE.com
This is what I have listed below;
<VirtualHost 192.168.2.100:80>
DocumentRoot "/var/www/MYWEBSITE.com"
ServerName MYWEBSITE.com
<Directory "/var/www/MYWEBSITE.com">
allow from all
Options None
Require all granted
</Directory>
</VirtualHost>
<------------------------------------------------------------------------------------------------------------------------------>
This configurations works with Linux based sites but...,
What changes do I have to make so that the nop installation will continue instead of a redirect to another site I have. I do not have ssl installed yet but will once I get in. Also I didn't create create the database yet in mysql.
Thanks,
Mike