更新 通过Ollama部署本地大模型

X 2025-03-10 09:37:37 +00:00
parent 4e23e209a4
commit 574ff87ccd

@ -68,6 +68,7 @@ systemctl enable ollama
<string>/usr/local/bin/ollama</string>
<string>serve</string>
</array>
#开机启动参数
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
@ -91,7 +92,10 @@ systemctl enable ollama
launchctl load /Users/xxxusername//Library/LaunchAgents/com.ollama.plist
```
-
- 运行服务
```
launchctl start ollama
```
## 2.2 Windows11
```