I would like to configure the publish from Visual Studio 2017 to be able to publish my Asp.Net Core 2.0 web site to my Ubuntu 17.10.1 server running Apache.
Most of my googling explains how to copy the compiled code using SSH or such to the Ubuntu machine or even copy the code over and then use dotnet publish
, but I found this does too any steps for a single deployment.
Does someone out there know how can I use/configure Publish...
from Visual Studio to deploy my site on my Ubuntu server running ?
As a side note, right now, my site works with the following configuration, but I'm willing to change if that helps my case, as I have root access to Ubuntu:
- Web site is configured with Kestrel behind Apache in proxy.
- I copied my code over to the Ubuntu server and publish to get the dlls.
- I created a service to run Kestrel