Update install.sh
This commit is contained in:
parent
f809510f3b
commit
4d9f17981e
1 changed files with 5 additions and 10 deletions
|
@ -1,15 +1,14 @@
|
|||
#!/bin/bash
|
||||
MAIN_DIR="/alpha-x-panel/raw-repo"
|
||||
|
||||
apt install -y git
|
||||
cd /
|
||||
mkdir -p /alpha-x-panel/raw-repo
|
||||
git clone https://github.com/CloudVisionApps/AlphaXPanel.git /alpha-x-panel/raw-repo
|
||||
|
||||
|
||||
exit
|
||||
|
||||
MAIN_DIR="/AlphaXPanel"
|
||||
HELPERS_DIR=$MAIN_DIR"/shell/helpers/ubuntu"
|
||||
. $HELPERS_DIR"/common.sh"
|
||||
|
||||
exit
|
||||
|
||||
# Update the system
|
||||
apt update -y
|
||||
|
||||
|
@ -81,10 +80,6 @@ done
|
|||
systemctl start nginx
|
||||
systemctl enable nginx
|
||||
|
||||
|
||||
|
||||
|
||||
exit
|
||||
# Change NGINX index.html
|
||||
rm -rf /var/www/html/*
|
||||
cp $MAIN_DIR/samples/sample-index.html /var/www/html/index.html
|
||||
|
|
Loading…
Add table
Reference in a new issue