mirror of https://github.com/1Panel-dev/1Panel
25 lines
536 B
Bash
25 lines
536 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
command -v wget >/dev/null || {
|
||
|
echo "wget not found, please install it and try again ."
|
||
|
exit 1
|
||
|
}
|
||
|
|
||
|
if [ ! -f "1pctl" ]; then
|
||
|
wget https://github.com/1Panel-dev/installer/raw/main/1pctl
|
||
|
fi
|
||
|
|
||
|
if [ ! -f "1panel.service" ]; then
|
||
|
wget https://github.com/1Panel-dev/installer/raw/main/1panel.service
|
||
|
fi
|
||
|
|
||
|
if [ ! -f "install.sh" ]; then
|
||
|
wget https://github.com/1Panel-dev/installer/raw/main/install.sh
|
||
|
fi
|
||
|
|
||
|
if [ ! -f "GeoIP.mmdb" ]; then
|
||
|
wget https://resource.1panel.hk/geo/GeoIP.mmdb
|
||
|
fi
|
||
|
|
||
|
chmod 755 1pctl install.sh
|