Deepseek-R1 本地部署
资源需求(选配,测试版)
配置:8C16g、磁盘 100G
系统:Centos 7.9 2009
网络:192.168.1.120
主机名:aibox
安装过程:
1. 安装虚拟机
1.1. 最小安装,选择安装开发包;
1.2. 配置时区,asia shanghai;
1.3. 配置主机名,aibox;
1.4. 配置 IP 地址,192.168.1.120(或者自动获取)
1.5. 自动分区,或者删除 home 分区,保留/根分区
1.6. 等待安装进程……
2. 配置 ollama 组件
2.1. 安装完成后,进入操作系统验证互联网连通性(ping www.baidu.com)
2.2. 下载 ollama
执行命令,下载通常 10-20 分钟不等,依据硬件性能;
curl -fsSL https://ollama.com/install.sh | sh
>>> Installing ollama to /usr/local
>>> Downloading Linux amd64 bundle
#####################################################################
### 100.0%
>>> Creating ollama user...
>>> Adding ollama user to video group...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
Created symlink from /etc/systemd/system/default.target.wants/ollama.service to
/etc/systemd/system/ollama.service.
>>> The Ollama API is now available at 127.0.0.1:11434.
>>> Install complete. Run "ollama" from the command line. 安装完成。
编辑 ollama 配置文件,修改监听端口
评论