From 5292fb685bf59913f762a224b67f18c632ba8914 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Tue, 11 Mar 2025 16:19:33 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20deploy.sh=20?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/linux/deploy.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/linux/deploy.sh b/scripts/linux/deploy.sh index 07530f687c8..13db7fd2a85 100644 --- a/scripts/linux/deploy.sh +++ b/scripts/linux/deploy.sh @@ -1,4 +1,5 @@ #! /bin/bash +# wget https://raw.githubusercontent.com/dotnetcore/BootstrapBlazor/refs/heads/main/scripts/linux/deploy.sh echo "*********************** clean env ***********************" sudo rm -fr BootstrapBlazor @@ -8,7 +9,7 @@ echo "*********************** apt update ***********************" sudo apt update echo "*********************** install git ***********************" -echo yes|sudo apt install git +yes|sudo apt install git echo "*********************** install BootstrapBlazor ***********************" sudo git clone https://gitee.com/LongbowEnterprise/BootstrapBlazor.git @@ -25,7 +26,7 @@ echo "*********************** install ba.blazor.service ***********************" sudo systemctl enable ba.blazor echo "*********************** install nginx ***********************" -echo yes|sudo apt install nginx +yes|sudo apt install nginx echo "*********************** copy nginx config ***********************" sudo cp BootstrapBlazor/scripts/linux/nginx.conf /etc/nginx/ @@ -36,7 +37,7 @@ sudo cp BootstrapBlazor/scripts/linux/cert/* /etc/nginx/cert/ echo "*********************** install chrome ***********************" wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -sudo yes|sudo apt install ./google-chrome-stable_current_amd64.deb +yes|sudo apt install ./google-chrome-stable_current_amd64.deb echo "*********************** install support font ***********************" sudo apt install fonts-wqy-microhei