File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ echo " clean env"
4+
5+ sudo rm -fr BootstrapBlazor
6+
7+ sudo rm -fr /usr/local/ba
8+
9+ echo " apt update"
10+ sudo apt update
11+
12+ echo " install git"
13+ echo yes| sudo apt install git
14+
15+ echo " install BootstrapBlazor"
16+ sudo git clone https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
17+
18+ echo " make directory BA/Blazor"
19+ sudo mkdir /usr/local/ba
20+ sudo mkdir /usr/local/ba/blazor
21+
22+ echo " copy scripts"
23+ sudo cp BootstrapBlazor/scripts/linux/deploy-blazor.sh deploy-blazor.sh
24+ sudo cp BootstrapBlazor/scripts/linux/ba.blazor.service /usr/lib/systemd/system/ba.blazor.service
25+
26+ echo " install ba.blazor.service"
27+ sudo systemctl enable ba.blazor
28+
29+ echo " install nginx"
30+ echo yes| sudo apt install nginx
31+
32+ echo " copy nginx config"
33+ sudo cp BootstrapBlazor/scripts/linux/nginx.conf /etc/nginx/
34+
35+ echo " copy cert"
36+ sudo mkdir /etc/nginx/cert
37+ sudo cp BootstrapBlazor/scripts/linux/cert/* /etc/nginx/cert/
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ sudo rm -fr BootstrapBlazor
4+
5+ sudo rm -fr /usr/local/ba
You can’t perform that action at this time.
0 commit comments