Skip to content

yeferson59/scripts-server

Repository files navigation

Server Management Scripts

Overview

A comprehensive collection of scripts for managing, monitoring, and securing server infrastructure.

Features

  • Security hardening and monitoring
  • Docker container management
  • System maintenance automation
  • User access control
  • Backup and recovery
  • Performance optimization
  • Configuration management
  • Monitoring and alerts

Configuration

  1. Initial setup:

    ./install.sh --init
  2. Configure components:

    # Configure security
    ./security/core/secure-server.sh --configure
    
    # Configure monitoring
    ./monitoring/monitor-system.sh --configure
    
    # Configure maintenance
    ./maintenance/cleanup-system.sh --configure
  3. Verify configuration:

    ./install.sh --verify

Usage

  1. Security management:

    # Run security audit
    ./security/core/security-audit.sh
    
    # Configure firewall
    ./security/firewall/manage-firewall.sh
  2. System maintenance:

    # Cleanup system
    ./maintenance/cleanup-system.sh
    
    # Monitor resources
    ./monitoring/monitor-system.sh
  3. User management:

    # Create new user
    ./users/create-user.sh --create username
    
    # Manage permissions
    ./users/create-user.sh --modify-perms username

Directory Structure

  • backup/ - Backup and recovery scripts
  • config/ - Configuration management
  • docker/ - Docker container management
  • lib/ - Common library functions
  • maintenance/ - System maintenance scripts
  • monitoring/ - System monitoring tools
  • security/ - Security hardening and monitoring
  • users/ - User management utilities

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages