Skip to content

Commit d18aff6

Browse files
committed
feat:Nas - 这是我犹豫了很久,才买的设备!
1 parent daee0eb commit d18aff6

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

docs/.vuepress/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ function genBarGuide() {
620620
"gitcode.md",
621621
"gitee.md",
622622
"mac.md",
623-
// "nas.md",
623+
"nas.md",
624624
]
625625
},
626626
{

docs/md/road-map/nas.md

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: nas
2+
title: Nas
33
lock: need
44
---
55

6-
# Nas - 这是我犹豫了很久才买的一个设备
6+
# Nas - 这是我犹豫了很久,才买的设备
77

88
作者:小傅哥
99
<br/>博客:[https://bugstack.cn](https://bugstack.cn)
@@ -15,7 +15,7 @@ lock: need
1515
在这之前我犹豫🦑了好久,一台不错的 Nas 四五千块,买这个东西能帮助我啥呢 🤔?但后来发现,这台 2c8g 双盘位 4TB Nas,等同于个人拥有了一台永久可用的,软件丰富的,具备远程访问能力的,终身 Linux 服务器。
1616

1717
<div align="center">
18-
<img src="/Users/fuzhengwei/Desktop/road-map-nas-01.gif" width="200px">
18+
<img src="https://bugstack.cn/images/roadmap/tutorial/road-map-nas-01.gif" width="200px">
1919
</div>
2020

2121
**谁更适合买一台 Nas?**
@@ -54,7 +54,7 @@ NAS(Network Attached Storage,网络附加存储)是一种通过标准的
5454
我买的是一台 `群晖 DS723+` 并配了`8G内存` + `2*2TB`硬盘互备,因为咱们要做 Docker 安装各类软件,内存大一些更好。选择群晖主要就是想着这东西资源丰富,可以像使用 Linux 服务器一样使用 Nas 满足开发和存储需求。
5555

5656
<div align="center">
57-
<img src="/Users/fuzhengwei/Desktop/road-map-nas-02.png" width="400px">
57+
<img src="https://bugstack.cn/images/roadmap/tutorial/road-map-nas-02.png" width="400px">
5858
</div>
5959

6060
> 用了群晖 Nas 有5个月了,越用越爽。电脑里的东西基本都搬到群晖了,电脑只成为一个工具了,不在搞那么多存储。
@@ -74,19 +74,20 @@ NAS(Network Attached Storage,网络附加存储)是一种通过标准的
7474
群晖 Nas 提供了非常多的配套软件,适合于不同场景诉求的伙伴使用。所以很多买群晖的伙伴都说,是买软件送设备。嘿嘿,不过我更喜欢这部分编程相关的,尤其是这个 Docker、Git Server,嗖的就安装好。
7575

7676
<div align="center">
77-
<img src="/Users/fuzhengwei/Desktop/road-map-nas-03.png" width="850px">
77+
<img src="https://bugstack.cn/images/roadmap/tutorial/road-map-nas-03.png" width="850px">
7878
</div>
7979

80-
- Nas 还支持配置定时开机关机、休眠,这样会比较省点,也不用一直在那打开着。
80+
- Nas 还支持配置定时开机关机、休眠,这样会比较省电,也不用一直在那打开着。
81+
- 另外可以自建frp,让自己的nas服务可以直接被公网访问。一年¥48 2c2g 服务器即可。[https://618.gaga.plus](https://618.gaga.plus) 专属地址。frp 教程在 bugstack.cn - 路书中。
8182

8283
### 2. Docker 使用
8384

8485
<div align="center">
85-
<img src="/Users/fuzhengwei/Desktop/road-map-nas-04.png" width="850px">
86+
<img src="https://bugstack.cn/images/roadmap/tutorial/road-map-nas-04.png" width="850px">
8687
</div>
8788

8889
<div align="center">
89-
<img src="/Users/fuzhengwei/Desktop/road-map-nas-05.png" width="850px">
90+
<img src="https://bugstack.cn/images/roadmap/tutorial/road-map-nas-05.png" width="850px">
9091
</div>
9192

9293
- 你可以在提供的操作界面配置 Docker Compose,完成项目文件的配置和启动。之后的体验就和正常 Linux 安装 Docker 部署软件一样了。
@@ -100,7 +101,7 @@ NAS(Network Attached Storage,网络附加存储)是一种通过标准的
100101
- 密码:你的 Nas 登录密码
101102

102103
<div align="center">
103-
<img src="/Users/fuzhengwei/Desktop/road-map-nas-06.png" width="850px">
104+
<img src="https://bugstack.cn/images/roadmap/tutorial/road-map-nas-06.png" width="850px">
104105
</div>
105106

106107
登录以后,你就可以像使用 Linux 一样操作了,不过大部分执行类命令,要加上 sudo,比如 `sudo docker images`
@@ -110,14 +111,15 @@ NAS(Network Attached Storage,网络附加存储)是一种通过标准的
110111
有了 Nas 有个很大的好处就是,你可以本地直接当 Nas 的硬盘是本地的一个文件夹,直接打开就操作。里面的文件直接复制粘贴进去或者拿出来就可以。
111112

112113
<div align="center">
113-
<img src="/Users/fuzhengwei/Desktop/road-map-nas-07.png" width="650px">
114+
<img src="https://bugstack.cn/images/roadmap/tutorial/road-map-nas-07.png" width="650px">
114115
</div>
115116

116117
通过 IntelliJ IDEA 直接打开 Nas 中的项目即可,之后你可以用它上面的 Docker 对项目进行构建了。如下;
117118

118119
<div align="center">
119-
<img src="/Users/fuzhengwei/Desktop/road-map-nas-08.png" width="650px">
120+
<img src="https://bugstack.cn/images/roadmap/tutorial/road-map-nas-08.png" width="650px">
120121
</div>
122+
121123
- build.sh 中执行的就是 docker 命令;`docker build -t system/s-pay-mall-mvc-app:1.0 -f ./Dockerfile .`
122124
- 构建完,就可以部署项目了。Linux 上怎么用,这里你就怎么用。
123125

0 commit comments

Comments
 (0)