Skip to content

nodefive/sysadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sysadmin - Master System Administration Script

sysadmin is a powerful and convenient Bash script designed to streamline common system administration tasks through an interactive menu-driven interface. It provides a quick overview of your server's health and allows you to manage various services and components with ease.

Features

  • Quick Look Dashboard: At a glance, see your server's load average, disk usage for the root partition, memory usage, and the status of key services like Nginx, MariaDB, PostgreSQL, Redis, Fail2ban, and Miniflux.
  • Modular Management: Access dedicated management modules for:
    • Nginx (web server)
    • Databases (MariaDB/PostgreSQL)
    • UFW (Uncomplicated Firewall)
    • Fail2ban (intrusion prevention)
    • Nextcloud (self-hosted cloud storage)
    • Miniflux (RSS reader)
    • System & Health (general system utilities)
    • Redis (in-memory data store)
    • Certbot & SSL (for managing TLS/SSL certificates)
  • Help & Documentation: Built-in access to help and documentation directly from the main menu.

Main Menu

The script presents a clear and interactive main menu. Upon launch, you'll see a dashboard with real-time server information, followed by the management options:

      =========================================
            MASTER SYSTEM ADMINISTRATION       
      =========================================
      --- SERVER QUICK LOOK ---
      Load: [load_average] | Disk: [disk_usage] | Mem: [memory_usage]
      Services: ● nginx  ● mariadb  ● postgresql  ● redis-server  ● fail2ban  ● miniflux  
      -------------------------
      1. Nginx Management
      2. Database Management (MariaDB/PgSQL)
      3. Firewall Management (UFW)
      4. Fail2ban Management
      5. Nextcloud Management
      6. Miniflux Management
      7. System & Health Management
      8. Redis Management
      9. Certbot & SSL Management
      H. Help / Documentation
      0. Exit
      =========================================
      Select a module: 

(Note: [load_average], [disk_usage], and [memory_usage] will be replaced with actual real-time data when the script runs.)

To navigate, simply enter the number or letter corresponding to your desired module and press Enter.

Installation

To get started with sysadmin, follow these steps:

  1. Clone the repository:

    git clone https://github.com/nodefive/sysadmin.git
    cd sysadmin
  2. Make the main script executable:

    chmod +x sysadmin
  3. Run the script:

    sysadmin

Prerequisites

  • Bash: The script is written in Bash and requires a Bash environment to run.
  • systemctl: Used for checking service statuses.
  • Standard Linux utilities: uptime, df, free, awk, clear, read, dirname, pwd, cd, source.

Make sure these are available on your system.

Usage

Simply run sysadmin from the project root. The main menu will appear, and you can select the desired management module. Most modules will then present their own sub-menus or options.

To exit the main menu, select option 0.

About

A powerful and convenient Bash script designed to streamline common system administration tasks through an interactive menu-driven interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages