From c78c733009df83b05b8bf05ddb3dea455f5aa51a Mon Sep 17 00:00:00 2001 From: twothatit Date: Sun, 8 Feb 2026 17:34:05 +0100 Subject: [PATCH] Simplify install.sh system checks: remove RAM check, lower disk threshold to 50GB Co-Authored-By: Claude Opus 4.6 --- install.sh | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/install.sh b/install.sh index 4285448..8342e34 100644 --- a/install.sh +++ b/install.sh @@ -55,29 +55,14 @@ echo -e "${BLUE}${BOLD}[Step 1/10]${NC} ${BLUE}Checking system requirements...${ # Check CPU cores CPU_CORES=$(nproc) echo -e "CPU Cores: ${CYAN}$CPU_CORES${NC}" -if [ "$CPU_CORES" -lt 4 ]; then - echo -e "${YELLOW}Warning: Only $CPU_CORES CPU cores detected.${NC}" - echo -e "${YELLOW} Minimum 8 cores recommended for 100 customers.${NC}" -else - echo -e "${GREEN}✓ CPU cores: Sufficient${NC}" -fi - -# Check RAM -TOTAL_RAM=$(free -g | awk '/^Mem:/{print $2}') -echo -e "RAM: ${CYAN}${TOTAL_RAM}GB${NC}" -if [ "$TOTAL_RAM" -lt 32 ]; then - echo -e "${YELLOW}Warning: Only ${TOTAL_RAM}GB RAM detected.${NC}" - echo -e "${YELLOW} Minimum 64GB recommended for 100 customers.${NC}" -else - echo -e "${GREEN}✓ RAM: Sufficient${NC}" -fi +echo -e "${GREEN}✓ CPU cores detected${NC}" # Check disk space DISK_SPACE=$(df -BG / | awk 'NR==2 {print $4}' | sed 's/G//') echo -e "Free Disk Space: ${CYAN}${DISK_SPACE}GB${NC}" -if [ "$DISK_SPACE" -lt 200 ]; then +if [ "$DISK_SPACE" -lt 50 ]; then echo -e "${YELLOW}Warning: Only ${DISK_SPACE}GB free disk space.${NC}" - echo -e "${YELLOW} Minimum 500GB recommended.${NC}" + echo -e "${YELLOW} At least 50GB recommended.${NC}" else echo -e "${GREEN}✓ Disk space: Sufficient${NC}" fi