Last active
February 9, 2025 19:47
-
-
Save ValchanOficial/3210ab2e0cf9f892b1a5d234218de708 to your computer and use it in GitHub Desktop.
WSL2 + ollama + deepseek + open-webui
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://learn.microsoft.com/en-us/windows/wsl/systemd#how-to-enable-systemd | |
https://ollama.com/download/linux | |
https://docs.openwebui.com/ | |
https://github.com/open-webui/open-webui | |
1 - sudo nano /etc/wsl.conf | |
2 - Add values | |
[boot] | |
systemd=true | |
3 - Ctrl + X, select Y to save your change | |
4 - Use the command wsl.exe --shutdown in PowerShell to restart all WSL instances | |
5 - curl -fsSL https://ollama.com/install.sh | sh | |
6 - Try to run "ollama" from the command line | |
** if not starts with systemd | |
ollama serve | |
http://127.0.0.1:11434/ | |
** | |
Add deepseek | |
7 - ollama pull deepseek-r1 | |
8 - ollama list // or http://127.0.0.1:11434/api/tags | |
Add open-webui | |
9 - docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main | |
10 - http://localhost:8080 | |
11 - http://localhost:8080/admin/settings -> Ollama API connection should be: http://127.0.0.1:11434 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment