Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 4f21d3c

Browse files
authored
Update install-debian10.sh
1 parent aea1df4 commit 4f21d3c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

install-debian10.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ esac
3030

3131
echo "[I] Basic operations"
3232
apt update
33-
apt install curl wget -y
33+
apt install curl wget nano -y
3434

3535
echo "[I] Install Nginx & git"
3636
apt install nginx -y
@@ -83,11 +83,12 @@ rm -fR fastgit-tmp
8383

8484
# TODO: Put Cert
8585
mkdir -p /var/www/cert/
86-
echo "Please put cert(fg.pem) and key(fg.key) to /var/www/cert/"
87-
echo "Then reload nginx."
88-
echo "Thank you! :D"
86+
nano /var/www/cert/fg.pem
87+
nanp /var/www/cert/fg.key
8988

90-
# nginx -t
89+
nginx -t
9190

92-
# systemctl start nginx
93-
# systemctl reload nginx
91+
systemctl start nginx
92+
systemctl reload nginx
93+
94+
echo "Enjoy! :D"

0 commit comments

Comments
 (0)