update
This commit is contained in:
parent
bad95d0476
commit
49606d3454
6 changed files with 14 additions and 1 deletions
BIN
.DS_Store
vendored
BIN
.DS_Store
vendored
Binary file not shown.
0
dist/index.html
vendored
0
dist/index.html
vendored
|
@ -1,11 +1,17 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
MAIN_DIR="/AlphaXPanel"
|
MAIN_DIR="/AlphaXPanel"
|
||||||
HELPERS_DIR=$MAIN_DIR"/shell/helpers/ubuntu"
|
HELPERS_DIR=$MAIN_DIR"/shell/helpers/ubuntu"
|
||||||
. $HELPERS_DIR"/common.sh"
|
. $HELPERS_DIR"/common.sh"
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
# Update the system
|
# Update the system
|
||||||
apt update && apt upgrade -y
|
apt update -y
|
||||||
|
|
||||||
REPOSITORIES_LIST=(
|
REPOSITORIES_LIST=(
|
||||||
"ppa:ondrej/php"
|
"ppa:ondrej/php"
|
||||||
|
@ -75,6 +81,10 @@ done
|
||||||
systemctl start nginx
|
systemctl start nginx
|
||||||
systemctl enable nginx
|
systemctl enable nginx
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
exit
|
||||||
# Change NGINX index.html
|
# Change NGINX index.html
|
||||||
rm -rf /var/www/html/*
|
rm -rf /var/www/html/*
|
||||||
cp $MAIN_DIR/samples/sample-index.html /var/www/html/index.html
|
cp $MAIN_DIR/samples/sample-index.html /var/www/html/index.html
|
||||||
|
|
|
@ -45,4 +45,6 @@ if [[ ! -f $DISTRO_INSTALLER_FILE ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
wget
|
||||||
|
|
||||||
bash $DISTRO_INSTALLER_FILE
|
bash $DISTRO_INSTALLER_FILE
|
||||||
|
|
1
version.txt
Normal file
1
version.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
0.0.1
|
BIN
web/.DS_Store
vendored
BIN
web/.DS_Store
vendored
Binary file not shown.
Loading…
Reference in a new issue