Skip to content

nodefive/sysadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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.

License

MIT License — Copyright (c) 2025 nodefive

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

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

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages