linux64
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux64 [2025/06/01 07:59] – [Upgrade Fedora ... -> 35 -> 36 -> 37 -> 38 -> 39 -> 40] bengt | linux64 [2025/07/13 14:09] (current) – [ollama in podman for ai] bengt | ||
---|---|---|---|
Line 457: | Line 457: | ||
See misc below for scanning tv channels... | See misc below for scanning tv channels... | ||
- | ==== squeezebox | + | ==== squeezebox/ |
- | I found out that there is a spotify-plugin for squeezebox and decided to try a Boom in the kitchen and after a number of years I now have 9 squeezeboxes. Nowadays they aren't manufactured anymore but it is possible to use a chromecast as a squeezebox using a plugin in the server. Squeezebox on the server is a very nice solution to get access to your music files, spotify, internet radio and more. Instructions for fedora here:\\ | + | I found out that there is a spotify-plugin for squeezebox and decided to try a Boom in the kitchen and after a number of years I now have 9 squeezeboxes. Nowadays they aren't manufactured anymore but it is possible to use a chromecast as a squeezebox using a plugin in the server. Squeezebox on the server is a very nice solution to get access to your music files, spotify, internet radio and more.Instructions for fedora here:\\ |
http:// | http:// | ||
+ | |||
+ | Note that it is called lyrionmusicserver nowadays and some instructions below may need an update... | ||
There was a period when the community squeeze project had a fedora repo available. This is no longer the case, but there are still some nice guys updating the server: | There was a period when the community squeeze project had a fedora repo available. This is no longer the case, but there are still some nice guys updating the server: | ||
Line 473: | Line 475: | ||
# vi /etc/group0 | # vi /etc/group0 | ||
squeezeboxserver: | squeezeboxserver: | ||
- | # wget http:// | ||
- | # dnf install logitechmediaserver-8.3.1-0.1.1672158254.noarch.rpm | ||
# wget https:// | # wget https:// | ||
# dnf install logitechmediaserver-8.5.2-1.noarch.rpm | # dnf install logitechmediaserver-8.5.2-1.noarch.rpm | ||
+ | # wget https:// | ||
+ | # dnf install lyrionmusicserver-9.0.2-1.noarch.rpm # Moving config from / | ||
# ln -s / | # ln -s / | ||
# firewall-config # Open port 9000 TCP for http, 3483 TCP& | # firewall-config # Open port 9000 TCP for http, 3483 TCP& | ||
Line 803: | 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.) | ||
+ | |||
+ | ==== ollama in podman for ai ==== | ||
+ | |||
+ | Using rootless podman as a separate user (starting with cpu only): | ||
+ | # dnf install | ||
+ | # useradd ollama | ||
+ | # visudo | ||
+ | ALL ALL=(ollama) NOPASSWD: / | ||
+ | # firewall-config # Add tcp 11434 to be able to access it from hass | ||
+ | # su - ollama | ||
+ | $ mkdir ollama | ||
+ | $ vi start.sh | ||
+ | #!/bin/bash -x | ||
+ | cd $HOME | ||
+ | loginctl enable-linger ollama | ||
+ | podman run -d --rm -v / | ||
+ | $ chmod u+x start.sh | ||
+ | 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... | ||
Line 1212: | Line 1240: | ||
# dnf remove compat-ffmpeg28 # For fedora 39 | # dnf remove compat-ffmpeg28 # For fedora 39 | ||
# dnf remove python3-iso-639 # For fedora 40 | # dnf remove python3-iso-639 # For fedora 40 | ||
- | # dnf system-upgrade download --releasever=40 # Did not work on Saturdays due to 404 for lacking rpmfusion files, waiting for mirroring and retrying on Sunday worked. | + | |
+ | | ||
You may need the " | You may need the " | ||
linux64.1748764771.txt.gz · Last modified: 2025/06/01 07:59 by bengt