How to install Ubuntu on Jellyfin

Its been a few months after I move to Jellyfin since Plex got hacked, initially I install it on Windows and now Im trying to run it with Ubuntu so wanted to write a small tutorial on how to install and configure.

Installing and configuring Jellyfin on Ubuntu is a simple process that can be completed in just a few steps. In this tutorial, we will walk you through the process of installing Jellyfin on Ubuntu and configuring it to work with your media library.

Step 1: Install Jellyfin on Ubuntu

The first step in installing Jellyfin on Ubuntu is to add the Jellyfin repository to your system. To do this, open a terminal window and enter the following command:

sudo add-apt-repository ppa:jellyfin/jellyfin

This will add the Jellyfin repository to your system. Next, update your package lists by entering the following command:

sudo apt-get update

Now that the repository has been added, you can install Jellyfin by entering the following command:

sudo apt-get install jellyfin

This command will install the latest version of Jellyfin on your system.

Step 2: Configure Jellyfin

Once Jellyfin is installed, you will need to configure it to work with your media library. The first step in this process is to open a web browser and navigate to the following address:

http://localhost:8096

This will open the Jellyfin web interface in your browser. You will be prompted to create an account and log in. Once you have logged in, you will be taken to the Jellyfin dashboard.

Step 3: Add Media Libraries

The next step is to add your media libraries to Jellyfin. To do this, click on the “Libraries” button in the Jellyfin dashboard. This will open the library management page. Click on the “Add Library” button to add a new library.

You will be prompted to select the type of library you want to add. You can choose from movies, TV shows, music, and photos. Once you have selected the type of library, you will be prompted to select the location of the library on your system.

Step 4: Configure Media Libraries

Once you have added your media libraries to Jellyfin, you will need to configure them to work with your media files. To do this, click on the “Edit” button next to the library you want to configure.

You will be taken to the library configuration page. Here, you can configure various settings such as the media type, metadata, and file naming conventions. Once you have finished configuring your library, click on the “Save” button.

Step 5: Start Streaming

Once you have added and configured your media libraries, you can start streaming your media files. To do this, click on the “Stream” button in the Jellyfin dashboard.

This will open the streaming page, where you can browse and play your media files. You can also use the Jellyfin mobile app to stream your media files on your mobile device.

Conclusion

Installing and configuring Jellyfin on Ubuntu is a simple process that can be completed in just a few steps. By following the steps outlined in this tutorial, you can easily set up Jellyfin to work with your media library and start streaming your media files.

Plex Got Hacked | Jellifyn Migration Got Pushed

Plex has been my option to go when it comes to share media between friends and family for many years, running more than two instances to control access and schedule when users can consume this data, for the past years I was ok with using their portal as the way to sing up and after sometime move to direct usage of my server by port forwarding and using my proxy to access data but you still have mobile devices that use the Plex website to login so most recently I move to a VPN setup where I would still have to login to the Plex.tv site but access my server only via VPN and not exposing the service to the internet, until today.

https://www.theverge.com/2022/8/24/23319570/plex-security-breach-exposes-usernames-emails-passwords

Plex.tv got hacked, they send an email that starts the following

“Dear Plex User,

We want you to be aware of an incident involving your Plex account information yesterday. While we believe the actual impact of this incident is limited, we want to ensure you have the right information and tools to keep your account secure.”

This is HOT right now, the Plex.tv sing in page times out and the Plex server itself is slow AF since you have to claim the server after changing your password, I mange to change my passwords but its hard to use the server right now, eventually less people access the site and things will go back to normal but Plex was in the path of my de-google/privacy plan for this year, meaning moving away from any Google Service and consuming content without having to login as much as possible, along with many other privacy and security measures.

This recent event push me to do something I was delaying but was inevitable, migrating to Jellyfin

You can find many videos of Plex vs Jellyfin but in the short term having the service running locally without using an external or public website to login and not having to use an email to access my local service, I hope this migration goes smooth.

 

Mongo DB V5 wont run on older CPU | YoutubeDL-Material | Docker Container

I have been struggling trying to get YoutubeDL-Material run smooth with Mongo DB as a separate container that just wont run since the deployment or with a local DB and I was still getting all kind of performance troubles until I found this recent post from 23 Hours ago on the YoutubeDL-Material Github

