70 lines
1.1 KiB
Markdown
70 lines
1.1 KiB
Markdown
# 工具列表
|
|
|
|
## 🛠️ 已部署工具
|
|
|
|
### 1. Git 版本控制服务
|
|
|
|
**状态**: 🟢 运行中
|
|
|
|
#### 服务信息
|
|
| 服务 | 端口 | 访问地址 |
|
|
|------|------|----------|
|
|
| Gitea Web | 18003 | http://localhost:18003 |
|
|
| Git Daemon | 9418 | git://127.0.0.1:9418 |
|
|
|
|
#### 仓库列表
|
|
- **monitor-dashboard.git** - 监控网站代码仓库
|
|
|
|
#### 使用方法
|
|
|
|
**克隆仓库**:
|
|
```bash
|
|
# HTTP 方式(推荐)
|
|
git clone http://localhost:18003/monitor-dashboard.git
|
|
|
|
# Git 协议方式
|
|
git clone git://127.0.0.1:9418/monitor-dashboard.git
|
|
```
|
|
|
|
**提交代码**:
|
|
```bash
|
|
cd monitor-dashboard
|
|
git add .
|
|
git commit -m "修改说明"
|
|
git push origin master
|
|
```
|
|
|
|
**查看状态**:
|
|
```bash
|
|
git status
|
|
git log --oneline
|
|
```
|
|
|
|
#### 管理命令
|
|
|
|
**启动 Gitea**:
|
|
```bash
|
|
cd /home/phospher/gitea
|
|
./gitea web
|
|
```
|
|
|
|
**启动 Git Daemon**:
|
|
```bash
|
|
cd /home/phospher/git-repos
|
|
git daemon --reuseaddr --base-path=/home/phospher/git-repos \
|
|
--export-all --enable=receive-pack --listen=0.0.0.0 --port=9418 \
|
|
/home/phospher/git-repos &
|
|
```
|
|
|
|
---
|
|
|
|
## 📋 待部署工具
|
|
|
|
- [ ] CI/CD 工具
|
|
- [ ] 日志管理工具
|
|
- [ ] 监控告警工具
|
|
|
|
---
|
|
|
|
**最后更新**: 2026-04-01
|