NetCore部署到Linux服务器+Supervisor的步骤

安装nginx:参考https://www.cnblogs.com/songxingzhu/p/8568432.html

1.添加源:默认情况Centos7中没有Nginx源,最近Nginx官网提供了Centos的源地址。
sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
2.安装Nginx:通过yum search nginx看看是否已经添加源成功。如果成功则执行下列命令安装Nginx。
sudo yum install -y nginx
3.启动Nginx并设置开机自动运行
sudo systemctl start nginx.service
sudo systemctl enable nginx.service
4.浏览查看效果
在浏览器中输入您的服务器地址:http://x.x.x.x/

安装supervisor

安装netcore SDK

安装chrome+chromedriver

配置supervisor进程

猜你喜欢

转载自www.cnblogs.com/Gethin/p/10544793.html