Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions scripts/linux/deploy.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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/
Expand All @@ -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
Expand Down