This commit is contained in:
mei 2025-02-08 07:19:31 +08:00
parent 8bd6f7f8d1
commit 9f0050d987
2 changed files with 19 additions and 1 deletions

View File

@ -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) 中找到精美的精选主题

View 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
```