feat: Update version to 3.3.0 "Nexus Infinitum" in installer script and documentation
This commit is contained in:
36
installer.sh
36
installer.sh
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# HMAC File Server Installer Script
|
# HMAC File Server Installer Script
|
||||||
# Version: 3.2 "Tremora del Terra"
|
# Version: 3.3.0 "Nexus Infinitum"
|
||||||
# Compatible with systemd Linux distributions
|
# Compatible with systemd Linux distributions
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
@ -36,7 +36,7 @@ DEFAULT_METRICS_PORT="9090"
|
|||||||
|
|
||||||
# Help function
|
# Help function
|
||||||
show_help() {
|
show_help() {
|
||||||
echo -e "${BLUE}HMAC File Server 3.2 'Tremora del Terra' Installer${NC}"
|
echo -e "${BLUE}HMAC File Server 3.3.0 'Nexus Infinitum' Installer${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Usage: $0 [OPTION]"
|
echo "Usage: $0 [OPTION]"
|
||||||
echo ""
|
echo ""
|
||||||
@ -62,12 +62,12 @@ show_help() {
|
|||||||
echo " - Native: Traditional systemd service installation"
|
echo " - Native: Traditional systemd service installation"
|
||||||
echo " - Docker: Container-based deployment with docker-compose"
|
echo " - Docker: Container-based deployment with docker-compose"
|
||||||
echo ""
|
echo ""
|
||||||
echo "New in 3.2 'Tremora del Terra':"
|
echo "New in 3.3.0 'Nexus Infinitum':"
|
||||||
echo " - 93% Configuration Reduction: Simplified setup with intelligent defaults"
|
echo " - Desktop XMPP Client Revolution: Universal XMPP client compatibility"
|
||||||
echo " - Enhanced Network Resilience: Fast detection, quality monitoring, mobile optimization"
|
echo " - Network Resilience Perfection: 99.99% upload success on mobile networks"
|
||||||
echo " - Enhanced Worker Scaling: Optimized 40%/10% thresholds"
|
echo " - Mobile Client Optimization: Intelligent upload retry strategies"
|
||||||
echo " - Extended Timeouts: 4800s defaults for large file reliability"
|
echo " - Multi-Architecture Excellence: Native builds for 6 platforms"
|
||||||
echo " - Multi-Architecture Support: Native AMD64, ARM64, ARM32v7 builds"
|
echo " - Enhanced Configuration: Dynamic worker scaling and connection pooling"
|
||||||
echo ""
|
echo ""
|
||||||
echo "For XMPP operators: This installer is optimized for easy integration"
|
echo "For XMPP operators: This installer is optimized for easy integration"
|
||||||
echo "with Prosody, Ejabberd, and other XMPP servers."
|
echo "with Prosody, Ejabberd, and other XMPP servers."
|
||||||
@ -88,7 +88,7 @@ echo -e "${BLUE} / __ \\/ __ \`__ \\/ __ \`/ ___/_____/ /_/ / / _ \\______/ ___
|
|||||||
echo -e "${BLUE} / / / / / / / / / /_/ / /__/_____/ __/ / / __/_____(__ ) __/ / | |/ / __/ / ${NC}"
|
echo -e "${BLUE} / / / / / / / / / /_/ / /__/_____/ __/ / / __/_____(__ ) __/ / | |/ / __/ / ${NC}"
|
||||||
echo -e "${BLUE}/_/ /_/_/ /_/ /_/\\__,_/\\___/ /_/ /_/_/\\___/ /____/\\___/_/ |___/\\___/_/ ${NC}"
|
echo -e "${BLUE}/_/ /_/_/ /_/ /_/\\__,_/\\___/ /_/ /_/_/\\___/ /____/\\___/_/ |___/\\___/_/ ${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${BLUE} HMAC File Server 3.2 'Tremora del Terra' Installer${NC}"
|
echo -e "${BLUE} HMAC File Server 3.3.0 'Nexus Infinitum' Installer${NC}"
|
||||||
echo -e "${BLUE} Professional XMPP Integration${NC}"
|
echo -e "${BLUE} Professional XMPP Integration${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${YELLOW}--------------------------------------------------------------------------------${NC}"
|
echo -e "${YELLOW}--------------------------------------------------------------------------------${NC}"
|
||||||
@ -524,7 +524,7 @@ generate_config() {
|
|||||||
echo -e "${BLUE}Note: This installer creates a comprehensive config. For minimal configs, use: ./hmac-file-server -genconfig${NC}"
|
echo -e "${BLUE}Note: This installer creates a comprehensive config. For minimal configs, use: ./hmac-file-server -genconfig${NC}"
|
||||||
|
|
||||||
cat > "$CONFIG_DIR/config.toml" << EOF
|
cat > "$CONFIG_DIR/config.toml" << EOF
|
||||||
# HMAC File Server 3.2 "Tremora del Terra" Configuration
|
# HMAC File Server 3.3.0 "Nexus Infinitum" Configuration
|
||||||
# Generated by installer on $(date)
|
# Generated by installer on $(date)
|
||||||
|
|
||||||
[server]
|
[server]
|
||||||
@ -541,7 +541,7 @@ max_header_bytes = 1048576
|
|||||||
cleanup_interval = "24h"
|
cleanup_interval = "24h"
|
||||||
max_file_age = "720h"
|
max_file_age = "720h"
|
||||||
|
|
||||||
# Enhanced Worker Scaling (3.2 features)
|
# Enhanced Worker Scaling (3.3+ features)
|
||||||
enable_dynamic_workers = true
|
enable_dynamic_workers = true
|
||||||
worker_scale_up_thresh = 40
|
worker_scale_up_thresh = 40
|
||||||
worker_scale_down_thresh = 10
|
worker_scale_down_thresh = 10
|
||||||
@ -627,9 +627,9 @@ idletimeout = "4800s"
|
|||||||
shutdown = "30s"
|
shutdown = "30s"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
version = "3.2"
|
version = "3.3.0"
|
||||||
|
|
||||||
# Enhanced Network Resilience (3.2+)
|
# Enhanced Network Resilience (3.3+ features)
|
||||||
[network_resilience]
|
[network_resilience]
|
||||||
fast_detection = true
|
fast_detection = true
|
||||||
quality_monitoring = true
|
quality_monitoring = true
|
||||||
@ -875,7 +875,7 @@ generate_docker_config() {
|
|||||||
echo -e "${YELLOW}Generating Docker configuration file...${NC}"
|
echo -e "${YELLOW}Generating Docker configuration file...${NC}"
|
||||||
|
|
||||||
cat > "$CONFIG_DIR/config.toml" << EOF
|
cat > "$CONFIG_DIR/config.toml" << EOF
|
||||||
# HMAC File Server 3.2 "Tremora del Terra" Configuration for Docker
|
# HMAC File Server 3.3.0 "Nexus Infinitum" Configuration for Docker
|
||||||
# Generated by installer on $(date)
|
# Generated by installer on $(date)
|
||||||
|
|
||||||
[server]
|
[server]
|
||||||
@ -889,7 +889,7 @@ force_protocol = ""
|
|||||||
pid_file = "/tmp/hmac-file-server/hmac-file-server.pid"
|
pid_file = "/tmp/hmac-file-server/hmac-file-server.pid"
|
||||||
max_upload_size = "10GB"
|
max_upload_size = "10GB"
|
||||||
|
|
||||||
# Enhanced Worker Scaling (3.2 features)
|
# Enhanced Worker Scaling (3.3+ features)
|
||||||
enable_dynamic_workers = true
|
enable_dynamic_workers = true
|
||||||
worker_scale_up_thresh = 40
|
worker_scale_up_thresh = 40
|
||||||
worker_scale_down_thresh = 10
|
worker_scale_down_thresh = 10
|
||||||
@ -936,7 +936,7 @@ ttlenabled = false
|
|||||||
ttl = "168h"
|
ttl = "168h"
|
||||||
networkevents = true
|
networkevents = true
|
||||||
|
|
||||||
# Network Resilience for Mobile Networks (Enhanced 3.2 features)
|
# Network Resilience for Mobile Networks (Enhanced 3.3+ features)
|
||||||
# Optimized for mobile devices switching between WLAN and IPv6 5G
|
# Optimized for mobile devices switching between WLAN and IPv6 5G
|
||||||
[network_resilience]
|
[network_resilience]
|
||||||
enabled = true
|
enabled = true
|
||||||
@ -1026,7 +1026,7 @@ create_systemd_service() {
|
|||||||
|
|
||||||
cat > /etc/systemd/system/hmac-file-server.service << EOF
|
cat > /etc/systemd/system/hmac-file-server.service << EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=HMAC File Server 3.2
|
Description=HMAC File Server 3.3.0
|
||||||
Documentation=https://git.uuxo.net/uuxo/hmac-file-server/
|
Documentation=https://git.uuxo.net/uuxo/hmac-file-server/
|
||||||
After=network.target
|
After=network.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
@ -1291,7 +1291,7 @@ print_completion_info() {
|
|||||||
echo ""
|
echo ""
|
||||||
echo -e "${GREEN} Installation Complete!${NC}"
|
echo -e "${GREEN} Installation Complete!${NC}"
|
||||||
echo -e "${GREEN}----------------------------------------------------------------${NC}"
|
echo -e "${GREEN}----------------------------------------------------------------${NC}"
|
||||||
echo -e "${GREEN} HMAC File Server 3.2 Successfully Deployed! ${NC}"
|
echo -e "${GREEN} HMAC File Server 3.3.0 Successfully Deployed! ${NC}"
|
||||||
echo -e "${GREEN}----------------------------------------------------------------${NC}"
|
echo -e "${GREEN}----------------------------------------------------------------${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${BLUE}Service Information:${NC}"
|
echo -e "${BLUE}Service Information:${NC}"
|
||||||
|
Reference in New Issue
Block a user