[BUG] Building with Mongo v5 causes issues on older CPU version that don’t support AVX #733

https://github.com/Tzahi12345/YoutubeDL-Material/issues/733

Docker Compose File with latest YoutubeDL-Material image link here

I try with different Ubuntu versions from 18 to 20 and still same issues until I found this post on Github that takes you to link:

https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610

Basically explains that older CPU except most of i3/i4/i7 as shown on the next link, wont support AVX
https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX

I did try ton a i7-3770k that’s my media vault and my ESXi runs a pair of Xeon E5649 but still same issue

To keep testing I still have a i3-9100, i5-6500, i5-4570

CPUs that wont support AVX are Pentium and Celeron, at least for me this is a relief since I was going mad crazy with all this performance issues

UPDATE: For the purpose of testing I took the VM and ran it on VMWare Workstation 16 PRO, this machine has a i5-4570, where the Mongo DB container runs without problems so now I will just add about 10 subscriptions and see whats the performance for a few days

Before on my Xeon E5649 the Mongo DB container will keep restarting and on the i7-3770k after a few days the CPU usage would go to 100% until the VM just hang, now on this other machine with the i5-4570 I will let it run for a few days and see how it goes.

Browser Privacy Extensions

Lurking r/PrivacyGuides found this list of plugins very useful if you are using classic browsers although some of the are already inside other browsers, Im currently using Libre Wolf and have been moving more into local instances of things like Reddit, Youtube and Google using docker containers

– SearNGX as front end for browsers
– Indivious as front end for Youtube
– Libreddit as front end for Reddit

All this containers allow me to browse and interact with this sites without having an account and avoiding all the adds within them, most recently decided to use YoutubeDL-Material to download all Youtube videos from channels that Im subscribe and publish to Plex, I also might change to Jellyfin but not yet, Im working on a format for the videos Ill be publishing about this resources.

Here the list of plugins:

  • CanvasBlocker – Partially protects you from creating a so-called “browser fingerprint”. In times of total surveillance, this is a very useful solution.
  • Decentraleyes – An add-on that protects you from being tracked by content delivery networks. A good addition to CanvasBlocker.
  • Cookie AutoDelete – Clears cookies automatically.
  • HTTPS Everywhere – Redirects to https versions of sites. I highly recommend enabling the http blocking feature after installation.
  • ClearURLs – A simple add-on to clear links from tracking parameters.
  • NoScript – One of the most useful add-ins. Allows you to prohibit JS execution on all sites except those you choose. It’s also an excellent protector against XSS and ClickJacking attacks.
  • DuckDuckGo Privacy Essentials – A comprehensive extension to protect your privacy.
  • SimpleLogin – Protects your email from spam and makes it harder to track, using it as a unique identifier.
  • Link Unshorten – Undoes link shortening. Extremely useful to protect against various scams and phishing.
  • Random User-Agent – Automatically change your UserAgent.
  • Privacy Redirect – Redirects you from sites full of spyware and ads to sites which respect your privacy and freedom.
  • Panic Button – Helps you close all your tabs with a click of a button. I recommend it along with Cookie AutoDelete
  • uBlock Origin – Blocks ads and other crap.

Original Post:

https://reddit.com/r/PrivacyGuides/comments/wm23zt/some_extensions_for_better_privacy/

Open Source Projects for Windows – List of Projects

This is a list of Open Source projects that run on Windows and many are cross platform, found this list on Reddit r/opensource and wanted to share it, you can also get to the original post on Github https://github.com/auctors/free-lunch, I will be covering some of them in the future since there are a couple that I personally use. Enjoy!!

Audio

Audio Players

  • foobar2000 – An advanced freeware audio player. store
  • AIMP – A full-featured music player. store
  • MusicBee – A music manager and player. store
  • Museeks – A simple, clean and cross-platform music player. repo
  • Dopamine – An elegant audio player which tries to make organizing and listening to music as simple and pretty as possible. repo
  • Harmonoid – Elegant music app to play & manage music library.
  • Strawberry Music Player – A music player and music collection organizer. repo
  • DeaDBeeF – A modular cross-platform audio player. repo
  • CPOD – A simple, beautiful podcast app.
  • nuclear – Streaming music player that finds free music for you. repo
  • YouTube Music Desktop App – A Desktop App for YouTube Music. repo
  • Cider – An open source and community oriented Apple Music client. repo
  • Spotube – A lightweight free Spotify crossplatform-client which handles playback manually, streams music using Youtube & no Spotify premium account is needed.
  • Lofi – A mini Spotify player with WebGL visualizations. repo

