update
This commit is contained in:
parent
8bd6f7f8d1
commit
9f0050d987
@ -53,6 +53,11 @@ vim /etc/default/grub
|
||||
```
|
||||
注释 `GRUB_TIMEOUT_STYLE` 配置
|
||||
修改 `GRUB_TIMEOUT` 配置为 10 (这项配置的单位是秒,按需修改)
|
||||
3. 更新配置
|
||||
```shell
|
||||
sudo update-grub
|
||||
```
|
||||
|
||||
### 推荐的主题
|
||||
[KawaiiGRUB](https://github.com/Gabbar-v7/KawaiiGRUB),[Elegant-grub2-themes](https://github.com/vinceliuice/Elegant-grub2-themes),[minegrub-theme](https://github.com/Lxtharia/minegrub-theme)
|
||||
你还可以在 [Gorgeous-GRUB](https://github.com/Jacksaur/Gorgeous-GRUB) 中找到精美的精选主题
|
||||
|
13
docs/src/08_AI/28_ollama.md
Normal file
13
docs/src/08_AI/28_ollama.md
Normal file
@ -0,0 +1,13 @@
|
||||
## 配置远程访问
|
||||
```shell
|
||||
sudo vim /etc/systemd/system/ollama.service
|
||||
```
|
||||
1. 在 `[Service]` 后添加:
|
||||
```conf
|
||||
Environment="OLLAMA_HOST=0.0.0.0:11434"
|
||||
```
|
||||
2. 重载配置:
|
||||
```shell
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart ollama
|
||||
```
|
Loading…
Reference in New Issue
Block a user