diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000000000000000000000000000000000000..86b76744910f0890bf28901eb5ed0e3407f40832 --- /dev/null +++ b/README.en.md @@ -0,0 +1,76 @@ +# All-In-One-Ops Open Source Operations Toolkit + +## Project Overview +All-In-One-Ops is a comprehensive automation toolkit for operations, providing an end-to-end solution from environment configuration to service deployment. The project includes the following core modules: + +- **Environment Configuration**: Supports rapid deployment of development environments such as JDK, Maven, NVM, Python, etc. +- **Service Deployment**: Automates deployment of commonly used services including Jenkins, Harbor, MySQL, Redis, Kafka, and more. +- **System Management**: Provides system-level tools for disk management, network configuration, and security hardening. +- **Containerization Support**: Includes installation and configuration of Docker and Docker Compose, along with containerized deployment solutions for common services. +- **Kubernetes Integration**: Offers tools for K8s cluster deployment validation and resource management. +- **Ansible Playbooks**: Contains automation playbooks for deploying services such as MySQL and Redis. + +## Key Features +- Multi-OS Support: Compatible with the full range of RHEL/CentOS/Rocky/Alma/Amazon Linux/Alibaba Cloud Linux/Debian/Ubuntu. +- Intelligent Detection: Automatically identifies the system type and selects the optimal installation method. +- China Optimization: Automatically uses domestic mirror sources to accelerate downloads. +- Security Hardening: Includes security configuration recommendations and vulnerability scanning tools. +- One-Click Deployment: Deploy complex service clusters with a single script execution. + +## Quick Start +1. Clone the repository +```bash +git clone https://gitee.com/attacker/All-In-One-Ops.git +``` + +2. Navigate to the project directory +```bash +cd All-In-One-Ops +``` + +3. Execute the desired script, for example, to deploy Jenkins: +```bash +chmod +x scripts/services/jenkins.sh +./scripts/services/jenkins.sh +``` + +## Usage Examples +### Deploy Jenkins Service +```bash +./scripts/services/jenkins.sh +``` + +### Install MySQL 8 +```bash +./scripts/services/mysql8.sh +``` + +### Deploy Redis Cluster +```bash +./scripts/services/redis_cluster.sh +``` + +### Configure Docker Environment +```bash +chmod +x docker/docker-install.sh +./docker/docker-install.sh +``` + +## Documentation Resources +- [Docker Deployment Guide](2.docker/3.1 docker.md) +- [Kubernetes Deployment Guide](3.kubernetes/k8s.sh) +- [Ansible Playbook Usage Guide](5.ansible/README.md) +- [Redis Cluster Deployment Guide](5.ansible/playbooks/REDIS-CLUSTER-GUIDE.md) +- [MySQL 8 Deployment Guide](5.ansible/playbooks/MYSQL-GUIDE.md) + +## Contribution Guidelines +1. Fork the repository +2. Create a new branch +3. Submit code changes +4. Open a Pull Request + +## License +This project is licensed under the Apache-2.0 License. For details, see the LICENSE file. + +## Author +Maintained by @attacker, actively updated. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..faacc18ffdb07f27edb8f878b18c8f6a7d386e83 --- /dev/null +++ b/README.md @@ -0,0 +1,76 @@ +# All-In-One-Ops 开源运维工具集 + +## 项目简介 +All-In-One-Ops 是一个全面的运维自动化工具集,提供从环境配置到服务部署的完整解决方案。项目包含以下核心功能模块: + +- **环境配置**:支持JDK、Maven、NVM、Python等开发环境的快速部署 +- **服务部署**:涵盖Jenkins、Harbor、MySQL、Redis、Kafka等常用服务的自动化部署 +- **系统管理**:提供磁盘管理、网络配置、安全加固等系统级操作工具 +- **容器化支持**:包含Docker和Docker Compose的安装配置及常用服务容器化部署方案 +- **Kubernetes集成**:提供K8s集群部署检查和资源管理工具 +- **Ansible Playbook**:包含MySQL、Redis等服务的自动化部署剧本 + +## 主要特性 +- 多操作系统支持:兼容RHEL/CentOS/Rocky/Alma/Amazon Linux/阿里云 Linux/Debian/Ubuntu全系列 +- 智能检测:自动识别系统类型并选择最适合的安装方案 +- 国内优化:自动选择国内镜像源提升下载速度 +- 安全加固:包含安全配置建议和漏洞扫描工具 +- 一键部署:复杂服务集群部署只需简单执行脚本 + +## 快速开始 +1. 克隆仓库 +```bash +git clone https://gitee.com/attacker/All-In-One-Ops.git +``` + +2. 进入项目目录 +```bash +cd All-In-One-Ops +``` + +3. 根据需要执行对应脚本,例如部署Jenkins: +```bash +chmod +x scripts/services/jenkins.sh +./scripts/services/jenkins.sh +``` + +## 使用示例 +### 部署Jenkins服务 +```bash +./scripts/services/jenkins.sh +``` + +### 安装MySQL 8 +```bash +./scripts/services/mysql8.sh +``` + +### 部署Redis集群 +```bash +./scripts/services/redis_cluster.sh +``` + +### 配置Docker环境 +```bash +chmod +x docker/docker-install.sh +./docker/docker-install.sh +``` + +## 文档资源 +- [Docker部署指南](2.docker/3.1 docker.md) +- [Kubernetes部署指南](3.kubernetes/k8s.sh) +- [Ansible Playbook使用说明](5.ansible/README.md) +- [Redis集群部署指南](5.ansible/playbooks/REDIS-CLUSTER-GUIDE.md) +- [MySQL 8部署指南](5.ansible/playbooks/MYSQL-GUIDE.md) + +## 贡献指南 +1. Fork仓库 +2. 创建新分支 +3. 提交代码修改 +4. 创建Pull Request + +## 许可证 +本项目采用Apache-2.0 License协议,详细信息请参见LICENSE文件。 + +## 作者信息 +本项目由@attacker维护,持续更新中。 \ No newline at end of file