ubuntu 宝塔nginx 配置asp.net core网站 阿里云devops 流水线服务器设置

浪淘沙2年前服务器400

1、配置流水线 linux 新接主机 Runnet

01.png

mkdir -p /tmp/aliyun/yunxiao-runner && wget http://agent-install-cn-beijing.oss-cn-beijing.aliyuncs.com/install_linux.sh -O /tmp/aliyun/yunxiao-runner/install.sh&& sh /tmp/aliyun/yunxiao-runner/install.sh -v 'v0.1.2' -e 'http://agent-install-cn-beijing.oss-cn-beijing.aliyuncs.com' -t 'be-sgjpgdmyynjh9kps7syx2yae' -a 'mkYQo6BcfOqkipQdwytb' -w 'https://devops-build-new.aliyuncs.com' -s '5' -c '50' -r 'URuvUQm4QLtInbiz'

2、宝塔面板 www目录下,设置域名目录

image.png

3、流水线设置布署脚本

image.png

tar zxvf /home/admin/app/package.tgz -C /www/wwwroot/x.opent.cn


进程重启

systemctl restart supervisord


4、宝塔面板建立静态网站

PHP版本:静态


image.png


5、设置站点反向代理

目标URL:http://localhost:5000  发送域名:对外访问的域名:x.opent.cn


image.png


6、Supervisor 进程守护

dotnet xxtsoftMain.dll


image.png

相关文章

iis发布

publish.zip文件...

iis发布

publish.zip文件...

Ubuntu 22.04 安装桌面

安装 GNOME 桌面环境GNOME 是 Ubuntu 的默认桌面环境。要安装它,可以使用以下命令:sudo apt update sudo apt inst...

ubuntu 验证码 无法加载问题 gdiplus错误

Internal Server: Unable to load shared library 'gdiplus'&...

ubuntu 宝塔 Supervisor asp.net core

ubuntu 宝塔 Supervisor asp.net core

dotnet xxtsoftMain.dll...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。