I got the job guys. Double the pay and half the work. It's absolutely insane. I couldn't even process it yesterday when I got the call.
Best posts made by wirestyle22
-
RE: What Are You Doing Right Now
-
RE: What Are You Doing Right Now
Had a very strong interview yesterday. I'd be surprised if I didn't get the job. Double the pay half the work essentially.
-
Setting Up Samba for Use with Plex (CentOS 7.2 Minimal)
There are no guides online that I have found which attempt to teach anyone how to properly install Plex on a CentOS 7.2 server while also explaining what you are actually doing. I'm attempting to do that here but this is also my first guide so I will be editing over time to make it as good as It can be. I'm not a Linux master by any stretch of the imagination. I hope this helps someone in a similar position.
First we will update CentOS (wiki)
yum update -y
You can use
vi
as your text editor but I prefernano
. This is just personal preference.
yum install nano -y
Now we need to install Samba (wiki)
yum install samba samba-client samba-common -y
Change the directory to root and then create the samba directory
cd /
mkdir -p /samba
We need to set permissions and ownership of the samba folder
chmod -r 0777 /samba
<---permissions
chown -r nobody:nobody /samba
<---ownershipNow we will set SELinux (wiki) permissions
chcon -t samba_share_t /samba
At this point it's a good idea to create a backup of your samba configuration file just in case something goes wrong with your configuration.
cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
Now we need to edit the samba configuration file.
vi
would be in place ofnano
if you are using that text editor.
nano /etc/samba/smb.conf
Scroll down to Network-Related Options.
workgroup = WORKGROUP
netbios name = Plex
max protocol = SMB3
Remove semicolons before the existing lines so they aren't commented out. Directly below max protocol add the following:
security = user
map to guest = bad user
dns proxy = no
Now you need to create a share definition so we can access Plex from any PC. PgDN or scroll to the bottom of the document and enter the following.
[Plex]
path = /samba
browsable = yes
writable = yes
guest ok = yes
read only = noNow exit and save your changes
Enable the smb and nmb services
systemctl enable smb.service
systemctl enable nmb.service
I always restart the services just in case. This may be unncessary.
systemctl restart smb.service
systemctl restart nmb.service
Firewall permissions need to be created and then the firewall needs to be reloaded
firewall-cmd --permanent --zone=public --add-service=samba
firewall-cmd --reload
Map \<ip address\Plex to your windows PC. Once that succeeds I always create a text file to verify I have write access.
Now, on your Windows PC download: Plex https://www.plex.tv/downloads/ I chose 64bit CentOS
Drag the .rpm file over into the drive you just mapped in Windows.
Back in CentOS we need to run a local install of Plex
cd /samba
ls
<--- To verify that the file is there
yum localinstall plexmediaserver-0.9.16.4.1911-ee6e505.x86_64
[Note: Once you start typing plex you can hit TAB and it will attempt to autofill the file name. Since there is only one file there is no chance of it autofilling the wrong file name.]Let's start the Plex service and stop the firewall service for testing purposes
systemctl start plexmediaserver.service
systemctl stop firewalld.service
On your windows PC open up your browser and test connectivity to your Plex server:
http://<ip address>:32400
Reboot the server.
Stop the Plex service
systemctl stop plexmediaserver.service
Now we need to allow Plex through the firewall (this will be a new document).
nano /etc/firewalld/services/plexmediaserver.xml
Enter the following
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Plex Media Server</short>
<description>This opens up PlexMediaServer for http (32400), upnp, and autodiscovery.</description>
<port protocol="tcp" port="32469"/>
<port protocol="udp" port="32413"/>
<port protocol="udp" port="1900"/>
<port protocol="tcp" port="32400"/>
<port protocol="udp" port="32412"/>
<port protocol="udp" port="32410"/>
<port protocol="udp" port="32414"/>
</service>Now add the Plex service to the firewall
firewall-cmd --permanent --add-service=plexmediaserver
firewall-cmd --permanent --zone=public --add-service=plexmediaserver
Reboot the server.
On your windows PC open up your browser and test connectivity to your Plex server:
http://<ip address>:32400
Note: In order to use your Plex Media Server remotely you will need to configure port forwarding on your router. The default port as listed above is 32400.Now you can browse your Plex files on your Windows PC and add/remove what you want.
Follow Plex's media preparation guidelines: https://support.plex.tv/hc/en-us/categories/200028098-Media-Preparation
-
RE: What Are You Doing Right Now
@johnhooks said:
Guys I have a server I'm running to display a slideshow of my cats. It has to run 28/8/368. Downtime is not an option, I can't not see my cat's pictures. I need 40 TB of storage in RAID 0 for ultra redundancy and my budget is some change I found in the parking lot. Can anyone help me?
I created a Raspi Supercomputer for this very purpose. It was only $2000 for the computer, $1000 for the network rack w/switches and an 8 bay Synology NAS as a backup. I'm going to push them out to remote sites into digital picture frames and a projector so I can project them onto my local water tower.
-
Renewing Let's Encrypt certificates using a systemd timer
Create a service unit file in
/etc/systemd/system/certbot-renewal.service
[Unit] Description=Certbot Renewal [Service] ExecStart=/usr/bin/certbot renew --post-hook "systemctl restart httpd"
Create the timer unit file
/etc/systemd/system/certbot-renewal.timer
[Unit] Description=Timer for Certbot Renewal [Timer] OnCalendar=*-*-* 01,13:00:00 RandomizedDelaySec=3600 Unit=certbot-renewal.service [Install] WantedBy=multi-user.target
start the timer
systemctl start certbot-renewal.timer
enable to start the timer on boot
sudo systemctl enable certbot-renewal.timer
status
systemctl status certbot-renewal.timer
journal
journalctl -u certbot-renewal.service
*Included JB's timer.
-
RE: Random Thread - Anything Goes
After almost 3 weeks in the hospital, my Grandpa is apparently going home tomorrow or friday once the oxygen tank delivery arrives at his home. I was really worried we were going to lose him. We had a lot of scares throughout this time. The guy is 78 years old and survived a confirmed covid case. Hopefully this gives any of you that have sick relatives some hope.
-
RE: What Are You Doing Right Now
Closing on the house tomorrow. Got my ubiquiti equipment ready
-
RE: Configuring Windows Server 2016 Core. Part1: Installation
@aidan_walsh afaik there is no reason to install it as a role. All it does is create unnecessary licensing dependencies.
Latest posts made by wirestyle22
-
RE: Meeting Room Manager Solutions/Displays with Office 365 Integration
Turns out our headquarters uses: https://www.sharingcloud.com/?lang=en
I've never heard of this, but if we choose to use it I'll be able to answer questions in a few months.
-
Meeting Room Manager Solutions/Displays with Office 365 Integration
Hey,
We currently have Evoko displays but they are old and we're moving offices. Seems like a good time to upgrade. I have a meeting scheduled with Evoko but has anyone found something that works as good or better?
-
RE: What Are You Doing Right Now
@RojoLoco This is an incredible album. Thanks for the recommendation.
-
RE: You need a passphrase to unlock the secret key for
@JaredBusch I have a file that exports the username and password in the script, so I am using a password. Sadly this error just fixed itself with no changes and everything is working as intended now so I won't know what the root cause of this was. Thanks for replying though.
-
You need a passphrase to unlock the secret key for
When I try to sign a file with GPG I get the following error:
"You need a passphrase to unlock the secret key for user: "USERID (DESCRIPTION) [email protected]
2048-bit RSA key, ID 01010101, created 2023-7-2"I looked this up and when you import keys you need to do the following:
GPG --edit-key 01010101GPG>trust
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)1 = I don't know or won't say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menuYour decision? 5
I verified in the key that is has the ultimate level of trust as well as all subkeys, but it's still behaving in the same way. I killed the process and tried again with the same result. Any ideas?
-
RE: Bathroom etiquette
@Dashrender I was in the army and I never unlearned this lol
-
RE: Bathroom etiquette
@nadnerB said in Bathroom etiquette:
Here’s a useful guide I discovered:
Youtube Videolol this is great
-
RE: Gaming - What's everyone playing / hosting / looking to play
I'm still grinding BlazBlue: Central Fiction, playing in tournaments and whatnot. I also play Guilty Gear Strive in tournament as well. Probably my two main games.
-
RE: Bathroom etiquette
@scottalanmiller said in Bathroom etiquette:
@wirestyle22 said in Bathroom etiquette:
I have always operated under this unspoken rule--when we're in a public restroom we do not acknowledge each others existence. If there is an option you always leave one urinal between both of you. It's been 37 years of me operating under this ruleset. Today I got into the bathroom and I'm washing my hands before I use the restroom...because that makes sense (i will die on this hill) and my coworker I barely know walks in. He says "Hey Ian!" and walks up to me and touches my shoulder. I am basically thrown into chaos because this guy apparently operates on a complete opposing ruleset than me. I walk over to the urinal and he follows. There are five urinals that area empty and he stands directly next to me.
Am I mistaken in my understanding of social norms or is this really fucking weird
OMG, this is why we can't have nice things. This is why we cannot return to the office. People don't know the rules anymore!
This threw me today. I have been thrown
-
Bathroom etiquette
I have always operated under this unspoken rule--when we're in a public restroom we do not acknowledge each others existence. If there is an option you always leave one urinal between both of you. It's been 37 years of me operating under this ruleset. Today I got into the bathroom and I'm washing my hands before I use the restroom...because that makes sense (i will die on this hill) and my coworker I barely know walks in. He says "Hey Ian!" and walks up to me and touches my shoulder. I am basically thrown into chaos because this guy apparently operates on a complete opposing ruleset than me. I walk over to the urinal and he follows. There are five urinals that area empty and he stands directly next to me.
Am I mistaken in my understanding of social norms or is this really fucking weird