Audio Editors

    • Audacity – An easy-to-use, multi-track audio editor and recorder. repo
    • Tenacity – An easy-to-use, privacy-friendly, FLOSS, cross-platform multi-track audio editor/recorder. repo
    • fre:ac – A free audio converter and CD ripper with support for various popular formats and encoders. repo store
    • MusicBrainz Picard – An open-source cross-platform music tagger. repo store
    • Mp3tag – A powerful and easy-to-use tool to edit metadata of audio files. store
    • Kid3 – An open-source cross-platform audio tag editor for many audio file formats.
Read More

3CX PBX Provision Grandstream GXP-1615 | 3CX Grandstream Wont Provision – SOLVED

IP PBX is something I wanted to try at least for friends and family who dont like / hate Whatsapp calls and at the same time want some more privacy so I setup 3CX PBX on Debian, very easy setup and so far have been using the Windows Desktop APP with a Polycom CX200 that I had laying around, Iphone APP on my Iphone 10, Android APP on my Whifes Samsung Glaxy S21 and Web Client around the house, family members use Android App too, so far so good but I decided to install a physical phone at home in the living room and this is when I face some troubles and notice a few wierd behaviours, IM 100% sure there is something that I DID INCORRECTLY on my setup and decided to open a TROUBLESHOOTING category to log my Fuckups, not everything is unicorns and rainbows in the IT world.

Enviroment
-VMware ESXi
-4 vCPU / 8GB Ram / 120GB
-3CX VMware Appliance (Debian)
-Phone Grandstream GXP-1615
-Local provision not remote
-Cloudflare Proxy
-Cloudflare SSL

-IP Blacklist is Empty
-No network restrictions
-Other extensions work fine with mobile app, windows desktop app and web client

Steps I have taken so far in the following order

  • Power up phone connected to local network, same network as 3CX PBX, login to the phone webpage and factory reset (also try directly on the phone before)

Phone reboots

-Two red lights come up
-Message “Loading user data … done” show on screen
-Then Shows 1969-12-31 and 7:20 p.m
-Then Shows today 7/4/2022 and 5:30 p.m

I login to the phone site and the login credentials are default so it did reset, firmware version is the one supported by 3CX, the first time the phone was connected 3CX suggested the FW Version 1.0.7.13 so I proceed and click on update

Here I select the phone and then Assign Ext

Read More

Simple HTTP Windows Server – One Click HTTP Server

Just wanted to make a post to free my mind a bit after two days fighting with a Grandstream GXP-1615 trying to provision on my 3Cx PBX but thats a topic for another post, I was looking for a easy way to setup an HTTP server on windows so I can point the phone to it via HTTP, I know how to setup an FTP and TFTP but didnt want to at the moment so I think this is farly more simple than those two other options, so just wanted to update the firmware on my phone and found this little gem on Github

https://github.com/TheWaWaR/simple-http-server

Its very basic, all you to do is download the file and then run it, the root folder for the HTTP server is the folder where the .exe file is in, you can see on the picture that C:\Users\myuser\Downloads is where the file is running and there you can drop what ever you want to serve, instead of going through the process of setting up IIS or Apache or any other commonly known HTTP server I think this one is extremely simple. Read More

Docker App Templates

 

Here a few list of different ppl on Github that created some extensive list of app templates since the default one on portainer is a bit short, test the template on testing enviroment first befor using it on production.

 

  • https://raw.githubusercontent.com/ntv-one/portainer/main/template.json
  • https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json
  • https://raw.githubusercontent.com/OliverCullimore/portainer-templates/master/templates.json
  • https://raw.githubusercontent.com/xneo1/portainer_templates/master/Template/template.json
  • https://raw.githubusercontent.com/mycroftwilde/portainer_templates/master/Template/template.json
  • https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/portainer-v2.json