From 901d1b917dfc68b017caeed421e08db57ccab68c Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Fri, 11 Apr 2025 16:29:10 -0400 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/config.mts | 15 +++++++++++++++ devops/database/_sidebar.md | 2 -- devops/database/postgresql.md | 11 ----------- .../_index.md => src/dev-ops/database/index.md | 0 {devops => src/dev-ops}/database/mariadb.md | 0 src/dev-ops/database/postgresql.md | 6 ++++++ .../database/_index.md => src/dev-ops/index.md | 0 {devops => src/dev-ops}/os/linux.md | 0 src/index.md | 2 +- .../organization-foundation}/hl7.md | 0 {tech-stack => src/tech-stack}/fhir.md | 0 {tech-stack => src/tech-stack}/jwt/README.md | 0 .../message-pack/_images/messagepack-logo.jpg | Bin .../tech-stack}/message-pack/index.md | 0 .../_images/protocol-buffers-logo.jpg | Bin .../_images/protocol-buffers-serialization.png | Bin .../tech-stack}/protocol-buffers/index.md | 0 .../tech-stack}/protocol-buffers/installation.md | 0 18 files changed, 22 insertions(+), 14 deletions(-) delete mode 100644 devops/database/_sidebar.md delete mode 100644 devops/database/postgresql.md rename devops/_index.md => src/dev-ops/database/index.md (100%) rename {devops => src/dev-ops}/database/mariadb.md (100%) create mode 100644 src/dev-ops/database/postgresql.md rename devops/database/_index.md => src/dev-ops/index.md (100%) rename {devops => src/dev-ops}/os/linux.md (100%) rename {organization-foundation => src/organization-foundation}/hl7.md (100%) rename {tech-stack => src/tech-stack}/fhir.md (100%) rename {tech-stack => src/tech-stack}/jwt/README.md (100%) rename {tech-stack => src/tech-stack}/message-pack/_images/messagepack-logo.jpg (100%) rename {tech-stack => src/tech-stack}/message-pack/index.md (100%) rename {tech-stack => src/tech-stack}/protocol-buffers/_images/protocol-buffers-logo.jpg (100%) rename {tech-stack => src/tech-stack}/protocol-buffers/_images/protocol-buffers-serialization.png (100%) rename {tech-stack => src/tech-stack}/protocol-buffers/index.md (100%) rename {tech-stack => src/tech-stack}/protocol-buffers/installation.md (100%) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 32ea4cc..8ff9135 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -49,6 +49,21 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= }, ] }, + { + text: 'DevOps', + collapsed: true, + link: '/dev-ops/', + items: [ + {text: 'OS', link: '/dev-ops/os/linux'}, + {text: '数据库', link: '/dev-ops/database/', + items: [ + {text: 'PostgreSQL', link: '/dev-ops/database/postgresql.md'}, + {text: 'MariaDB/MySQL', link: '/dev-ops/database/mariadb.md'}, + ] + } + + ] + }, { text: '面试和职场', collapsed: true, diff --git a/devops/database/_sidebar.md b/devops/database/_sidebar.md deleted file mode 100644 index 8e165c8..0000000 --- a/devops/database/_sidebar.md +++ /dev/null @@ -1,2 +0,0 @@ -- [MariaDB/MySQL](/devops/database/mariadb.md) -- [PostgreSQL](/devops/database/postgresql.md) \ No newline at end of file diff --git a/devops/database/postgresql.md b/devops/database/postgresql.md deleted file mode 100644 index 2b9e88b..0000000 --- a/devops/database/postgresql.md +++ /dev/null @@ -1,11 +0,0 @@ -# MariaDB 数据库安装和使用问题 - -最近在对公司的 Linux 服务器进行一些初始化的安装和配置工作。对一个新的机器可能遇到的问题还比较多,先记录下来供以后参考。 - -| 配置内容 | 链接 | 备注 | -|--------------------|-----------------------------------------------------------|-----------------------------------------| -| Ubuntu 安装 MariaDB | https://www.isharkfly.com/t/ubuntu-raspbian-mariadb/15339 | Ubuntu 安装 MariaDB 的方法和步骤 | -| MariaDB 数据库远程连接被拒绝 | https://www.isharkfly.com/t/mysql-error-2003-hy000/7744 | 问题多出现在 MariaDB starting with 10.11 版本以后 | -| MariaDB 数据库完整备份和恢复 | https://www.isharkfly.com/t/mysql-mariadb-gzip/7764 | 完整的对 MariaDB 数据库进行备份和恢复 | - - diff --git a/devops/_index.md b/src/dev-ops/database/index.md similarity index 100% rename from devops/_index.md rename to src/dev-ops/database/index.md diff --git a/devops/database/mariadb.md b/src/dev-ops/database/mariadb.md similarity index 100% rename from devops/database/mariadb.md rename to src/dev-ops/database/mariadb.md diff --git a/src/dev-ops/database/postgresql.md b/src/dev-ops/database/postgresql.md new file mode 100644 index 0000000..ebdb338 --- /dev/null +++ b/src/dev-ops/database/postgresql.md @@ -0,0 +1,6 @@ +# PostgreSQL 数据库安装和使用问题 + +最近在对公司的 Linux 服务器进行一些初始化的安装和配置工作。对一个新的机器可能遇到的问题还比较多,先记录下来供以后参考。 + | + + diff --git a/devops/database/_index.md b/src/dev-ops/index.md similarity index 100% rename from devops/database/_index.md rename to src/dev-ops/index.md diff --git a/devops/os/linux.md b/src/dev-ops/os/linux.md similarity index 100% rename from devops/os/linux.md rename to src/dev-ops/os/linux.md diff --git a/src/index.md b/src/index.md index 93499db..919c3dc 100644 --- a/src/index.md +++ b/src/index.md @@ -24,7 +24,7 @@ hero: link: /product - theme: alt text: DevOps - link: /product + link: /dev-ops/ - theme: alt text: 职场和面试 link: /product diff --git a/organization-foundation/hl7.md b/src/organization-foundation/hl7.md similarity index 100% rename from organization-foundation/hl7.md rename to src/organization-foundation/hl7.md diff --git a/tech-stack/fhir.md b/src/tech-stack/fhir.md similarity index 100% rename from tech-stack/fhir.md rename to src/tech-stack/fhir.md diff --git a/tech-stack/jwt/README.md b/src/tech-stack/jwt/README.md similarity index 100% rename from tech-stack/jwt/README.md rename to src/tech-stack/jwt/README.md diff --git a/tech-stack/message-pack/_images/messagepack-logo.jpg b/src/tech-stack/message-pack/_images/messagepack-logo.jpg similarity index 100% rename from tech-stack/message-pack/_images/messagepack-logo.jpg rename to src/tech-stack/message-pack/_images/messagepack-logo.jpg diff --git a/tech-stack/message-pack/index.md b/src/tech-stack/message-pack/index.md similarity index 100% rename from tech-stack/message-pack/index.md rename to src/tech-stack/message-pack/index.md diff --git a/tech-stack/protocol-buffers/_images/protocol-buffers-logo.jpg b/src/tech-stack/protocol-buffers/_images/protocol-buffers-logo.jpg similarity index 100% rename from tech-stack/protocol-buffers/_images/protocol-buffers-logo.jpg rename to src/tech-stack/protocol-buffers/_images/protocol-buffers-logo.jpg diff --git a/tech-stack/protocol-buffers/_images/protocol-buffers-serialization.png b/src/tech-stack/protocol-buffers/_images/protocol-buffers-serialization.png similarity index 100% rename from tech-stack/protocol-buffers/_images/protocol-buffers-serialization.png rename to src/tech-stack/protocol-buffers/_images/protocol-buffers-serialization.png diff --git a/tech-stack/protocol-buffers/index.md b/src/tech-stack/protocol-buffers/index.md similarity index 100% rename from tech-stack/protocol-buffers/index.md rename to src/tech-stack/protocol-buffers/index.md diff --git a/tech-stack/protocol-buffers/installation.md b/src/tech-stack/protocol-buffers/installation.md similarity index 100% rename from tech-stack/protocol-buffers/installation.md rename to src/tech-stack/protocol-buffers/installation.md