更新 通过Ollama部署本地大模型
parent
4e23e209a4
commit
574ff87ccd
@ -68,6 +68,7 @@ systemctl enable ollama
|
|||||||
<string>/usr/local/bin/ollama</string>
|
<string>/usr/local/bin/ollama</string>
|
||||||
<string>serve</string>
|
<string>serve</string>
|
||||||
</array>
|
</array>
|
||||||
|
#开机启动参数
|
||||||
<key>RunAtLoad</key>
|
<key>RunAtLoad</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>KeepAlive</key>
|
<key>KeepAlive</key>
|
||||||
@ -91,7 +92,10 @@ systemctl enable ollama
|
|||||||
launchctl load /Users/xxxusername//Library/LaunchAgents/com.ollama.plist
|
launchctl load /Users/xxxusername//Library/LaunchAgents/com.ollama.plist
|
||||||
```
|
```
|
||||||
|
|
||||||
-
|
- 运行服务
|
||||||
|
```
|
||||||
|
launchctl start ollama
|
||||||
|
```
|
||||||
|
|
||||||
## 2.2 Windows11
|
## 2.2 Windows11
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user