Add progress descriptions to install.sh for slow connections
Each major install step now shows what it does and how long to expect: - System update: 2-10 min on fresh servers - Security tools: under a minute - Docker: 1-3 min (largest download) - Clone: a few seconds Updated guide.md terminal output to match. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -72,12 +72,15 @@ echo "────────────────────────
|
||||
|
||||
# Update system packages
|
||||
echo "Updating system packages..."
|
||||
echo " Downloading the latest security patches for your operating system."
|
||||
echo " On a fresh server this can take 2-10 minutes. Sit tight."
|
||||
$SUDO apt-get update -qq
|
||||
$SUDO apt-get upgrade -y -qq
|
||||
echo "System packages updated."
|
||||
|
||||
# Install firewall, fail2ban, and automatic updates
|
||||
echo "Installing firewall, fail2ban, and automatic updates..."
|
||||
echo "Installing security tools (firewall, fail2ban, auto-updates)..."
|
||||
echo " These protect your server from common attacks. Usually under a minute."
|
||||
$SUDO apt-get install -y -qq ufw fail2ban unattended-upgrades
|
||||
|
||||
# Configure firewall — allow SSH first to avoid lockout
|
||||
@@ -147,6 +150,8 @@ if command -v docker &>/dev/null; then
|
||||
echo "Docker is already installed."
|
||||
else
|
||||
echo "Installing Docker..."
|
||||
echo " Docker packages and runs your website in isolated containers."
|
||||
echo " This is the largest download — usually takes 1-3 minutes."
|
||||
|
||||
# Install prerequisites
|
||||
$SUDO apt-get update -qq
|
||||
@@ -197,6 +202,7 @@ if [ -d "$INSTALL_DIR" ]; then
|
||||
git pull || true
|
||||
else
|
||||
echo "Cloning WebsiteBox..."
|
||||
echo " Downloading the project files from GitHub. Just a few seconds."
|
||||
git clone https://github.com/websitebox/websitebox.git "$INSTALL_DIR"
|
||||
cd "$INSTALL_DIR"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user