Learn Linux with me.

Image
User avatar
Dazbobaby
Posts: 420
Joined: Thu Dec 13, 2018 5:12 pm
Location: Doing your sister
PSN Username: dazbobaby
Xbox Username: Don Mulleano
Contact:

Unread post Wed Oct 30, 2019 5:55 pm

Install Plex Media Server on Debian Linux

Plex is so ubiquitous that installation today is trivial, but you'll need to add the repo so you can auto-update in future, and install a security key that authorises the system to fetch the update.

Step one, enable the repository to download plex and updates

Code: Select all

echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
Step two, add the public key. This tells the operating system that this source and apps are safe.

Code: Select all

curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
Step three. Install plex media server.

Code: Select all

sudo apt-get install plexmediaserver
Job done, now you'll need to visit the server and add some media
mine is on http://192.168.1.8:32400

http:// this sets up your browser for visiting a web page.
192.168.1.8 this is an internal IP address on my home network, variations include 192.168.0.8 or 10.0.0.1 or 172.16.0.1 though the last 2 ranges are generally used for business networks.
:32400 is the default port that plex uses. Ports range from 0 to 35565. Some are reserved, :80 is the default port for websites, 443 is the default port for SSL certificates... the padlock next to a web address.

Image
You exchange your time for money when you work. You can always make more money. You cannot make more time.
From Hull, from Halifax, from Hell, ‘tis thus, From all these three, Good Lord deliver us.
User avatar
Dazbobaby
Posts: 420
Joined: Thu Dec 13, 2018 5:12 pm
Location: Doing your sister
PSN Username: dazbobaby
Xbox Username: Don Mulleano
Contact:

Unread post Wed Oct 30, 2019 6:06 pm

And it's done
Screenshot_2019-10-30 Plex.jpg
Image
You exchange your time for money when you work. You can always make more money. You cannot make more time.
From Hull, from Halifax, from Hell, ‘tis thus, From all these three, Good Lord deliver us.
User avatar
Dazbobaby
Posts: 420
Joined: Thu Dec 13, 2018 5:12 pm
Location: Doing your sister
PSN Username: dazbobaby
Xbox Username: Don Mulleano
Contact:

Unread post Mon Nov 04, 2019 9:31 pm

Linux Data Recovery
A few years ago I bought a Western Digital EX4100 4 bay SATA NAS.
I also bought 4 x 4TB HDD's to install. I set them up as JBOD (just a bunch of disks), one drive at a time.
1. Movies / TV Shows / Other
2. Music
3. Data Backups, drive images, VM's etc.
4. 4K movies
Well today I had an isue with #1, I could read but not write on one of my PC's. So I logged into the NAS and removed the share, then just re-added it. Only one problem. Removing the share formatted the drive. WHY THE FUCK IT SHOULD FORMAT THE FUCKING DRIVE IS BEYOND ME. If I changed from JBOD to raid 0,1,5,10 then I could understand, but I didn't, I just removed the share and re-added it.
Strangely enough, it did actually work, so there was definitely a little problem with the share script and remaking it worked.

So now I have to let my spare PC sit there for 48 hours recovering the data. The only USB adapter I could find will only work at USB 2 speeds. So around 40MBs. VERY VERY SLOOOOOoooooow!

Code: Select all

sudo apt-get install testdisk

Code: Select all

sudo photorec /dev/sdc3
*
The location dev/sdc3 is applicable to my install, you may very well differ.

/sdc3 is disk c, third partition.

I guess my next video will be setting up a new FUCKING NAS!

Code: Select all

PhotoRec 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org

Disk /dev/sdc - 4000 GB / 3726 GiB (RO) - WDC WD40 EZRX-00SPEB0
     Partition                  Start        End    Size in sectors
 2 P MS Data                391 191 57 486270 170 44 7805644800 [Microsoft basic data]

Destination /mnt/1TB/recup_dir

Pass 1 - Reading sector   95408656/7805644800, 248 files found
Elapsed time 0h31m55s - Estimated time to completion 42h59m16
png: 90 recovered
txt: 61 recovered
tar: 53 recovered
jpg: 12 recovered
mov: 7 recovered
gif: 5 recovered
mpg: 5 recovered
mkv: 4 recovered
woff: 4 recovered
others: 7 recovered
[/color]
Image
You exchange your time for money when you work. You can always make more money. You cannot make more time.
From Hull, from Halifax, from Hell, ‘tis thus, From all these three, Good Lord deliver us.
User avatar
Dazbobaby
Posts: 420
Joined: Thu Dec 13, 2018 5:12 pm
Location: Doing your sister
PSN Username: dazbobaby
Xbox Username: Don Mulleano
Contact:

Unread post Tue Nov 05, 2019 6:58 pm

So after trying to get the data back and failing, I reinstalled the drive, only to find that the FUCKING GARBAGE Western Digital EX4100 doesn't just want to add this one drive into the JBOD, it want's to format ALL the fucking drives at once.

Do you think this is enough FUCK YOU's?
Should I add more?
https://the-bionic-cyclist.co.uk/2018/0 ... er-review/
Image
You exchange your time for money when you work. You can always make more money. You cannot make more time.
From Hull, from Halifax, from Hell, ‘tis thus, From all these three, Good Lord deliver us.
User avatar
Dazbobaby
Posts: 420
Joined: Thu Dec 13, 2018 5:12 pm
Location: Doing your sister
PSN Username: dazbobaby
Xbox Username: Don Mulleano
Contact:

Unread post Tue Nov 05, 2019 7:12 pm

Image
You exchange your time for money when you work. You can always make more money. You cannot make more time.
From Hull, from Halifax, from Hell, ‘tis thus, From all these three, Good Lord deliver us.
Post Reply