Disable Webmin for openSUSE and update documentation
- Webmin not available in openSUSE Leap repositories - Skip Webmin installation prompt for openSUSE users - Update README to clarify Webmin availability - Provide manual installation instructions for openSUSE
This commit is contained in:
@@ -80,7 +80,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
||||
- **Netdata** for real-time system monitoring
|
||||
- **Jellyfin** media server for multimedia content
|
||||
- **Vaultwarden** for secure password management
|
||||
- **Webmin** web-based system administration interface
|
||||
- **Webmin** web-based system administration interface (Ubuntu/Debian/Fedora/Arch only)
|
||||
- **System Performance Tracking** with automatic reports
|
||||
- **Comprehensive Unit Testing** framework with extensive test coverage
|
||||
|
||||
@@ -151,7 +151,7 @@ The script guides you through an interactive configuration:
|
||||
- **Vaultwarden:** Password manager with security hardening (requires Docker, optional)
|
||||
- **Jellyfin:** Media server with modern GPG keys (requires Docker, optional)
|
||||
- **Portainer:** Docker management with HTTPS (requires Docker, optional)
|
||||
- **Webmin:** Web-based system administration interface (optional)
|
||||
- **Webmin:** Web-based system administration interface (Ubuntu/Debian/Fedora/Arch only, optional)
|
||||
- **Unattended Upgrades:** Automatic security updates (optional, disabled by default)
|
||||
|
||||
### User Configuration
|
||||
|
||||
@@ -28,10 +28,14 @@ install_webmin() {
|
||||
handle_error sudo dnf install -y webmin
|
||||
;;
|
||||
opensuse)
|
||||
# Add Webmin repository
|
||||
handle_error sudo zypper addrepo -f https://download.webmin.com/download/yum/webmin-suse.repo
|
||||
handle_error sudo zypper refresh
|
||||
handle_error sudo zypper install -y webmin
|
||||
# Webmin is not available in official openSUSE Leap repositories
|
||||
# For openSUSE, Webmin needs to be installed manually or from third-party repos
|
||||
log_warning "Webmin is not available in official openSUSE Leap repositories"
|
||||
log_info "To install Webmin on openSUSE manually:"
|
||||
log_info "1. Download from https://www.webmin.com/download.html"
|
||||
log_info "2. Follow the manual installation instructions"
|
||||
log_info "3. Webmin will be available at https://your-server:10000"
|
||||
return 1
|
||||
;;
|
||||
arch)
|
||||
# Webmin is available in AUR
|
||||
|
||||
8
setup.sh
8
setup.sh
@@ -364,7 +364,13 @@ create_interactive_config() {
|
||||
# Automatic updates (optional)
|
||||
save_config "ENABLE_AUTO_UPDATES" "$(ask_yes_no "Enable automatic security updates (unattended-upgrades)?" "n" && echo "true" || echo "false")"
|
||||
|
||||
save_config "INSTALL_WEBMIN" "$(ask_yes_no "Install Webmin web interface?" "n" && echo "true" || echo "false")"
|
||||
# Webmin (not available on openSUSE)
|
||||
if [[ "$DISTRO" == "opensuse" ]]; then
|
||||
log_info "Webmin is not available for openSUSE Leap - skipping"
|
||||
save_config "INSTALL_WEBMIN" "false"
|
||||
else
|
||||
save_config "INSTALL_WEBMIN" "$(ask_yes_no "Install Webmin web interface?" "n" && echo "true" || echo "false")"
|
||||
fi
|
||||
|
||||
log_success "Configuration created and saved to ${CONFIG_FILE}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user