前言
最近一直在开发部署。也没有总结一下。从5月份开始出差到现在基本没有发过博客,哎,惭愧。
一直在弄微服务,后续会慢慢更新下面这个系列。欢迎各位大佬交流指点。
1、.net core 2.2 环境准备
系统:SUSE 12 SP3
NET Core runtime: 2.2.1
这里可以参考我之前写的这篇博客
SUSE12Sp3-.NET Core 2.2.1 runtime安装
2、使用vs2019发布.netcoreapp2.2程序
然后上传至LINUX 服务器
3、安装配置nginx
这里可以参考我之前写的这篇博客
4、安装、配置Supervisor,来守护进程,并使用web管理
这里可以参考我之前写的这篇博客
SUSE12Sp3-Supervisor 守护.net core进程
web的效果图如下:
当然,这样只是显示一台服务器上面的服务信息。后期会补充一个将多台服务器的服务使用web来管理的。(Supervisord-Monitor)