diff --git a/docs/zh/DevStation/pictures/1741138057041.png b/docs/zh/DevStation/pictures/1741138057041.png new file mode 100644 index 0000000000000000000000000000000000000000..33636a3b535b16e041a7046876a4585e8d23010b Binary files /dev/null and b/docs/zh/DevStation/pictures/1741138057041.png differ diff --git a/docs/zh/DevStation/pictures/BIOS-setting.jpeg b/docs/zh/DevStation/pictures/BIOS-setting.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..892e215aee2389c11812887874512a48e0ac28a9 Binary files /dev/null and b/docs/zh/DevStation/pictures/BIOS-setting.jpeg differ diff --git a/docs/zh/DevStation/pictures/BOOT-setting.jpeg b/docs/zh/DevStation/pictures/BOOT-setting.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..68798533b1ca5ca75d5846119ac45db88302564f Binary files /dev/null and b/docs/zh/DevStation/pictures/BOOT-setting.jpeg differ diff --git a/docs/zh/DevStation/pictures/account-setting.jpeg b/docs/zh/DevStation/pictures/account-setting.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..2970502f2b3c68632d08dd7df0767895e802370c Binary files /dev/null and b/docs/zh/DevStation/pictures/account-setting.jpeg differ diff --git a/docs/zh/DevStation/pictures/area-setting.jpeg b/docs/zh/DevStation/pictures/area-setting.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..c671cac22dc068213c99c88fa035ff17afa943c8 Binary files /dev/null and b/docs/zh/DevStation/pictures/area-setting.jpeg differ diff --git a/docs/zh/DevStation/pictures/authenticate.jpeg b/docs/zh/DevStation/pictures/authenticate.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..47d5ea073bff4bc0e0145d4798eeda85e5c74e6d Binary files /dev/null and b/docs/zh/DevStation/pictures/authenticate.jpeg differ diff --git a/docs/zh/DevStation/pictures/device-partition.png b/docs/zh/DevStation/pictures/device-partition.png new file mode 100644 index 0000000000000000000000000000000000000000..5c8a335c6b3d5cfd939030d381e3fdf2172599c5 Binary files /dev/null and b/docs/zh/DevStation/pictures/device-partition.png differ diff --git a/docs/zh/DevStation/pictures/disk-chose.jpeg b/docs/zh/DevStation/pictures/disk-chose.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..993258463e374ea3a7fc89cf1352411a678b91aa Binary files /dev/null and b/docs/zh/DevStation/pictures/disk-chose.jpeg differ diff --git a/docs/zh/DevStation/pictures/disk-formatting.jpeg b/docs/zh/DevStation/pictures/disk-formatting.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..87d027d955941c1bc07a1a8ba9a7e5098ee9ae46 Binary files /dev/null and b/docs/zh/DevStation/pictures/disk-formatting.jpeg differ diff --git a/docs/zh/DevStation/pictures/filesystem-chose.jpeg b/docs/zh/DevStation/pictures/filesystem-chose.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..ad5fee74a815a875e56f106d138b4314b00f8084 Binary files /dev/null and b/docs/zh/DevStation/pictures/filesystem-chose.jpeg differ diff --git a/docs/zh/DevStation/pictures/grub.png b/docs/zh/DevStation/pictures/grub.png new file mode 100644 index 0000000000000000000000000000000000000000..a7623707ac18edce61c2343bcb594918ca828c24 Binary files /dev/null and b/docs/zh/DevStation/pictures/grub.png differ diff --git a/docs/zh/DevStation/pictures/install-module.jpeg b/docs/zh/DevStation/pictures/install-module.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..5bad3592d872bd8f2fce8adb36e2595b6ca8ee8b Binary files /dev/null and b/docs/zh/DevStation/pictures/install-module.jpeg differ diff --git a/docs/zh/DevStation/pictures/install-page.jpeg b/docs/zh/DevStation/pictures/install-page.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..66e10dbe5288d4990911d1d9b414c27c4cb49dce Binary files /dev/null and b/docs/zh/DevStation/pictures/install-page.jpeg differ diff --git a/docs/zh/DevStation/pictures/mountpoint-chose.jpeg b/docs/zh/DevStation/pictures/mountpoint-chose.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..34dc480a7f3a76ad03da3fac6ee16636e88b1cca Binary files /dev/null and b/docs/zh/DevStation/pictures/mountpoint-chose.jpeg differ diff --git a/docs/zh/DevStation/pictures/openEuler-boot.jpeg b/docs/zh/DevStation/pictures/openEuler-boot.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..88982242a24c0b13564b7e79d349732e710e7d33 Binary files /dev/null and b/docs/zh/DevStation/pictures/openEuler-boot.jpeg differ diff --git a/docs/zh/DevStation/pictures/overview-of-settings.jpeg b/docs/zh/DevStation/pictures/overview-of-settings.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..940055c38aaa2f1236722945d0be9fe0d2423cf8 Binary files /dev/null and b/docs/zh/DevStation/pictures/overview-of-settings.jpeg differ diff --git a/docs/zh/DevStation/pictures/part-result.jpeg b/docs/zh/DevStation/pictures/part-result.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..d3d30f06811f566bc38a98c200ad24568647374f Binary files /dev/null and b/docs/zh/DevStation/pictures/part-result.jpeg differ diff --git a/docs/zh/DevStation/pictures/partition-chose.jpeg b/docs/zh/DevStation/pictures/partition-chose.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..d7a9d464547c379b255de35b23330e0080f939f8 Binary files /dev/null and b/docs/zh/DevStation/pictures/partition-chose.jpeg differ diff --git a/docs/zh/DevStation/pictures/partition-tips.jpeg b/docs/zh/DevStation/pictures/partition-tips.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..ca59a6b27cd0c81a0baff8d7c210f8bd16a348b1 Binary files /dev/null and b/docs/zh/DevStation/pictures/partition-tips.jpeg differ diff --git a/docs/zh/DevStation/pictures/soft-display.jpeg b/docs/zh/DevStation/pictures/soft-display.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..a843242b7f51ba6606862afa790afd5b3d7dda77 Binary files /dev/null and b/docs/zh/DevStation/pictures/soft-display.jpeg differ diff --git a/docs/zh/DevStation/pictures/system-page.jpeg b/docs/zh/DevStation/pictures/system-page.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..ea8535e25b2d654de4f0a1296c2832f991a47447 Binary files /dev/null and b/docs/zh/DevStation/pictures/system-page.jpeg differ diff --git a/docs/zh/DevStation/pictures/welcome-page.png b/docs/zh/DevStation/pictures/welcome-page.png new file mode 100644 index 0000000000000000000000000000000000000000..d885a0a76335a7e886dad6bdea7701340585fc75 Binary files /dev/null and b/docs/zh/DevStation/pictures/welcome-page.png differ diff --git "a/docs/zh/DevStation/pictures/\345\276\256\344\277\241\345\233\276\347\211\207_20250305093302.png" "b/docs/zh/DevStation/pictures/\345\276\256\344\277\241\345\233\276\347\211\207_20250305093302.png" new file mode 100644 index 0000000000000000000000000000000000000000..20d7b4529e30ba43459ef8d2c15c869c4072ac8e Binary files /dev/null and "b/docs/zh/DevStation/pictures/\345\276\256\344\277\241\345\233\276\347\211\207_20250305093302.png" differ diff --git "a/docs/zh/DevStation/pictures/\345\276\256\344\277\241\346\210\252\345\233\276_20250305093603.png" "b/docs/zh/DevStation/pictures/\345\276\256\344\277\241\346\210\252\345\233\276_20250305093603.png" new file mode 100644 index 0000000000000000000000000000000000000000..808dc445ab6c84eee8e1b551c39a89c134acd1f0 Binary files /dev/null and "b/docs/zh/DevStation/pictures/\345\276\256\344\277\241\346\210\252\345\233\276_20250305093603.png" differ diff --git "a/docs/zh/DevStation/\345\256\211\350\243\205\345\207\206\345\244\207.md" "b/docs/zh/DevStation/\345\256\211\350\243\205\345\207\206\345\244\207.md" new file mode 100644 index 0000000000000000000000000000000000000000..998c4536d27f71b61d380199898702ecf0110ce9 --- /dev/null +++ "b/docs/zh/DevStation/\345\256\211\350\243\205\345\207\206\345\244\207.md" @@ -0,0 +1,10 @@ +# 安装准备 # + +在安装前,你需要考虑软硬件的兼容性问题,对于软硬件规格需求与在VirtualBox上安装DevStation一致,不再赘述。此外,针对不同硬件PC进行相应设置,确保安装过程能顺利进行。 + +1、准备工作 + +首先在 openEuler 第三方镜像源 oepkgs 上获取 DevStation ISO 镜像,下载完成后使用 rufus 工具,制作 U 盘启动盘。制作完启动盘后,点击我的电脑查看并记录 U 盘启动盘的标签名称,安装时会使用到。压缩一块100G(如果机器磁盘空间不富足的情况下,开发者可以依据个人PC情况划分空间,最好不少于40g)的分区,用于后续DevStation安装,如下图 + +![磁盘分区](./pictures/device-partition.png) + diff --git "a/docs/zh/DevStation/\345\256\211\350\243\205\346\214\207\345\257\274\345\217\212\351\203\250\347\275\262DeepSeek\347\244\272\344\276\213.md" "b/docs/zh/DevStation/\345\256\211\350\243\205\346\214\207\345\257\274\345\217\212\351\203\250\347\275\262DeepSeek\347\244\272\344\276\213.md" new file mode 100644 index 0000000000000000000000000000000000000000..6c26700c57ea693585b99389f991061a373cb394 --- /dev/null +++ "b/docs/zh/DevStation/\345\256\211\350\243\205\346\214\207\345\257\274\345\217\212\351\203\250\347\275\262DeepSeek\347\244\272\344\276\213.md" @@ -0,0 +1,154 @@ +# **安装指导** # + +## 1 安装和配置 ## + +准备工作完成后,下面就开始安装。插入 U 盘启动盘后按电源键开机,在开机过程中按 F1 键进入 BIOS 程序(笔者的安装电脑是Thinkpad,因此按 F1 可进入 BIOS,其他品牌的电脑需要查询相关手册确认进入 BIOS 按键),关闭安全启动才能从U盘启动,如图1所示 + +![图1](./pictures/BIOS-setting.jpeg) + +F10保存退出之后,快速按F12(笔者的安装电脑是Thinkpad E16,因此按 F12可进入启动菜单,其他品牌的电脑需要查询相关手册确认进入启动菜单)选择系统从 U 盘启动加载,如图2所示 + +![图2 启动方式设置](./pictures/BOOT-setting.jpeg) + +系统自动进入 GRUB 安装引导界面,如图3所示 + +![图3 grub安装引导界面](./pictures/grub.png) + +点击ENTER进入DevStation系统界面,如图4所示 + +![图4 DevStation首页](./pictures/system-page.jpeg) + +跳过系统导览,继续进入openEuler 系统安装工具权限认证,如图5所示 + +![图5 安装工具权限认证](./pictures/authenticate.jpeg) + +点击Authenticate,进入openEuler系统安装界面,如图6 + +![图6 安装工具首页](./pictures/welcome-page.png) + +点击下一步,进行时区设置,如图7 + +![图7 地区时区设置](./pictures/area-setting.jpeg) + +点击下一步,设置账号密码,如图8 + +![图8 账号密码设置](./pictures/account-setting.jpeg) + +点击下一步,选择DevStation,如图9所示 + +![图9 安装模式选择](./pictures/install-module.jpeg) + +进入安装设置,选择手动分区,如图10所示 + +![图10 分区选择](./pictures/partition-chose.jpeg) + +点击下一步,选择文件系统FAT32的分区,如图11所示 + +![图11 文件系统设置](./pictures/filesystem-chose.jpeg) + +点击编辑按钮,选择保留,**注意一定要选择保留,否则会影响windows系统启动**,挂载点选择/boot/efi,如图12 + +![图12 挂载点设置](./pictures/mountpoint-chose.jpeg) + +选择我们之前预留出来安装DevStation的分区,笔者这里这块分区是nvme0n1p5,而且之前已经给安装过了,所以已经有系统卷标devstation,正常情况下没有卷标也是正常的,具体是哪块分区,需要根据你预留分区大小确定,如图13所示 + +![图13 落盘安装](./pictures/disk-chose.jpeg) + +点击编辑按钮,这里可以格式化这个分区,文件系统格式选为ext4,挂载点/,文件系统卷标可以自定义,笔者这里命名为devstation,如图14所示 + +![图14 磁盘格式化](./pictures/disk-formatting.jpeg) + +编辑完成之后,如图15 + +![图15 安装设置总览](./pictures/overview-of-settings.jpeg) + +点击下一步显示分区提示信息,如图16 + +![图16 分区提示信息](./pictures/partition-tips.jpeg) + +点击确定,继续进入到图17分区结果页面,注意分区上会说明在蓝色分区(注意:不一定都为蓝色,笔者这里原先的nvme0n1p5就是蓝色分区)之后会安装openEuler 25.03。 + +![图17 分区结果](./pictures/part-result.jpeg) + +点击安装,进入安装界面,如图18所示 + +![图18 安装界面](./pictures/install-page.jpeg) + +安装完成后显示安装完成页面,重启系统,就可以进入启动菜单,选择openEuler,如图19 + +![图19 选择openEuler启动](./pictures/openEuler-boot.jpeg) + +输入账号密码,就可以直接进入DevStation。选择左上角的活动按钮,点击右下角的9个点,就可以看到DevStation上安装有哪些软件,配置wifi之后,大家也可以自己在firefox浏览器上去下载自己需要的应用软件,如图20 + +![图20 软件安装显示](./pictures/soft-display.jpeg) + +# **DevStation预集成工具之oeDeploy应用示例** # + +什么是oeDeploy? + +oeDeploy是一款轻量级的部署工具,目标是帮助开发者快速、高效地部署复杂的软件环境,无论是单节点还是分布式场景。 + +通过oeDeploy,用户可以快速在本地部署DeepSeek,也可以在集群中轻松部署Kubernetes(简称k8s)等相对复杂的系统,并基于k8s集群继续部署其他软件,例如Kubeflow、KubeRay等等。这一些列操作可以通过简单的配置和一键执行完成,大大降低了部署复杂环境的门槛。 + +oeDeploy核心共功能有哪些? + +1 主流软件的一键部署 + + oeDeploy已支持k8s、Kubeflow、KubeRay、DeepSeek等多款软件的一键部署,而且在持续扩充中。帮助用户快速搭建开发环境。大大减少了重复性的工作。 + +2 灵活的部署方式 + +无论是需要在单节点上快速安装软件,还是在分布式集群中部署复杂环境,oeDeploy都能轻松胜任。它支持在任意openEuler节点上运行,只需在一个节点上安装,就可以实现多个节点的快速部署。 + +3 插件化扩展能力 + + oeDeploy支持开发者编写自定义的部署插件,将自己熟悉的软件部署过程封装为oeDeploy支持的格式。这不仅可以帮助更多的用户,也为开发者提供了一个展示和分享技术能力的平台。 + +4 更少的代码,更优的部署体验 + + oeDeploy将为开发者提供命令行和可视化界面两套工具,打造一站式的软件部署框架。开发者可以只关注部署步骤的编排与核心功能的开发,用更少的代码,实现更好的软件部署效果。 + +## oeDeploy一键部署DeepSeek-R1的8B模型 ## + +接下来,本文将通过实操演示,如何用oeDeploy实现在单个节点上部署一个DeepSeek-R1的8B模型,并与之对话。 + +部署步骤: + +1 首先准备一个规格不低于4U8G的节点,OS版本为openEuler25.03。 + +2 下载并安装oeDeploy的命令行工具oedp + +```shell + wget https://repo.oepkgs.net/openEuler/rpm/openEuler-24.03-LTS/contrib/oedp/x86_64/Packages/oedp-1.0.0-20250208.x86_64.rpm; yum install -y oedp-1.0.0-20250208.x86_64.rpm + ``` + +3 下载DeepSeek-R1部署插件,并解压到本地 + +```shell + wget https://repo.oepkgs.net/openEuler/rpm/openEuler-24.03-LTS/contrib/oedp/2025.0330/deepseek-r1.tar.gz; tar -zxvf deepseek-r1.tar.gz + ``` + +4 根据实际情况修改deepseek-r1/config.yaml。用户可以直接使用默认值,无需任何修改。关于config.yaml中各参数的具体含义,可以参考解压后的doc/readme文件。 + +5 一键触发DeepSeek-R1自动化部署,oeDeploy工具会下载所需的文件,自动安装部署,并完成DeepSeek-R1的配置。 +```shell +oedp run install -p ./deepseek-r1 +``` + +其中,-p参数表示解压后的文件目录。 + +6 在部署完成后的节点上,打开交互终端,开始对话。 + +```shell +ollama run deepseek-r1:8b +``` + + + + + + + + + +