更新 通过Ollama部署本地大模型
@@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user