Skip to content

Commit

Permalink
docs: 更新部署文档
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Sep 27, 2022
1 parent 6b78fce commit 48e1ae8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
9 changes: 9 additions & 0 deletions docs/guide/docker.md
Expand Up @@ -64,6 +64,15 @@ curl -L https://vanblog.mereith.com/vanblog.sh -o vanblog.sh && chmod +x vanblog

![](https://pic.mereith.com/img/fbbf5dde011f9dec13cdb25ad741765f.clipboard-2022-09-20.png)

浏览器打开 `http://<你的域名>/admin/init` ,并按照提示初始化即可。具体设置项可以参考 [站点配置](/feature/basic/setting.md)

也可以在前台点击右上角管理员按钮即可进入后台初始化页面。

> 如果你想在外部访问数据库,请参考 [常见问题](/guide/faq.md) 中的 `如何从外部访问数据库`
>
> 如果你想反代请参考 [反代](/guide/nginx.md)

## docker-compose 部署

### 1.安装依赖
Expand Down
29 changes: 15 additions & 14 deletions docs/guide/head.md
Expand Up @@ -19,34 +19,35 @@ order: -1
- **如果购买国内云服务器,请做好备案的准备**

## 1. 云服务器

::: info VanBlog

如果不懂什么是云服务器,可以看这篇文章:
如果不懂什么是云服务器,可以看这篇文章:

:::

### 要求

首先,你需要有一台云服务器,要求如下

| 项目 | 要求 | 说明 |
| -- | -- | -- |
| 内存 | > 2G | 实际上小一点也许够,但不保证流畅性|
| CPU | > 1核 | 个人站基本上没啥要求 |
| 带宽 || |
| 架构 | x64 | 暂不支持 ARM 架构,未来会支持 |
| 系统 | ubuntu/cent os/其他主流 linux | 无特殊要求 |
| 项目 | 要求 | 说明 |
| ---- | ----------------------------- | ---------------------------------- |
| 内存 | > 2G | 实际上小一点也许够,但不保证流畅性 |
| CPU | > 1 核 | 个人站基本上没啥要求 |
| 带宽 | | |
| 架构 | x64 | 暂不支持 ARM 架构,未来会支持 |
| 系统 | ubuntu/cent os/其他主流 linux | 无特殊要求 |

### 购买

如果你是新人想购买云服务器(国内厂商),在做好备案的准备下,推荐购买 腾讯云或者 阿里云的。

我一般用腾讯云的(相对便宜2333)直达链接:
我一般用腾讯云的(相对便宜 2333)直达链接:

【腾讯云】多款云产品1折起,买云服务器送免费机器,最长免费续3个月
【腾讯云】多款云产品 1 折起,买云服务器送免费机器,最长免费续 3 个月
https://cloud.tencent.com/act/cps/redirect?redirect=2446&cps_key=a3b2d0c73d758078529ef6f11c73ddde&from=console

买最便宜的 72 一年的 2核4G4M 的就行。
买最便宜的 72 一年的 2 核 4G4M 的就行。

![](https://pic.mereith.com/img/a7cee9afd60618a5ddee72d1c0916dfa.clipboard-2022-08-26.png)

Expand All @@ -64,12 +65,12 @@ https://cloud.tencent.com/act/cps/redirect?redirect=2446&cps_key=a3b2d0c73d75807

![](https://pic.mereith.com/img/7eb6914370aa7f2912ce565894c657d7.clipboard-2022-08-26.png)


## 2. 域名

::: info VanBlog

如果不懂什么是域名、DNS,可以看这篇文章:
如果不懂什么是域名、DNS,可以看这篇文章:

:::

一般而言,最好域名也在你购买云服务器的地方购买。
一般而言,最好域名也在你购买云服务器的地方购买。

0 comments on commit 48e1ae8

Please sign in to comment.