mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
remove apt upgrade and quotes from IP
This commit is contained in:
parent
41e11992c9
commit
b0c35acf3f
@ -2,8 +2,6 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt upgrade -y
|
|
||||||
|
|
||||||
sudo apt install -y git python3-pip python3-virtualenv nginx ffmpeg redis supervisor
|
sudo apt install -y git python3-pip python3-virtualenv nginx ffmpeg redis supervisor
|
||||||
|
|
||||||
if [[ -r /etc/os-release ]]; then
|
if [[ -r /etc/os-release ]]; then
|
||||||
@ -57,7 +55,7 @@ sudo service supervisor restart
|
|||||||
sudo systemctl enable mongod.service
|
sudo systemctl enable mongod.service
|
||||||
sudo service mongod start
|
sudo service mongod start
|
||||||
|
|
||||||
IP="$(dig +short txt ch whoami.cloudflare @1.0.0.1)"
|
IP=$(dig +short txt ch whoami.cloudflare @1.0.0.1)
|
||||||
echo
|
echo
|
||||||
echo "Setup complete! You should be able to access your taiko-web instance at http://$IP"
|
echo "Setup complete! You should be able to access your taiko-web instance at http://$IP"
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user