Compare commits
481 Commits
b91b690aa2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 5bcbc9a935 | |||
| 1f61ec4888 | |||
| 3c8ed002bb | |||
| 7ef9669dec | |||
| eb62392da7 | |||
| 60961f8415 | |||
| e087248165 | |||
| 90ea1e0fa4 | |||
| bafd812074 | |||
| 75881d5ac1 | |||
| fd6d4d872f | |||
| c96ff1ed4b | |||
| a37ae0b5f5 | |||
| b8f64b3f0c | |||
| bcde2c252b | |||
| 1f8f276258 | |||
| ce46f50cd1 | |||
| 07878d97ce | |||
| d015f70ec2 | |||
| b4a80f5ba1 | |||
| 6dcf224b8e | |||
| 5fb8e0e75f | |||
| 20e09ea15c | |||
| 2ac055e827 | |||
| 0ee91075fb | |||
| 3c7ef14aac | |||
| 71ce48626f | |||
| f564980ec6 | |||
| e040a94504 | |||
| e913d57e17 | |||
| 61d9e2f98c | |||
| 148e821fa9 | |||
| 622e5d9295 | |||
| 71defe9672 | |||
| 60cfe6a19c | |||
| c6eed2a89a | |||
| f2c8865216 | |||
| fc1956dc04 | |||
| 533106cbd7 | |||
| 89499ddac8 | |||
| e19422257d | |||
| 4683ed4c0e | |||
| 8a38cbef41 | |||
| d86b454be4 | |||
| 98a10f2539 | |||
| 373ec80694 | |||
| f7ddf6830e | |||
| 29ade7e11c | |||
| c9ac0c94b0 | |||
| eda302ac11 | |||
| a975749b26 | |||
| da199b1278 | |||
| c6429d563c | |||
| a2de08da42 | |||
| 633938eb4d | |||
| 3bbd846a3f | |||
| e6b51568f9 | |||
| 9b9b82d1af | |||
| f2016b6b50 | |||
| 94e2bfa848 | |||
| cfc21cda14 | |||
| 8ae3ae5915 | |||
| 7bbe16b6a2 | |||
| 2ee1fd5b9c | |||
| 45be120254 | |||
| 62f0b862c3 | |||
| c42f0a6dd3 | |||
| e3777f0dec | |||
| 9bae3a42c7 | |||
| 3587ac8db2 | |||
| e390f36d84 | |||
| de38073978 | |||
| a0d6707d1c | |||
| 61f5b2c19d | |||
| 54923fd212 | |||
| df9c1ccbea | |||
| d62f844371 | |||
| f2d08bc3e6 | |||
| ce2b1e70c6 | |||
| 1e1e7e3792 | |||
| c44bfe8aa3 | |||
| 10d9e9e213 | |||
| f80f9ccd08 | |||
| 175c6deb5a | |||
| 9d8e338872 | |||
| 558c7a059c | |||
| f92a89c99c | |||
| 68c03ab186 | |||
| 9587308d84 | |||
| 3848e880ed | |||
| dc16e06ea8 | |||
| c5921c33cc | |||
| 0795491d61 | |||
| eb8664d7e5 | |||
| c0c25cbea3 | |||
| 1d41d6377f | |||
| a82ae73303 | |||
| a2785cec43 | |||
| a6499ee5b8 | |||
| 8b70653b63 | |||
| 8aa01958ff | |||
| dc0eaed0f6 | |||
| f227050f6c | |||
| d3c049818a | |||
| 17512a2c00 | |||
| 444ebbfa25 | |||
| 8de1608a77 | |||
| 361dcb8ce3 | |||
| 8af309488d | |||
| d5aecc6902 | |||
| 82b31361d4 | |||
| 96d6044c85 | |||
| 71c21bf084 | |||
| 8388a3ab26 | |||
| 9b978e43b7 | |||
| 4b166fd025 | |||
| de2032d389 | |||
| f21e162177 | |||
| 768e00dff3 | |||
| 5e890900f2 | |||
| 18a3ae02fa | |||
| c729f1fb9b | |||
| cc7c1d4c5f | |||
| 36548581d3 | |||
| 605dc78cf8 | |||
| 8b464fffc7 | |||
| eb9c9fbf9d | |||
| afb9ff6ed5 | |||
| dfac619e9d | |||
| 005fe17298 | |||
| 190a6e7b10 | |||
| 9d0c484aa0 | |||
| ca5e1ef2f6 | |||
| 9dcb6d690f | |||
| 44c9d3217a | |||
| 7e75672bcc | |||
| a8ab51bf81 | |||
| b0b6556825 | |||
| 6406ca564a | |||
| ffa3dea4b9 | |||
| d5865d8dba | |||
| 8d59e534a9 | |||
| 7ffbe64213 | |||
| 032be973f3 | |||
| bcd317580f | |||
| 63363c39ee | |||
| f5a258892e | |||
| 6ffd558e6b | |||
| b273fab024 | |||
| 9c2c72e553 | |||
| ee87cea8da | |||
| b4bdacccdf | |||
| e2bae2693c | |||
| 52b0b67b38 | |||
| cf9621b72a | |||
| 9d6b0da4f0 | |||
| 753efdba57 | |||
| 8cd6f690ab | |||
| c88465e0df | |||
| 92dd577ec3 | |||
| c5689df0db | |||
| 58ba1f6b84 | |||
| 241fc98c76 | |||
| 3f5b61e7dc | |||
| a618078b3b | |||
| 25603ca02c | |||
| acdee11dfe | |||
| d1f69c55f9 | |||
| dbf58d14fe | |||
| 40bffcdd5f | |||
| e0d97985cc | |||
| a1855c87f5 | |||
| 566d3bb69f | |||
| cb0984ad60 | |||
| 6c893d0a21 | |||
| 395006f338 | |||
| 491fc5388c | |||
| c86c761be8 | |||
| cb05813e1e | |||
| 5d7680c8dc | |||
| e6f0c91eca | |||
| 198076e41f | |||
| e728fc38a5 | |||
| 9ede815548 | |||
| 8387813dc8 | |||
| b960867a0a | |||
| 95bf2f7b00 | |||
| 25d86465a3 | |||
| b4b38e5365 | |||
| 66bc40af2b | |||
| 0379c8d4f0 | |||
| a98f3cf994 | |||
| 8c97500dd4 | |||
| f79a58ca8c | |||
| df0989887b | |||
| b9eca3b3da | |||
| ac1f961b0e | |||
| 4c65c8a964 | |||
| e9c57f14d6 | |||
| 02dc5e5ce4 | |||
| 45e8d31bd0 | |||
| 4b486f1094 | |||
| 927d2c0c72 | |||
| 007b8c4304 | |||
| 537cc6e73f | |||
| be579af656 | |||
| b05ba9364a | |||
| ba6d272f56 | |||
| 90cbd0b970 | |||
| e17948a331 | |||
| 387c5db385 | |||
| b0149dc977 | |||
| 5b3661989e | |||
| 77b6b8de30 | |||
| dad1db73fb | |||
| 4204817042 | |||
| 9e67e5ffa5 | |||
| c7f53979de | |||
| e5638c019d | |||
| e23c4b9763 | |||
| 4325a3a846 | |||
| 3b73bc1275 | |||
| 46526422df | |||
| 4cdce5c8ae | |||
| 570f5b8634 | |||
| cb64885bbd | |||
| ce2b1e1530 | |||
| 1b0802c5e8 | |||
| c8ab117feb | |||
| efefd30e8e | |||
| 428c83727e | |||
| e084bcf709 | |||
| 5219862e22 | |||
| 33b7b99405 | |||
| d0dceb44f7 | |||
| 2903fd2bf8 | |||
| 5dd4823c73 | |||
| 1ac1af726d | |||
| 17bc38827a | |||
| 41fa5286cb | |||
| b2d2366375 | |||
| 3325f933b5 | |||
| 4fd7134365 | |||
| 602885dae2 | |||
| 0e9ed34fce | |||
| 5770c407a0 | |||
| 1d59a923f6 | |||
| c33603bb0a | |||
| 05c3a375cc | |||
| 175d62fce3 | |||
| dfd013011c | |||
| afb12e3c19 | |||
| a91d1e1ad7 | |||
| 5661035969 | |||
| 5f383d5b6c | |||
| c61c39b744 | |||
| 74e58560f5 | |||
| d5acdadd00 | |||
| f3bef86cf8 | |||
| 48c6189d3e | |||
| 19986086da | |||
| 3f27ec65d9 | |||
| 1b40fbe4dc | |||
| 3cc11459d7 | |||
| a45f8c2a2b | |||
| 8b99662d2f | |||
| 8b59eefb5d | |||
| e03e329ad8 | |||
| c6e3911725 | |||
| c373222f31 | |||
| a83a391595 | |||
| 902bf171de | |||
| bf5bc3f9e2 | |||
| c6f9111262 | |||
| 71c732f96b | |||
| ee46f69c74 | |||
| 365b8f6079 | |||
| 8b3cd967bf | |||
| 444d73edc6 | |||
| 5c5ef3ad22 | |||
| 3e7af1de41 | |||
| 1ab930708e | |||
| ac801134ea | |||
| 198cd37d73 | |||
| 9ef3ff44f2 | |||
| 1e031fa6d2 | |||
| fed1fa9435 | |||
| 42ecf82fd5 | |||
| c87148aecc | |||
| bfda47a050 | |||
| 3019cfad12 | |||
| fdbb0ead8a | |||
| 126dcef47a | |||
| e24ba4ea0f | |||
| 4ac4bc09ad | |||
| fa86b8b659 | |||
| e211ad5c5d | |||
| 60ade196c5 | |||
| 347dcd44ae | |||
| 7bad2bf96c | |||
| 58674364c6 | |||
| 3d2f343e00 | |||
| 00de925240 | |||
| 0dee6d3971 | |||
| 6fa7df13dd | |||
| 61eebeb41b | |||
| 2f99036efb | |||
| 5a226d9d6d | |||
| bb92bbb10e | |||
| c81d262d79 | |||
| 6fd84a2192 | |||
| 7447507362 | |||
| 659be95c17 | |||
| 196ba6dd75 | |||
| 05a1289180 | |||
| d810f2c011 | |||
| 066ea36dec | |||
| b9f1e6a752 | |||
| 299428fc1f | |||
| 8dbb03050b | |||
| 5c6be534a1 | |||
| a0d2ef0ff7 | |||
| 237e0b6f31 | |||
| ff8395d60e | |||
| fc7d57c026 | |||
| 199fd942fb | |||
| 5f682707f6 | |||
| 3897ac7697 | |||
| ba2fe7015e | |||
| ead614921a | |||
| 1c9f918ac8 | |||
| f9d6c40c00 | |||
| e9e69e7ccc | |||
| a1e4d4cf8c | |||
| b954f89580 | |||
| 764fd6f634 | |||
| dc4cd48245 | |||
| 82f2dd1c81 | |||
| 079548861a | |||
| 7f04e44c21 | |||
| b65ad93698 | |||
| bb3f4c83c8 | |||
| 6350495d3c | |||
| 08dfb31600 | |||
| 5c4cb6cb80 | |||
| 0993fc7ee3 | |||
| 5816564b66 | |||
| 7de110a0ed | |||
| 420d4b4685 | |||
| edadb4f0f8 | |||
| 8191f2d675 | |||
| f6a879f105 | |||
| addb4021d0 | |||
| 3fd3d1d424 | |||
| bef5b1ebf8 | |||
| b07c2dba60 | |||
| 7e032a392b | |||
| 9cf7b6d2b8 | |||
| 91cceec62f | |||
| 928d3f248b | |||
| 50331f0cde | |||
| 967be5b4e2 | |||
| 148dfbb083 | |||
| 7e572ed6df | |||
| b6e3074eff | |||
| 2216178db1 | |||
| 622917478a | |||
| d8cae07b4e | |||
| 655a08f70d | |||
| 9eed36d353 | |||
| 36bebb1d45 | |||
| 1fd5217533 | |||
| a7b9bca653 | |||
| 1a050e7e28 | |||
| ab45d26c12 | |||
| d3b3c020c3 | |||
| fd3f28367e | |||
| 23514ea85a | |||
| 389cd69da3 | |||
| 9a16ff6241 | |||
| b4cfa16081 | |||
| 6f8c093e2e | |||
| 1b35688806 | |||
| 66d4ba6fc0 | |||
| 7c59629a55 | |||
| 4b63f6b2fc | |||
| bd636c281a | |||
| 381490c14c | |||
| 3096f9fda1 | |||
| 99894d6798 | |||
| 24f54b0302 | |||
| 06b965f2a2 | |||
| 9c5ce26b57 | |||
| ee154bf79c | |||
| c629846c8e | |||
| 2fbc329f1e | |||
| 363f67b425 | |||
| a70898f6cc | |||
| af22dc1aa5 | |||
| 63f40b4ca1 | |||
| b1a4069b2e | |||
| 6545631890 | |||
| b0c100c006 | |||
| b9050e37bf | |||
| 83e117616f | |||
| 84cbeda628 | |||
| bde01d6f66 | |||
| d9e02e430d | |||
| 2883aed0ac | |||
| 30ab6d9bac | |||
| 4dea07222c | |||
| 148f614e4a | |||
| 5042ae25c3 | |||
| 7d0570daff | |||
| a0987475d6 | |||
| 7f79f455a0 | |||
| e4babab87f | |||
| 4fc9a8380f | |||
| a03cd1bc84 | |||
| 11d3f1acb6 | |||
| 188269e522 | |||
| 60932fd789 | |||
| 8e1a78cec1 | |||
| 61843dea5b | |||
| a48a8a4ed0 | |||
| c3af07dcdc | |||
| ee22663f99 | |||
| da1c05a92d | |||
| d56789a8e0 | |||
| 6fd257963d | |||
| 4fd2901628 | |||
| fe56081a51 | |||
| c6dfd62036 | |||
| 322c65e191 | |||
| 09031480c2 | |||
| 711ee5621a | |||
| f53e883b96 | |||
| 8998a6d02e | |||
| 6aba702eb6 | |||
| 011c9e06a8 | |||
| 31abe6385c | |||
| ce81c689df | |||
| da5f765168 | |||
| 37d30420fc | |||
| 7058475232 | |||
| 5bf62dc9d9 | |||
| 5259bbaf99 | |||
| b0f31ed3f0 | |||
| f29945d681 | |||
| c31b20ccce | |||
| 57768c9dfb | |||
| 413580f4ef | |||
| 7b924710b4 | |||
| 98f898f0e3 | |||
| 76370a8be8 | |||
| d9b5657c67 | |||
| 2566491f82 | |||
| d1fb17b86e | |||
| d68e4c7587 | |||
| f16d3ac096 | |||
| 161652f7b6 | |||
| b41b75ff64 | |||
| a130da3e26 | |||
| 2c53ec9f41 | |||
| 1a656322e2 | |||
| 407cd61710 | |||
| cac81be1d4 | |||
| 840e7f3b8e | |||
| 49ae5879be | |||
| 0a451a1ad1 | |||
| a2ed872f15 | |||
| c2af8fef1b | |||
| da1699e777 | |||
| 2719af546b | |||
| 83e7b9200f | |||
| 8bdf184511 | |||
| de547f5d3a | |||
| a2da04fec1 | |||
| cd0ba6b419 | |||
| ea473eb58c | |||
| 9ed34c1dfe |
148
.README.bbcode
Normal file
148
.README.bbcode
Normal file
@@ -0,0 +1,148 @@
|
||||
[size=20pt]installJRMC[/size]
|
||||
|
||||
This program installs [url=https://www.jriver.com/]JRiver Media Center[/url] and associated services on most Linux distributions.
|
||||
|
||||
You can find the latest version of installJRMC, changelog, and documentation in [url=https://git.bryanroessler.com/bryan/installJRMC]my repository[/url].
|
||||
|
||||
[size=18pt]tl;dr (One-line MC install)[/size]
|
||||
[code]curl https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC|bash[/code]
|
||||
|
||||
[size=18pt]Instructions[/size]
|
||||
|
||||
Download and unzip installJRMC from the attachment below or grab the latest stable version directly:
|
||||
[code]curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC &&
|
||||
chmod +x ./installJRMC &&
|
||||
./installJRMC [--option [ARGUMENT]]
|
||||
[/code]
|
||||
|
||||
[tt]installJRMC[/tt] defaults to [tt]--install=repo[/tt] on distros with MC repositories and [tt]--install=local[/tt] on all others.
|
||||
Specifying [tt]--build[/tt], [tt]--createrepo[/tt], [tt]--service[/tt], or [tt]--uninstall[/tt] disables the default install method.
|
||||
|
||||
[size=18pt]Options[/size]
|
||||
|
||||
[code]
|
||||
$ installJRMC --help
|
||||
--install, -i repo|local
|
||||
repo: Install MC from repository, future updates will be handled by the system package manager.
|
||||
local: Build and install MC package from official source package.
|
||||
--build[=suse|fedora|centos]
|
||||
Build RPM from source DEB but do not install.
|
||||
Optionally, specify a target distro for cross-building (ex. --build=suse, note the '=').
|
||||
--compat
|
||||
Build/install MC without minimum dependency version requirements.
|
||||
--mcversion VERSION
|
||||
Specify the MC version, ex. "33", "35.0.24", or "35.0.24-1" (default: latest).
|
||||
--arch ARCH
|
||||
Specify the target MC architecture, ex. "amd64", "arm64", etc (default: host architecture).
|
||||
--mcrepo REPO
|
||||
Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: host or official).
|
||||
--outputdir PATH
|
||||
Generate reusable installJRMC output in this PATH (default: ./output).
|
||||
--restorefile RESTOREFILE
|
||||
Restore file location for automatic license registration.
|
||||
--betapass PASSWORD
|
||||
Enter beta team password for access to beta builds.
|
||||
--service, -s SERVICE
|
||||
See SERVICES section below for the list of services to deploy.
|
||||
--service-type user|system
|
||||
Starts services at boot (system) or user login (user) (default: per-service, see SERVICES).
|
||||
--container, -c CONTAINER (TODO: Under construction)
|
||||
See CONTAINERS section below for a list of containers to deploy.
|
||||
--createrepo[=suse|fedora|centos]
|
||||
Build rpm, copy to webroot, and run createrepo.
|
||||
Optionally, specify a target distro for non-native repo (ex. --createrepo=fedora, note the '=').
|
||||
--createrepo-webroot PATH
|
||||
The webroot directory to install the repo (default: /var/www/jriver/).
|
||||
--createrepo-user USER
|
||||
The web server user if different from the current user.
|
||||
--no-update
|
||||
Disable the installJRMC update check.
|
||||
--yes, -y, --auto
|
||||
Always assumes yes for questions.
|
||||
--version, -v
|
||||
Print installJRMC version and exit.
|
||||
--debug, -d
|
||||
Print debug output.
|
||||
--help, -h
|
||||
Print help dialog and exit.
|
||||
--uninstall, -u
|
||||
Uninstall JRiver MC, service files, firewall rules, etc.
|
||||
[/code]
|
||||
|
||||
[size=18pt]Services[/size]
|
||||
|
||||
[code]jriver-mediaserver (user)
|
||||
Enable and start a mediaserver systemd service (requires an existing X server).
|
||||
jriver-mediacenter (user)
|
||||
Enable and start a mediacenter systemd service (requires an existing X server).
|
||||
jriver-x11vnc (user)
|
||||
Enable and start x11vnc for the local desktop (requires an existing X server, does NOT support Wayland).
|
||||
--vncpass and --display are also valid options (see below).
|
||||
jriver-xvnc (system)
|
||||
Enable and start a new Xvnc session running JRiver Media Center.
|
||||
--vncpass PASSWORD
|
||||
Set vnc password for x11vnc/Xvnc access. If no password is set, the script will either use existing password stored in ~/.vnc/jrmc_passwd or else no password.
|
||||
--display DISPLAY
|
||||
Manually specify display to use for x11vnc/Xvnc (ex. ':1').
|
||||
jriver-createrepo (system)
|
||||
Install hourly service to build latest MC RPM and run createrepo.
|
||||
[/code]
|
||||
|
||||
Services use a sane default [tt]--service-type[/tt] listed next to the service name in the Services description.
|
||||
User services can be manipulated as an unprivileged user, for example: [tt]systemctl --user stop jriver-mediacenter[/tt] and begin at user login.
|
||||
System services are manipulable as root, for example: [tt]sudo systemctl stop jriver-servicename@username.service[/tt] and begin at system boot.
|
||||
Note that it is possible to run all services of a particular user at boot using [tt][url=https://www.freedesktop.org/software/systemd/man/loginctl.html]sudo loginctl enable-linger username[/url][/tt].
|
||||
|
||||
Multiple services (but not [tt]--service-types[/tt]) can be installed at one time using multiple [tt]--service[/tt] blocks:
|
||||
[code]installJRMC --install repo --service jriver-x11vnc --service jriver-mediacenter[/code]
|
||||
|
||||
[size=14pt][tt]jriver-x11vnc[/tt] versus [tt]jriver-xvnc[/tt][/size]
|
||||
|
||||
[url=http://www.karlrunge.com/x11vnc/]jriver-x11vnc[/url] shares your existing X display via VNC and can be combined with additional services to start Media Center or Media Server. Conversely, [url=https://tigervnc.org/doc/Xvnc.html]jriver-xvnc[/url] creates a new Xvnc display and starts a JRiver Media Center service in the foreground of the new VNC display.
|
||||
|
||||
[size=18pt]Containers[/size]
|
||||
|
||||
[b]Coming soon![/b]
|
||||
|
||||
[size=18pt]Firewall[/size]
|
||||
|
||||
installJRMC automatically creates port forwarding firewall rules for remote access to Media Network (52100-52200/tcp, 1900/udp DLNA) and Xvnc/x11vnc (if selected), using firewall-cmd or ufw (if available).
|
||||
|
||||
[size=18pt]Other Nicities[/size]
|
||||
[list]
|
||||
[*]Automatically updates [tt]installJRMC[/tt] to the latest release.
|
||||
[*]Activates external third-party repositories for improved media playback (hardware decoding, etc.).
|
||||
[*]Adds temporary legacy repositories to provide deprecated libraries.
|
||||
[*]Links non-standard SSL certs.
|
||||
[*]Activates MC if a valid license file is found in common locations.
|
||||
[/list]
|
||||
|
||||
[size=18pt]Examples[/size]
|
||||
[code]installJRMC[/code]
|
||||
Install the latest version of MC from the best available repository.
|
||||
[code]installJRMC --mcversion 33 --debug[/code]
|
||||
Install the latest version of MC33 from the best available repository with debugging output.
|
||||
[code]installJRMC --install local --compat[/code]
|
||||
Install a more widely-compatible version of the latest MC version.
|
||||
[code]installJRMC --install repo --service jriver-mediacenter --service-type user[/code]
|
||||
Install MC from the repository and start/enable jriver-mediacenter.service as a user service.
|
||||
[code]installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 35.0.24[/code]
|
||||
Build and install an MC 35.0.24 comptability RPM locally and activate it using the [tt]/path/to/license.mjr[/tt].
|
||||
[code]installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code]
|
||||
Build an RPM locally for the current distro, move it to the webroot, and run createrepo as www-user.
|
||||
[code]installJRMC --service jriver-createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code]
|
||||
Install the jriver-createrepo timer and service to build the RPM, move it to the webroot, and run createrepo as www-user hourly.
|
||||
[code]installJRMC --install repo --service jriver-x11vnc --service jriver-mediacenter --vncpass "letmein"[/code]
|
||||
Install services to share the existing local desktop via VNC and automatically run MC on startup.
|
||||
[code]installJRMC --install repo --service jriver-xvnc --display ":2"[/code]
|
||||
Install an Xvnc server on display ':2' that starts MC.
|
||||
[code]installJRMC --uninstall[/code]
|
||||
Uninstall MC, services, and firewall rules. This will [b]not[/b] remove your media, media library/database, or library backups.
|
||||
|
||||
[size=18pt]Additional Info[/size]
|
||||
|
||||
Did you find installJRMC useful? [url=https://paypal.me/bryanroessler]Paypal me a coffee![/url]
|
||||
|
||||
[url=bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a]↓ ↓ ↓ Bitcoin ↓ ↓ ↓[/url]
|
||||
|
||||
[url=bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a][img]https://repos.bryanroessler.com/files/bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a.png[/img][/url]
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,6 +1,7 @@
|
||||
.old/
|
||||
.vscode/
|
||||
README.bbcode
|
||||
installJRMC.zip
|
||||
README.shdoc.md
|
||||
README.bbcode
|
||||
output/
|
||||
*.code-workspace
|
||||
108
README.md
108
README.md
@@ -1,16 +1,17 @@
|
||||
# installJRMC
|
||||
|
||||
This self-contained program will install [JRiver Media Center](https://www.jriver.com/) and associated services on most major Linux distros.
|
||||
Installs [JRiver Media Center](https://www.jriver.com/) and associated services on most Linux distributions.
|
||||
|
||||
You can always find the latest version of installJRMC, changelog, and documentation in [my repository](https://git.bryanroessler.com/bryan/installJRMC).
|
||||
You can find the latest version of installJRMC, changelog, and documentation in [my repository](https://git.bryanroessler.com/bryan/installJRMC).
|
||||
|
||||
## Executing
|
||||
## Usage
|
||||
|
||||
`installJRMC [--option [ARGUMENT]]`
|
||||
|
||||
Running `installJRMC` without any options implies `--install repo` and will install the latest version of JRiver Media Center (MC) from the official JRiver repository (Ubuntu/Debian) or my [unofficial repository](https://repos.bryanroessler.com/jriver/) (Fedora/CentOS) using the system package manager. If any other option is passed, then the default install method (i.e. `--install repo` or `--install local`) must be specified (to allow services and containers to be installed independent of MC).
|
||||
`installJRMC` defaults to `--install=repo` on distros with Media Center repositories and `--install=local` on others.
|
||||
Specifying `--build`, `--createrepo`, `--service`, or `--uninstall` disables the default install method.
|
||||
|
||||
## tl;dr
|
||||
### tl;dr
|
||||
|
||||
`curl https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC|bash`
|
||||
|
||||
@@ -19,78 +20,77 @@ Running `installJRMC` without any options implies `--install repo` and will inst
|
||||
```text
|
||||
$ installJRMC --help
|
||||
--install, -i repo|local
|
||||
repo: Install MC from repository, future updates will be handled by the system package manager
|
||||
local: Build and install MC package locally from official source package
|
||||
--build[=suse|fedora|centos]
|
||||
Build RPM from source DEB but do not install
|
||||
Optionally, specify a target distro for cross-building (ex. --build=suse, note the '=')
|
||||
repo: Install MC from repository, future updates will be handled by the system package manager.
|
||||
local: Build and install MC package locally from official source package.
|
||||
--build[=suse|fedora|centos|mandriva]
|
||||
Build RPM from source DEB but do not install.
|
||||
Optionally, specify a target distro for cross-building (ex. --build=suse, note the '=').
|
||||
--compat
|
||||
Build/install MC without minimum dependency version requirements
|
||||
Build/install MC without minimum dependency version requirements.
|
||||
--mcversion VERSION
|
||||
Build or install a specific MC version, ex. "33.0.30" (default: latest version)
|
||||
Build or install a specific MC version, ex. "35.0.24" or "33" (default: latest).
|
||||
--mcrepo REPO
|
||||
Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: latest official)
|
||||
Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: latest official).
|
||||
--arch ARCH
|
||||
Specify the MC architecture, ex. "amd64", "arm64", etc (default: host architecture)
|
||||
Specify the MC architecture, ex. "amd64", "arm64", etc (default: host architecture).
|
||||
--outputdir PATH
|
||||
Generate rpmbuild output in this PATH (default: ./output)
|
||||
Generate rpmbuild output in this PATH (default: ./output).
|
||||
--restorefile RESTOREFILE
|
||||
Restore file location for automatic license registration
|
||||
Restore file location for automatic license registration.
|
||||
--betapass PASSWORD
|
||||
Enter beta team password for access to beta builds
|
||||
Enter beta team password for access to beta builds.
|
||||
--service, -s SERVICE
|
||||
See SERVICES section below for the list of services to deploy
|
||||
See SERVICES section below for the list of services to deploy.
|
||||
--service-type user|system
|
||||
Starts services at boot (system) or user login (user) (default: per-service, see SERVICES)
|
||||
Starts services at boot (system) or user login (user) (default: per-service, see SERVICES).
|
||||
--container, -c CONTAINER (TODO: Under construction)
|
||||
See CONTAINERS section below for a list of containers to deploy
|
||||
--createrepo[=suse|fedora|centos]
|
||||
See CONTAINERS section below for a list of containers to deploy.
|
||||
--createrepo[=suse|fedora|centos|mandriva]
|
||||
Build rpm, copy to webroot, and run createrepo.
|
||||
Optionally, specify a target distro for non-native repo (ex. --createrepo=fedora, note the '=')
|
||||
Optionally, specify a target distro for non-native repo (ex. --createrepo=fedora, note the '=').
|
||||
--createrepo-webroot PATH
|
||||
The webroot directory to install the repo (default: /var/www/jriver/)
|
||||
The webroot directory to install the repo (default: /var/www/jriver/).
|
||||
--createrepo-user USER
|
||||
The web server user if different from the current user
|
||||
The web server user if different from the current user.
|
||||
--no-update
|
||||
Disable the installJRMC update check
|
||||
Disable the installJRMC update check.
|
||||
--yes, -y, --auto
|
||||
Always assume yes for questions
|
||||
Always assume yes for questions.
|
||||
--version, -v
|
||||
Print this script version and exit
|
||||
Print installJRMC version and exit.
|
||||
--debug, -d
|
||||
Print debug output
|
||||
Print debug output.
|
||||
--help, -h
|
||||
Print help dialog and exit
|
||||
Print help dialog and exit.
|
||||
--uninstall, -u
|
||||
Uninstall JRiver MC, service files, and firewall rules (does not remove library or media files)
|
||||
Uninstall JRiver MC, service files, and firewall rules (does not remove library or media files).
|
||||
```
|
||||
|
||||
### `--service=`
|
||||
|
||||
```text
|
||||
jriver-mediaserver [--service-type=user]
|
||||
Enable and start a mediaserver systemd service (requires an existing X server)
|
||||
Enable and start a mediaserver systemd service (requires an existing X server).
|
||||
jriver-mediacenter [--service-type=user]
|
||||
Enable and start a mediacenter systemd service (requires an existing X server)
|
||||
Enable and start a mediacenter systemd service (requires an existing X server).
|
||||
jriver-x11vnc [--service-type=user]
|
||||
Enable and start x11vnc for the local desktop (requires an existing X server, does NOT support Wayland)
|
||||
--vncpass and --display are also valid options (see below)
|
||||
Enable and start x11vnc for the local desktop (requires an existing X server, does NOT support Wayland).
|
||||
--vncpass and --display are also valid options (see below).
|
||||
jriver-xvnc [--service-type=system]
|
||||
Enable and start a new Xvnc session running JRiver Media Center
|
||||
Enable and start a new Xvnc session running JRiver Media Center.
|
||||
--vncpass PASSWORD
|
||||
Set vnc password for x11vnc/Xvnc access. If no password is set, the script will either use existing password stored in ~/.vnc/jrmc_passwd or use no password
|
||||
Set vnc password for x11vnc/Xvnc access. If no password is set, the script will either use existing password stored in ~/.vnc/jrmc_passwd or use no password.
|
||||
--display DISPLAY
|
||||
Manually specify display to use for x11vnc/Xvnc (ex. ':1')
|
||||
Manually specify display to use for x11vnc/Xvnc (ex. ':1').
|
||||
jriver-createrepo [--service-type=system]
|
||||
Install hourly service to build latest MC RPM and run createrepo
|
||||
By default installs as root service to handle www permissions more gracefully
|
||||
Install hourly service to build latest MC RPM and run createrepo.
|
||||
```
|
||||
|
||||
#### `--service-type=`
|
||||
|
||||
By default, MC services use a sane `--service-type` listed next to the service name in the [`--service=`](#--service) section. User services begin at user login and are managed by the unprivileged user, for example: `systemctl --user stop jriver-mediacenter`. System services begin at boot and are managed by root, for example: `sudo systemctl stop jriver-servicename@username.service`. It is possible to run all services of a particular user at boot using [`sudo loginctl enable-linger username`](https://www.freedesktop.org/software/systemd/man/loginctl.html).
|
||||
Services use a sane default `--service-type` listed next to the service name in the [`--service=`](#--service) section. User services begin at user login and are managed by the unprivileged user, for example: `systemctl --user stop jriver-mediacenter`. System services begin at boot and are managed by root, for example: `sudo systemctl stop jriver-servicename@username.service`. It is possible to run all services of a particular user at boot using [`sudo loginctl enable-linger username`](https://www.freedesktop.org/software/systemd/man/loginctl.html).
|
||||
|
||||
Multiple services (but not `--service-types`) can be installed at one time using multiple `--service` blocks: `installJRMC --install repo --service jriver-x11vnc --service jriver-mediacenter`
|
||||
Multiple services (but not `--service-types`) can be installed at one time using multiple `--service` blocks: `installJRMC --install=repo --service=jriver-x11vnc --service=jriver-mediacenter`
|
||||
|
||||
#### `jriver-x11vnc` versus `jriver-xvnc`
|
||||
|
||||
@@ -102,9 +102,15 @@ Multiple services (but not `--service-types`) can be installed at one time using
|
||||
|
||||
## Firewall
|
||||
|
||||
`installJRMC` automatically creates port forwarding firewall rules for remote access to Media Network (52100-52200/tcp, 1900/udp DLNA) and Xvnc/x11vnc (if selected), using `firewall-cmd` or `ufw`.
|
||||
`installJRMC` automatically creates port forwarding firewall rules for remote access to Media Network (52100-52200/tcp, 1900/udp DLNA) and Xvnc/x11vnc (if selected), using `firewall-cmd` or `ufw` (if available).
|
||||
|
||||
**Note:** `ufw` is not installed by default on Debian but will be installed by `installJRMC`. To prevent SSH lock-out, Debian users that have not already enabled `ufw` will need to `sudo ufw enable` after running `installJRMC` and inspecting their configuration.
|
||||
## Other Nicities
|
||||
|
||||
* Automatically updates `installJRMC` to the latest release.
|
||||
* Activates external third-party repositories for improved media playback (hardware decoding, etc.).
|
||||
* Adds temporary legacy repositories to provide deprecated libraries.
|
||||
* Links non-standard SSL certs.
|
||||
* Activates MC if a valid license file is found in common locations.
|
||||
|
||||
## Examples
|
||||
|
||||
@@ -112,6 +118,10 @@ Multiple services (but not `--service-types`) can be installed at one time using
|
||||
|
||||
Install the latest version of MC from the best available repository.
|
||||
|
||||
* `installJRMC --mcversion 33 --debug`
|
||||
|
||||
Install the latest version of MC33 from the best available repository with debugging output.
|
||||
|
||||
* `installJRMC --install local --compat`
|
||||
|
||||
Install a more widely-compatible version of the latest MC (for older distros).
|
||||
@@ -120,9 +130,9 @@ Multiple services (but not `--service-types`) can be installed at one time using
|
||||
|
||||
Install MC from the repository and start/enable `jriver-mediacenter.service` as a user service.
|
||||
|
||||
* `installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 33.0.30`
|
||||
* `installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 35.0.24`
|
||||
|
||||
Build and install an MC 33.0.30 compatibility RPM locally and activate it using the `/path/to/license.mjr`
|
||||
Build and install an MC 35.0.24 compatibility RPM locally and activate it using the `/path/to/license.mjr`.
|
||||
|
||||
* `installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user`
|
||||
|
||||
@@ -146,6 +156,10 @@ Multiple services (but not `--service-types`) can be installed at one time using
|
||||
|
||||
## Additional Info
|
||||
|
||||
Did you find `installJRMC` useful? [Buy me a coffee!](https://paypal.me/bryanroessler)
|
||||
Find a bug? [Let me know on Interact!](https://yabb.jriver.com/interact/index.php/topic,141168.0.html)
|
||||
|
||||
Did you find a bug? Let me know on [Interact!](https://yabb.jriver.com/interact/index.php/topic,134152.0.html)
|
||||
Find `installJRMC` useful? [Paypal me a coffee!](https://paypal.me/bryanroessler)
|
||||
|
||||
[↓ ↓ ↓ Bitcoin ↓ ↓ ↓](bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a)
|
||||
|
||||
[](bitcoin:bc1q7wy0kszjavgcrvkxdg7mf3s6rh506rasnhfa4a)
|
||||
|
||||
1850
installJRMC
1850
installJRMC
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user