|
@@ -1703,7 +1703,7 @@ if [ "$named" = 'yes' ]; then
|
|
|
systemctl restart apparmor >> $LOG
|
|
systemctl restart apparmor >> $LOG
|
|
|
fi
|
|
fi
|
|
|
fi
|
|
fi
|
|
|
- update-rc.d bind9 defaults
|
|
|
|
|
|
|
+ update-rc.d bind9 defaults > /dev/null 2>&1
|
|
|
systemctl start bind9
|
|
systemctl start bind9
|
|
|
|
|
|
|
|
check_result $? "bind9 start failed"
|
|
check_result $? "bind9 start failed"
|
|
@@ -1964,16 +1964,20 @@ echo "[ * ] Configuring File Manager..."
|
|
|
$HESTIA/bin/v-add-sys-filemanager quiet
|
|
$HESTIA/bin/v-add-sys-filemanager quiet
|
|
|
|
|
|
|
|
#----------------------------------------------------------#
|
|
#----------------------------------------------------------#
|
|
|
-# Configure PHPMailer #
|
|
|
|
|
|
|
+# Configure dependencies #
|
|
|
#----------------------------------------------------------#
|
|
#----------------------------------------------------------#
|
|
|
|
|
|
|
|
echo "[ * ] Configuring PHP dependencies..."
|
|
echo "[ * ] Configuring PHP dependencies..."
|
|
|
$HESTIA/bin/v-add-sys-dependencies quiet
|
|
$HESTIA/bin/v-add-sys-dependencies quiet
|
|
|
|
|
|
|
|
|
|
+echo "[ * ] Install Rclone"
|
|
|
|
|
+curl -s https://rclone.org/install.sh | bash > /dev/null 2>&1
|
|
|
|
|
+
|
|
|
#----------------------------------------------------------#
|
|
#----------------------------------------------------------#
|
|
|
# Configure IP #
|
|
# Configure IP #
|
|
|
#----------------------------------------------------------#
|
|
#----------------------------------------------------------#
|
|
|
|
|
|
|
|
|
|
+echo "[ * ] Configuring System IP..."
|
|
|
# Configuring system IPs
|
|
# Configuring system IPs
|
|
|
$HESTIA/bin/v-update-sys-ip > /dev/null 2>&1
|
|
$HESTIA/bin/v-update-sys-ip > /dev/null 2>&1
|
|
|
|
|
|
|
@@ -1987,7 +1991,6 @@ if [ "$iptables" = 'yes' ]; then
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
# Get public IP
|
|
# Get public IP
|
|
|
-echo "[ * ] Configuring System IP..."
|
|
|
|
|
pub_ip=$(curl --ipv4 -s https://ip.hestiacp.com/)
|
|
pub_ip=$(curl --ipv4 -s https://ip.hestiacp.com/)
|
|
|
if [ -n "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
|
|
if [ -n "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
|
|
|
if [ -e /etc/rc.local ]; then
|
|
if [ -e /etc/rc.local ]; then
|
|
@@ -2135,7 +2138,6 @@ fi' >> /root/.bashrc
|
|
|
# Hestia Access Info #
|
|
# Hestia Access Info #
|
|
|
#----------------------------------------------------------#
|
|
#----------------------------------------------------------#
|
|
|
|
|
|
|
|
-# Comparing hostname and IP
|
|
|
|
|
host_ip=$(host $servername | head -n 1 | awk '{print $NF}')
|
|
host_ip=$(host $servername | head -n 1 | awk '{print $NF}')
|
|
|
if [ "$host_ip" = "$ip" ]; then
|
|
if [ "$host_ip" = "$ip" ]; then
|
|
|
ip="$servername"
|
|
ip="$servername"
|
|
@@ -2152,9 +2154,12 @@ You have successfully installed Hestia Control Panel on your server.
|
|
|
|
|
|
|
|
Ready to get started? Log in using the following credentials:
|
|
Ready to get started? Log in using the following credentials:
|
|
|
|
|
|
|
|
- Admin URL: https://$ip:$port
|
|
|
|
|
- Username: admin
|
|
|
|
|
- Password: $displaypass
|
|
|
|
|
|
|
+ Admin URL: https://$servername:$port"
|
|
|
|
|
+if [ "$host_ip" != "$ip" ]; then
|
|
|
|
|
+ echo " Backup URL: https://$ip:$port"
|
|
|
|
|
+fi
|
|
|
|
|
+echo -e " Username: admin
|
|
|
|
|
+ Password: $displaypass
|
|
|
|
|
|
|
|
Thank you for choosing Hestia Control Panel to power your full stack web server,
|
|
Thank you for choosing Hestia Control Panel to power your full stack web server,
|
|
|
we hope that you enjoy using it as much as we do!
|
|
we hope that you enjoy using it as much as we do!
|