More > JRiver Media Center 25 for Linux

Set up JRiver Media Center 25 in Fedora and CentOS

<< < (4/7) > >>

BryanC:

--- Quote from: max096 on May 25, 2019, 05:34:22 pm ---I'm not really installing jriver on the VM that runs that script now. It's a headless Fedora 30 Server install on my NAS without a desktop environment that makes the RPMs now and then I can install them on PCs I actually use. Ideally I would like it to not only make the RPMs ready for use, but also host a DNF repo on that headless machine. But that's nothing I'm gonna do currently but a bit later maybe.

About saving the version number in a text field. I don't like it either. But I didn't know how else to do it. I'm not sure how dnf repos are hosted and what goes into that, but I probably can query that if I do that. But since I wasn't planning on installing it on the machine making the RPMs, there was really nothing to query.

I think this is already a bit better than running the script on every machine. But it also (yet) does not solve the problem that I don't know what there is a new version unless I look for it.

The next step would be to create a 'nightly' dnf repo automatically. Witch is probably the best I can do for myself anyways. Since I won't have anyone validating if it worked or not when I do it myself. Might as well use the nightly repo. Thankfully, I do not have a big problem with it breaking on my PCs since on all of them I don't have any music. So I can just purge it and install another RPM from the bunch I'll have by then.
All of my music is on a JRiver instance on my NAS and I remote play it on every PC and that one still runs a version of MC24, because it worked and I didn't bother to upgrade it yet. Also has something to do with that I wanted to maybe make my own docker image for MC25 based on this image https://hub.docker.com/r/jlesage/baseimage-gui witch would allow you to get VNC access with a browser. I'm using this guys handbrake image and it's really great to use! But I didn't succeed doing that (yet) with JRiver. I did succeed making a jriver docker image similar to the one I'm currently using with MC24.

In your script you mentioned this: 'Symlinking ca-certificates for license registration.' I remember JRiver on my notebook not having accepted my license key once. But when I went to the website and requested a restore code or whatever they call it, it worked. And some time ago I also had to re-enter it again.
Should also do the symlink on said notebook, likely gonna fix that. The more you know.

--- End quote ---

Re: DNF repo, this is something I've wanted to do as well, but I'm sort of stuck between a rock and a hard place in regards to my servers. If you've noticed in my script I have logic to check if we're running on CentOS, that is not only because I want to run MC on a CentOS machine, but also because I want to build the RPMs and host a repo. But since CentOS is not supported I can't afford to have a server solely dedicated to building and hosting MC RPMs. Therefore the servers I would use are running various flavors of Ubuntu. I'm a bit leery of cross-packaging but I may give it a shot. CentOS 8 is coming soon and I bet that MC will run (for how long it will be supported, I don't know), but my shared hosting providers will probably take aeons to provide it as an option. Let me see what I can do.

max096:

--- Quote from: BryanC on May 25, 2019, 06:44:42 pm ---Re: DNF repo, this is something I've wanted to do as well, but I'm sort of stuck between a rock and a hard place in regards to my servers. If you've noticed in my script I have logic to check if we're running on CentOS, that is not only because I want to run MC on a CentOS machine, but also because I want to build the RPMs and host a repo. But since CentOS is not supported I can't afford to have a server solely dedicated to building and hosting MC RPMs. Therefore the servers I would use are running various flavors of Ubuntu. I'm a bit leery of cross-packaging but I may give it a shot. CentOS 8 is coming soon and I bet that MC will run (for how long it will be supported, I don't know), but my shared hosting providers will probably take aeons to provide it as an option. Let me see what I can do.

--- End quote ---

What hosting provider are you using? I have a few things hosted on digitalocean (well one droplet that runs a few things). If you ever think about switching anywhere, can't recommend it enough. It's pretty great for Linux hosting. You can also upload your own images and run those. So if there is no centos8 upload it yourself (although I doubt it's gonna take them long to have it just be there, fedora30 is there too, but I can't tell you for how long since now is the first time I checked). I used a different hosting provider before, that I ditched before the time I paid for was even over, because it didn't allow me to do backups or snapshots and I wasn't gonna set everything up perfectly and then throw it away again. Now I can do manual snapshots. Pay to do the same one-time-click automagically, or write something that kicks off a snapshot using their apis. I'm currently doing the first.. xD Their DNS server is also pretty good (and free). Easy to work with and easy to setup as dyndns for your home if your ip changes every now and then as you can also change your DNS entries with their APIs. And you pay only what you use. So a 5$/month droplet for a day, will cost you 1 day of those 5$/month what ever that amounts to.

Though, 5$ are their cheapest droplets and I totally get that you don't necessarily want to generously pay 5$ each months for a droplet that's not gonna do anything but host that DNF repo when you use ubuntu for everything else.

BryanC:
I completely refactored the script in the OP in preparation for hosting a repo with automatic updates. Right now, I have the MC rpms being successfully packaged on Ubuntu 16.04. I will try to finish the repo when I have some time later this week.

BryanC:
Alright, I have a repo running on my server now that checks for new MC releases every hour! I added an install (-i) mode to the script in the OP to install the repo automatically.  ;D

max096:
Very cool!!! Definitely gonna check that out at some point this week!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version