A comprehensive collection of bash scripts for Linux system administration, monitoring, security, and deployment automation.
This repository contains modular, production-ready scripts for managing Linux systems, including Kubernetes deployment, system monitoring, backup automation, security checks, and network diagnostics.
├── backup/ # Backup and data preservation scripts
├── kubernetes/ # Kubernetes installation and management
├── monitoring/ # System health monitoring
├── network/ # Network diagnostics and testing
├── security/ # Security scanning and hardening
└── system/ # System setup and maintenance
- remote_backup.sh - Remote backup automation
- backup.conf - Backup configuration file
- kubernetes_installer.sh - Master node setup and installation
- kubernetes_worker_installer.sh - Worker node configuration
- kubernetes_health_checker.sh - Cluster health monitoring
- kubernetes.conf - Kubernetes configuration
- TELEGRAM_SETUP.md - Telegram notifications setup guide
- system_health_checker.sh - System resource and health monitoring
- network_speed_tester.sh - Network connectivity and speed testing
- system_security_checker.sh - Security vulnerability scanning and checks
- first_boot_setup.sh - Initial system configuration
- tool_installer.sh - Automated tool installation
-
Clone the repository
git clone https://github.com/maheshbhatiya73/linux_system_scripts.git cd linux_system_scripts -
Make scripts executable
chmod +x */*.sh
-
Run a script
./system/first_boot_setup.sh
Each script can be run individually. Refer to the specific module documentation for detailed usage instructions:
- See kubernetes/README.md for Kubernetes setup
- See kubernetes/TELEGRAM_SETUP.md for notifications
- Linux system (Ubuntu/Debian/CentOS)
- Bash 4.0+
- Root or sudo access (for most scripts)
- Internet connectivity (for package downloads)
Most scripts include configuration files (.conf) in their respective directories. Customize these files before running scripts:
# Edit configuration
nano backup/backup.conf
nano kubernetes/kubernetes.confWhen adding new scripts:
- Follow the existing naming conventions
- Include proper error handling and logging
- Add configuration files for complex scripts
- Document usage in module-specific README files
Check individual modules for licensing information.
For issues or questions, refer to the documentation in each module's README.