简体   繁体   English

vsts在Linux上发布dotnet核心

[英]vsts release dotnet core on Linux

I'm trying to deploy a dotnet core application on a Linux server (CentOS) 我正在尝试在Linux服务器(CentOS)上部署dotnet核心应用程序

I'm currently using a Command Line Script, but the script will never end because the application keeps running 我当前正在使用命令行脚本,但是该脚本将永远不会结束,因为该应用程序将继续运行

What is the appropriate method of running a dotnet core application on Linux from a vsts agent? 通过vsts代理在Linux上运行dotnet核心应用程序的合适方法是什么?

在此处输入图片说明

thanks in advance 提前致谢

Before deploying .net core app to Linux, you need to configure your ASP.NET Core Site With Nginx, then deploying the .net core app to Linux. 在将.net core应用程序部署到Linux之前,您需要使用Nginx配置ASP.NET Core站点,然后将.net core应用程序部署到Linux。

For detail configurations, you can refer the document Host ASP.NET Core on Linux with Nginx (as harmoniemand mentions). 有关详细的配置,您可以参考文档Nginx上的Linux上的Host ASP.NET Core (如harmoniemand所述)。 Or you can refer the blogs Hosting .Net Core On Linux and Deploying .NET Core To Linux . 或者,您可以参考有关在Linux上托管.Net Core并将Linux 部署.NET Core的博客。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM