linux64
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux64 [2025/07/13 11:08] – [ollama in podman for ai] bengt | linux64 [2025/10/12 13:55] (current) – [OpenWebRX+ for radio] bengt | ||
---|---|---|---|
Line 805: | Line 805: | ||
URL Redirect Record @ http:// | URL Redirect Record @ http:// | ||
(If you keep the URL redirect stuff then the ip-addresses will be combined with namecheaps. Not good.) | (If you keep the URL redirect stuff then the ip-addresses will be combined with namecheaps. Not good.) | ||
+ | |||
+ | |||
+ | ==== OpenWebRX+ for radio ==== | ||
+ | |||
+ | I buought an rtl sdr dongle that I later realized would be nice to pair with a leftover pi 4: \\ | ||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | Use the the official raspberry image to enable and set ssh username/ | ||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | SSH into the machine and follow the instructions to add a user: \\ | ||
+ | sudo openwebrx admin adduser < | ||
+ | |||
+ | You may want to install extra drivers, see note on home page: \\ | ||
+ | sudo install-softmbe.sh | ||
+ | |||
+ | Some comments about antenna length: | ||
+ | https:// | ||
==== ollama in podman for ai ==== | ==== ollama in podman for ai ==== | ||
Line 813: | Line 833: | ||
# visudo | # visudo | ||
ALL ALL=(ollama) NOPASSWD: / | ALL ALL=(ollama) NOPASSWD: / | ||
+ | # firewall-config # Add tcp 11434 to be able to access it from hass | ||
# su - ollama | # su - ollama | ||
$ mkdir ollama | $ mkdir ollama | ||
$ vi start.sh | $ vi start.sh | ||
+ | #!/bin/bash -x | ||
+ | cd $HOME | ||
loginctl enable-linger ollama | loginctl enable-linger ollama | ||
- | podman run -d -v / | + | podman run -d --rm -v / |
$ chmod u+x start.sh | $ chmod u+x start.sh | ||
- | Then setup a start.sh-script containing the startup command line and maybe start this using " | + | Then setup a start.sh-script containing the startup command line and maybe start this using " |
+ | |||
+ | Test it as the ollama user: | ||
+ | # su - ollama | ||
+ | $ podman exec -it ollama ollama run llama2 | ||
+ | |||
+ | You can add the ollama integration to home assistant. On issues check your firewall config. Be sure to have " | ||
TODO: GPU support. Need to use nvidia drivers first... | TODO: GPU support. Need to use nvidia drivers first... |
linux64.1752404915.txt.gz · Last modified: 2025/07/13 11:08 by bengt