SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-30-2016, 11:42 AM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 406
How hard to port Sage Linux sever to windows

Just curious how hard would it be to port the Linux server to windows. I really don't care if the server can also act as a client from the same install. I would think it might be better to make the server and client install separate at this point. So if you wanted to run a client you could just install it on the server. This would make it much easier to create the 64 bit server on windows I would think since you would be removing any graphics display and such in the server install. The reason I ask is some of the capture devices I use won't run on Linux. I know I can run both in a virtual server then make them network encoders but I think a server only option would be cleaner and maybe encourage more user that are use to using windows.
Reply With Quote
  #2  
Old 11-30-2016, 12:30 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by mechling-burgh View Post
Just curious how hard would it be to port the Linux server to windows. I really don't care if the server can also act as a client from the same install. I would think it might be better to make the server and client install separate at this point. So if you wanted to run a client you could just install it on the server. This would make it much easier to create the 64 bit server on windows I would think since you would be removing any graphics display and such in the server install. The reason I ask is some of the capture devices I use won't run on Linux. I know I can run both in a virtual server then make them network encoders but I think a server only option would be cleaner and maybe encourage more user that are use to using windows.
Everything in SageTV is already ported to windows... incuding the full client (which you said you don't really need). There's a Windows Installer that is as recent as the latest linux release.

The problem is that there some "native" parts of sagetv that need to be maintained... It's ported... just someone with a Windows developer mindset needs to take ownership of it and start producing builds. I think the linux version has taken off mainly because there are fair number of linux only developers on the forum (myself included), that has taken ownership of the linux linux builds, etc.

I think there's been a call for someone, anyone, to take ownership of Windows... but other than the installer, there doesn't appear to be any developer interest in that... but, if someone did do it... and they were familiar with Windows C/C++ development and builds, then I suspect it wouldn't be hard to be a full native 64bit version of windows binraries.
Reply With Quote
  #3  
Old 11-30-2016, 05:17 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by mechling-burgh View Post
Just curious how hard would it be to port the Linux server to windows. I really don't care if the server can also act as a client from the same install. I would think it might be better to make the server and client install separate at this point. So if you wanted to run a client you could just install it on the server. This would make it much easier to create the 64 bit server on windows I would think since you would be removing any graphics display and such in the server install. The reason I ask is some of the capture devices I use won't run on Linux. I know I can run both in a virtual server then make them network encoders but I think a server only option would be cleaner and maybe encourage more user that are use to using windows.
In addition to what stuckless mentioned about lack of windows developers, there's also the fact that the 'ideal' sagetv setup consists of a headless server, running in a closet somewhere, serving up to clients of whatever variety. The linux install, and especially the unRAID system, is just so much better suited to an unattended sagetv headless server, that's where everyone gets recommended to go.

Realize though, that over the course of the last 13 years or so of SageTV, nearly all the servers in actual use out there were on Windows. The mass group of users has only really transitioned to Linux in the last year or so.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #4  
Old 12-02-2016, 12:56 AM
mlcarson mlcarson is offline
Sage Advanced User
 
Join Date: Aug 2016
Location: Lompoc, CA
Posts: 87
I'm not sure how much better Linux is for a headless server than Windows. You can RDP into Windows and do about everything you need. I don't currently have a keyboard/mouse/monitor on my SageTV server.
Reply With Quote
  #5  
Old 12-02-2016, 02:29 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by mlcarson View Post
I'm not sure how much better Linux is for a headless server than Windows. You can RDP into Windows and do about everything you need. I don't currently have a keyboard/mouse/monitor on my SageTV server.
RDP is technically only available in Pro or higher windows licenses, which is more expensive than many people's server hardware - but I was more specifically calling out the use of unRAID for a headless server, where just about everything can be managed from a web browser.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #6  
Old 12-02-2016, 05:48 AM
dgeezer dgeezer is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: Greensboro, NC
Posts: 293
As a semi technically savvy user, I will say that I find unraid much easier to use as a headless server. Not that it can't be done in windows. I had a headless windows 7 server for years. Well, not really headless, I kept an old low res monitor attached for the occasional times that my remote login failed.

However, using unraid with the docker install is dead simple. Network shares are easy to set up and always work. Much easier than on linux or windows. I do realize that for someone who only has 1 pc in their house having a windows install would be a good way to start using sagetv. However if you are going to have a dedicated server anyway I think that unraid is much simpler and probably more reliable.
Reply With Quote
  #7  
Old 12-02-2016, 06:21 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I think that many people see "linux" and they get intimidated because it's "linux". I think the great thing about unRAID, is that for the most part, you have no idea what OS running, since they do a great job of putting a web UI on top, that 99% of users will interact with. Many NAS solutions today run linux, and in most cases, you never interact directly with the OS... You just use the web ui.

It surprises me, that in standard linux, there isn't something like the unRAID Docker web UI for managing docker containers (finding, installing, configuring, etc).
Reply With Quote
  #8  
Old 12-02-2016, 07:08 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by stuckless View Post
It surprises me, that in standard linux, there isn't something like the unRAID Docker web UI for managing docker containers (finding, installing, configuring, etc).
CentOS 7 and Fedora 22+ have Cockpit available from their default repositories and you can add an additional repo to install it on Debian based Linux distros. In my opinion it's still a work in progress, but it works decently with managing Docker containers.

Here's a brief overview of what the docker web pages look like since Cockpit's own web pages don't even have a screenshot of it. It's not as refined for the average end user as unRAID, but it definitely can save you some time.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG

Last edited by EnterNoEscape; 12-02-2016 at 07:10 AM.
Reply With Quote
  #9  
Old 12-02-2016, 07:30 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by EnterNoEscape View Post
CentOS 7 and Fedora 22+ have Cockpit available from their default repositories and you can add an additional repo to install it on Debian based Linux distros. In my opinion it's still a work in progress, but it works decently with managing Docker containers.

Here's a brief overview of what the docker web pages look like since Cockpit's own web pages don't even have a screenshot of it. It's not as refined for the average end user as unRAID, but it definitely can save you some time.
Yeah, I went looking after I posted that and I found about 7 projects that manage docker from a web UI. All the ones that I found were almost geared torwards IT people, and not really geared towards consumers. unRAID uses it's own docker template configuration, which helps it become more user friendly... Interestingly enough I don't see any of these web solutions offering a "template" driven experience. Even the unRAID one can be cumbersome... but still better than nothing.
Reply With Quote
  #10  
Old 12-02-2016, 08:23 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by stuckless View Post
Yeah, I went looking after I posted that and I found about 7 projects that manage docker from a web UI. All the ones that I found were almost geared torwards IT people, and not really geared towards consumers. unRAID uses it's own docker template configuration, which helps it become more user friendly... Interestingly enough I don't see any of these web solutions offering a "template" driven experience. Even the unRAID one can be cumbersome... but still better than nothing.
I think this is partly the result of docker being relatively new (3 years). KVM has been around much longer (9 years) and despite being very good, it still only has a few good web/graphical interfaces and nothing that I would expect the average consumer be able to work with it. I'm sure as the technology matures more companies will see some value in making it more accessible to the average user (for all we know this is already happening). If you're using unRAID, you're probably not really the "average" user, but you don't need to be very technical either.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #11  
Old 12-02-2016, 08:23 AM
mechling-burgh mechling-burgh is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Pittsburgh, PA
Posts: 406
I guess my thoughts are that the people who are going to try SageTV for the first time are going to use a windows machine they have sitting around and maybe some tuner cards from a windows media center or some other PVR program. These cards will run in windows but maybe not Linux. I know we are short windows programmers and I'm sorry I can't help here, but windows is still the dominate OS out there on PCs. I know there market share is shrinking and Linux is getting much easier to use but the average Joe I think is still more comfortable with windows and the easy of finding hardware to work on it. If we could come up with a flash drive boot of Linux like Jeff was trying years ago that may easy people into the Linux environment. To get more programmers we are going to need to expand the user base and I think running out of java resources because your running 32bit java will turn some people off. Other than the Java resources my windows system has been rock solid since version 2.
Reply With Quote
  #12  
Old 12-02-2016, 08:52 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
If it's the introductory users you are concerned with, then the 32-bit java heap limit is not likely a problem. 2-3 extenders will work just fine in a 1GB JVM Heap, and 3-5 works fine without heavy graphics (fanart) usage. Also realize that many of these same users who were used to WMC before, likely have actual windows HTPC's, which would be running a full client that doesn't use almost any of that 1GB Heap, because it maintains it's own heap.
No one was running a 64-bit sagetv JVM until just about year ago, and there have been many very successful sagetv installations in use for over a decade. Basically, I wouldn't put much weight into the 32-bit only on windows concern for now.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #13  
Old 12-02-2016, 10:38 AM
SomeWhatLost's Avatar
SomeWhatLost SomeWhatLost is offline
Sage Expert
 
Join Date: Jan 2009
Location: earth
Posts: 532
Quote:
Originally Posted by stuckless View Post
I think that many people see "linux" and they get intimidated because it's "linux". I think the great thing about unRAID, is that for the most part, you have no idea what OS running, since they do a great job of putting a web UI on top, that 99% of users will interact with. Many NAS solutions today run linux, and in most cases, you never interact directly with the OS... You just use the web ui.
I don't know if it is really "many" people or not, but stuckless's observation is at least 100% true in my case...
well, I guess I technically know that unraid uses Linux... but still...
stuckless's Docker template thingy has a "Just Works" factor that is almost up there with the HDx00 extenders... much easier to set up than any of my previous Win based servers...
of course, tuners/capture devices could be a problem, if there are no linuxy drivers... but I just have a bunch HDHR's and they all just worked with no effort involved...
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
Reply With Quote
  #14  
Old 12-02-2016, 04:40 PM
mlcarson mlcarson is offline
Sage Advanced User
 
Join Date: Aug 2016
Location: Lompoc, CA
Posts: 87
I don't see the average user buying a $59 unRAID Basic license just to manage a docker installation. I think just packaging the standard Linux way so that an apt-get works would be a great start.
Reply With Quote
  #15  
Old 12-02-2016, 05:00 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
I used a Windows Server 2012 box as my sage server for years. Rock solid and I almost never had issues. I never used extenders until the android mini client came out. I had a dedicated HTPC in every room.

I can say that since moving to unraid and android clients the user experience is much better than it ever was. My server was always solid, but the clients had issues quite often.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #16  
Old 12-02-2016, 05:24 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by mlcarson View Post
I don't see the average user buying a $59 unRAID Basic license just to manage a docker installation. I think just packaging the standard Linux way so that an apt-get works would be a great start.
I don't think anyone is against setting up sage in an apt repository. I just don't think anyone has taken the time to figure out HOW to do that. I think part of the issues of this is that sage doesn't really deal with files the way it 'should'. A few legacy issues and such mean that there are permissions issues that I'm not sure totally work in a 'simple' installation method. These permission issues are also completely alleviated in a docker install. FWIW, you don't need unRAID to use the docker install. You can install docker on a general linux host. unRAID just gets the ease of management that, if you've ever used it, is worth $60. Considering the price people used to pay for the 'ease' of setting up an extender over a windows client, I think the $60 is well worth it.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #17  
Old 12-02-2016, 07:52 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by Fuzzy View Post
No one was running a 64-bit sagetv JVM until just about year ago, and there have been many very successful sagetv installations in use for over a decade. Basically, I wouldn't put much weight into the 32-bit only on windows concern for now.
Yeah, but it would be SO nice to have a 64 bit Win install from my perspective. I swear that the JVM knows when I am away on a business trip and that is when it overloads and causes SageTV to crash.

I have lots of extenders in the house and we have learned to live with the shortcomings of a 32 bit install but a 64 bit would be awesome. I could even leave all of the SageTV extenders powered on all of the time which would also improve the "boot up" time of watching Sage.

Could I install SageTV on Linux? Maybe - I do dabble in Linux a fair bit but it is mainly on Raspberry Pis and an AWS instance. But my Sage server also runs some other stuff to facilitate playback on other devices. I use AirVideo HD to playback to iOS devices and I also have Plex server running on the box. Can those run on Linux - maybe but it is generally more work to get them up and running on Linux.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #18  
Old 12-02-2016, 08:03 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by wayner View Post
Yeah, but it would be SO nice to have a 64 bit Win install from my perspective. I swear that the JVM knows when I am away on a business trip and that is when it overloads and causes SageTV to crash.

I have lots of extenders in the house and we have learned to live with the shortcomings of a 32 bit install but a 64 bit would be awesome. I could even leave all of the SageTV extenders powered on all of the time which would also improve the "boot up" time of watching Sage.

Could I install SageTV on Linux? Maybe - I do dabble in Linux a fair bit but it is mainly on Raspberry Pis and an AWS instance. But my Sage server also runs some other stuff to facilitate playback on other devices. I use AirVideo HD to playback to iOS devices and I also have Plex server running on the box. Can those run on Linux - maybe but it is generally more work to get them up and running on Linux.
There is a Plex Server Docker that works great. I run quite a few things in dockers. The only thing I used to do on my sagetv server that doesn't fly on linux is PlayOn - but as infrequently as I needed that, I just installed it on my desktop (originally put it in a windows VM, but seemed wasteful to have a windows VM running JUST for that infrequent use).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #19  
Old 12-03-2016, 03:59 AM
mlcarson mlcarson is offline
Sage Advanced User
 
Join Date: Aug 2016
Location: Lompoc, CA
Posts: 87
I'm really not seeing the need for complete isolation of a SageTV system that a Docker container would supply. For development, I totally get it.

This guy is using Docker in combination with Rake, git-buildpackage and fpm-cookery for package building.

https://blog.codeship.com/using-dock...bian-packages/
It might be worth a look.

My degree was in Computer Science but it's been 25 years since I've done any real coding. I went the Systems Administrator -> Systems/Network Engineer -> Security Engineer path rather than the software development path. So, I'm not a developer.

From my perspective, I think that the reasons for using Docker would go away with a proper package build for users. I get why pushing out docker containers would be appealing if you don't have the .deb package methodology done and are using docker containers anyway. But that's like seeing every problem as a nail when your only tool is a hammer. If users start running into problems requiring an isolated environment that Docker would provide, it's still a nice option.

Just strongly suggesting that the DEB packaging get worked out. Considering you're doing this all on your own time on behalf of the SageTV community though, it's hard to really criticize. It's just nice to see the program advance.
Reply With Quote
  #20  
Old 12-03-2016, 05:45 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by mlcarson View Post
This guy is using Docker in combination with Rake, git-buildpackage and fpm-cookery for package building.

https://blog.codeship.com/using-dock...bian-packages/
It might be worth a look.

Just strongly suggesting that the DEB packaging get worked out. Considering you're doing this all on your own time on behalf of the SageTV community though, it's hard to really criticize. It's just nice to see the program advance.
Building the deb file is the easy part... and it's already being done. It's hosted on BinTray along with the .tgz packages. The part that I've asked people to figure out is how to publish that deb file on BinTray in a proper deb repo style... what additional files are required, etc. I could figure this out, but I'm busy doing other things... I have setup the BinTray deb repo... I just have no idea how I'm supposed to publish it there. This isn't dev work as much as it's configuration details.... probably something a sys admin could figure out in a few hours

Quote:
Originally Posted by mlcarson View Post
I'm really not seeing the need for complete isolation of a SageTV system that a Docker container would supply. For development, I totally get it.

From my perspective, I think that the reasons for using Docker would go away with a proper package build for users. I get why pushing out docker containers would be appealing if you don't have the .deb package methodology done and are using docker containers anyway. But that's like seeing every problem as a nail when your only tool is a hammer. If users start running into problems requiring an isolated environment that Docker would provide, it's still a nice option.
What docker is bringing to the table has less to do with process isolation and more to do with application composition. The nature of "debs" is that you have lots of them and they depend on each other, but once they installed, you might have some configuration to do... In linux (and windows alike)... sometimes installing a "solution" involves installing multiple products and then configuring how they work together, which usually means hours of manual configuration steps, and the hope that you didn't mess something up. Docker solves this by allowing someone to create the recipe for how something needs to be composed, and then enabling it, so that you can fire up a complete configured installation in minutes.

For SageTV, the docker container takes care of upgrading (which debs could do as well), and it downloads gentuner (which is used by command ir and usb-urit), and it installs comskip native binaries and does some small configuration changes in sagetv for it. It installs Lirc and does some small configurations around it. It updates the memory configuration for sagetv. It add the license file to the correct place. it sets the permissions on various files. it does a backup of the old Wiz.bin and a few other files during an upgrade, so that if something did go wrong, you could roll back. It's configured to use either Java 7 or Java 8 from Oracle (depending on your preferences). It configures sudo for sagetv so that if you run it as normal user, it can still do somethings as root (sagetv does require some things to be run as root).

I've configured a sagetv many times, and on average it takes me a few hours (off and on) to fully configure everything from scratch... getting all those pieces in place.

Now, I run a a single command to get 95% configured system in place.

Code:
docker run -d --name sagetv-server \
  -v /home/seans/unRAID/mnt/user/sagemedia:/var/media \
  -v /home/seans/unRAID/mnt/user/mediaext:/var/mediaext \
  -v /home/seans/unRAID/mnt/user/apps/sagetv:/opt/sagetv \
  -v /home/seans/unRAID:/unraid \
  --net host \
  --env OPT_GENTUNER=Y \
  --env OPT_COMMANDIR=Y \
  --env OPT_COMSKIP=Y \
  --env PUID=1000 \
  --env PGID=1000 \
  --env VIDEO_GUID=44 \
  --env LICENCE_DATA=AAABBB \
  --env JAVA_MEM_MB=512 \
  --privileged \
  -t -i "stuckless/sagetv-server-java8"
unRAID make that command line much nicer to deal with... because it puts a web ui around that command line... at the end of the day, unRAID is just issuing those commands to docker... no real magic.

I can test Java 7 and Java 8 (and eventually Java 9) and when Java 9 is fully ready, I can just point to a different image and things are fully configured.

Even Ubuntu is planning on changing it's package manager from deb to something that better composits applications. Too many times you can't upgrade to a new version of an application, because it depends on a library that hasn't been upgraded and maybe can't for some time. Their new package manager solves this, in much the same way that docker solves it, by ensuring complete isolation for the application and it's dependencies.

Having used Linux for 20+ years, it's safe to say that I really like it. And I think that the package managers that Linux has is one of it's greatest strengths. But, in many cases, installing packages does not end up with an installed solution. You still have lots of grunt work to do get things fully setup, especially for complex solutions, like SageTV.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rebuild Sage.jar (Windows and Linux and probably Mac) stuckless SageTV Github Development 77 05-10-2021 03:28 PM
Web Sever Unable to export XML in SageTV v9 nyplayer SageTV v7 Customizations 16 03-05-2016 04:37 PM
Transition from Windows to Linux Sage Server tsheal SageTV Linux 21 11-09-2010 06:57 AM
running a windows sever and a mac client Dreameriz SageTV Software 2 12-27-2009 01:51 PM
How hard is it to set up a Linux box with Sage? sincityharley SageTV Linux 4 07-28-2007 05:53 PM


All times are GMT -6. The time now is 05:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.