{"id":15049850,"url":"https://github.com/shfshanyue/op-note","last_synced_at":"2025-04-04T18:10:13.211Z","repository":{"id":86538818,"uuid":"214424215","full_name":"shfshanyue/op-note","owner":"shfshanyue","description":"该仓库已迁移至我的博客 https://github.com/shfshanyue/blog/tree/master/op","archived":false,"fork":false,"pushed_at":"2021-09-17T05:50:41.000Z","size":8691,"stargazers_count":809,"open_issues_count":3,"forks_count":76,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-28T17:11:34.794Z","etag":null,"topics":["ansible","docker","gitlab","k8s","linux"],"latest_commit_sha":null,"homepage":"https://shanyue.tech/op/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shfshanyue.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-11T11:56:38.000Z","updated_at":"2025-03-10T18:01:35.000Z","dependencies_parsed_at":"2023-03-10T20:15:22.874Z","dependency_job_id":null,"html_url":"https://github.com/shfshanyue/op-note","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shfshanyue%2Fop-note","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shfshanyue%2Fop-note/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shfshanyue%2Fop-note/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shfshanyue%2Fop-note/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shfshanyue","download_url":"https://codeload.github.com/shfshanyue/op-note/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226215,"owners_count":20904465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","docker","gitlab","k8s","linux"],"created_at":"2024-09-24T21:23:12.713Z","updated_at":"2025-04-04T18:10:13.189Z","avatar_url":"https://github.com/shfshanyue.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 当我有服务器时我做了什么 · \u003csmall\u003e个人服务器运维指南\u003c/small\u003e\n\n\u003e 该仓库已迁移至我的博客 \u003chttps://github.com/shfshanyue/blog/tree/master/op\u003e\n\n## 预览\n\n### 窗口管理\n\n![窗口管理](./assets/dev-env.png)\n\n### 服务管理\n\n![服务管理](https://raw.githubusercontent.com/shfshanyue/graph/master/draw/docker-compose.jpg)\n\n## 目录\n\n\u003e 本系列文章所有容器的配置文件在 [compose目录](https://github.com/shfshanyue/op-note/tree/master/compose)\n\n1. 序\n    1. [序·当我有一台服务器时我做了什么](https://shanyue.tech/op/when-server.html)\n    1. [序·当我有一台服务器时我做了什么(2019)](https://shanyue.tech/op/when-server-2019.html)\n1. 服务器初始化配置\n    1. [高效简单的服务器登录配置](./init.md)\n    1. [服务器上 git 安装及基本配置](./git.md)\n    1. [服务器上 ssh key 管理及 github 配置](./ssh-setting.md)\n    1. [服务器基本指标信息查看及命令](./system-info.md)\n    1. [tmux 与服务器终端多窗口管理](https://shanyue.tech/op/tmux-setting.html)\n    1. [vim 基本操作及配置](https://shanyue.tech/op/vim-setting.html)\n1. 自动化运维\n    1. [ansible 简易入门](https://shanyue.tech/op/ansible-guide.html)\n1. 了解 docker \n    1. [docker 简易入门](https://shanyue.tech/op/docker.html)\n    1. [Dockerfile 最佳实践](https://shanyue.tech/op/dockerfile-practice.html)\n    1. [案例: 使用 docker 高效部署前端应用](https://shanyue.tech/op/deploy-fe-with-docker.html)\n1. 使用 docker compose 编排容器\n    1. [docker compose 编排架构简介](https://shanyue.tech/op/docker-compose-arch.html)\n    1. [docker compose 简易入门](https://shanyue.tech/op/docker-compose.html)\n    1. [使用 traefik 做反向代理](https://shanyue.tech/op/traefik.html)\n    1. [使用 traefik 自动生成 https 的证书](https://shanyue.tech/op/traefik-https.html)\n    1. [使用 dnsmasq 搭建本地 DNS 服务](https://shanyue.tech/op/dnsmasq.html)\n    1. [使用 openvpn 访问内部集群私有服务](https://shanyue.tech/op/openvpn.html)\n    1. [使用 postgres 做数据存储](https://shanyue.tech/op/deploy-postgres.html)\n    1. [使用 redis 做缓存服务](https://shanyue.tech/op/deploy-redis.html)\n    1. [使用 sentry 做异常监控](https://shanyue.tech/op/deploy-sentry.html)\n    1. [案例：黑客增长 - 从博客向公众号引流](https://shanyue.tech/op/blog-to-wechat.html)\n    1. [案例：黑客增长 - 使用公众号开发模拟面试](https://shanyue.tech/op/wechat-interview.html)\n1. 服务器及容器监控\n    1. [linux 各项监控指标](https://shanyue.tech/op/linux-monitor.html)\n    1. [使用 htop 监控进程指标](https://shanyue.tech/op/htop.html)\n    1. [使用 ctop 监控容器指标](https://shanyue.tech/op/ctop.html)\n1. 高频 linux 命令\n    1. [sed 命令详解及示例](https://shanyue.tech/op/linux-sed.html)\n    1. [awk 命令详解及示例](https://shanyue.tech/op/linux-awk.html)\n    1. [jq 命令详解及示例](https://shanyue.tech/op/jq.html)\n    1. [iptables 命令详解及示例](https://shanyue.tech/op/iptables.html) - TODO\n    1. [tcpdump 命令详解及示例](https://shanyue.tech/op/linux-tcpdump.html)\n    1. [htop 命令详解及示例](https://shanyue.tech/op/htop.html) - TODO\n    1. [案例: 使用jq与sed制作掘金面试文章榜单](https://shanyue.tech/op/jq-sed-case.html)\n\n### TODO\n\n1. 为何需要一套 Linux 环境\n\n## 关注我\n\n我是山月，我会定期分享文章在个人公众号【全栈成长之路】中。你可以添加我微信 `shanyue94` 或者在公众号中联系我，添加好友时回复 **个人服务器** 可以拉你进个人服务器运维交流群。\n\n如果你没有服务器，可以在华为云或者阿里云新购一台服务器作为实践，对于新手有以下优惠\n\n+ [阿里云](https://www.aliyun.com/1111/pintuan-share?ptCode=MTY5MzQ0Mjc1MzQyODAwMHx8MTE0fDE%3D\u0026userCode=4sm8juxu)\n\n![](https://shanyue.tech/wechat.jpeg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshfshanyue%2Fop-note","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshfshanyue%2Fop-note","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshfshanyue%2Fop-note/lists"}