How to Manage Linux, MySQL, Redis, and MongoDB with the Web Tool Mayfly-go
This article introduces the open‑source web platform Mayfly-go, explains its key features for Linux system, MySQL, PostgreSQL, Redis, and MongoDB management, provides step‑by‑step installation and configuration instructions, and demonstrates how to use its project, machine, database, and system administration capabilities.
Mayfly-go Overview
Mayfly-go is an open‑source web‑based unified management platform that provides Linux system management, database management (MySQL, PostgreSQL), Redis management, MongoDB management, and comprehensive permission and logging features.
Key Features
Linux system management: view system information, process management, and a built‑in web SSH terminal.
Database management: simplified Navicat‑like interface for MySQL and PostgreSQL.
Redis management: view service information and manage data.
MongoDB management: view collections and manage data.
System management: full permission control, logs, watermarks, and captcha settings.
Installation
Download the installation package from the official release page, upload it to a Linux server, and unzip it.
Edit
config.ymlto configure the MySQL connection:
<code>mysql:
host: localhost:3306
username: root
password: root
db-name: mayfly-go
config: charset=utf8&loc=Local&parseTime=true
max-idle-conns: 5
</code>Create the
mayfly-godatabase, import
mayfly-go.sql, and start the service with
startup.sh. Log in with
admin/admin123at
http://<em>your‑host</em>:8888.
Usage
Project Management
Create a project, configure its environment, and add members such as the super‑admin
admin.
Machine Management
Add a Linux server, then you can view status, open a web SSH terminal, manage files, scripts, and processes.
Database Management
Add a database resource, view tables, perform data operations, and execute SQL queries with syntax assistance.
Redis Management
Add a Redis resource, view server information, and manage data through the data‑operation interface.
MongoDB Management
Add a MongoDB resource, view databases and collections, and manage data similarly.
System Management
Manage accounts, roles, resources, view operation logs, and configure system settings such as watermarks and captchas.
Conclusion
Mayfly-go is a feature‑rich, one‑stop web management platform that enables administrators to manage Linux servers and various databases without installing client tools, while providing robust permission control and logging.
Reference
Official documentation: https://objs.gitee.io/mayfly-go-docs/
macrozheng
Dedicated to Java tech sharing and dissecting top open-source projects. Topics include Spring Boot, Spring Cloud, Docker, Kubernetes and more. Author’s GitHub project “mall” has 50K+ stars.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.