Linux CentOS7安装NET Core

sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
sudo yum update
sudo yum install dotnet-sdk-2.2-2.2.108-1

安装守护进程
yum install supervisor
systemctl enable supervisord.service
systemctl start supervisord.service
systemctl status supervisord.service
vi /etc/supervisord.conf(修改9001端口注释,打开防火墙,重启)
systemctl restart supervisord.service
参考:https://my.oschina.net/weidedong/blog/747428