Skip to content

Instantly share code, notes, and snippets.

@hoto
Last active November 30, 2019 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoto/1037407cb63ecde96d65a2e93fede499 to your computer and use it in GitHub Desktop.
Save hoto/1037407cb63ecde96d65a2e93fede499 to your computer and use it in GitHub Desktop.
# set screen lock after 1 min
setterm -blank 1
# enable wired connection
nmcli connection up id enp2s0
# install stuff
dnf update -y
dnf install vim mc NetworkManager-tui -y
# enable wired connection on boot
nmtui
# apply changes
reboot
# copy ssh keys
ssh-copy-id -i ./id_rsa.pub plex
ssh-copy-id -i ./id_ed25519.pub plex
# disable ssh via password, set following to no:
### UsePAM no
### PasswordAuthentication no
vim /etc/ssh/sshd_config
#reload ssh
systemctl reload sshd
# install plex
mkdir ~/downloads
cd ~/downloads
wget https://downloads.plex.tv/plex-media-server-new/1.18.2.2058-e67a4e892/redhat/plexmediaserver-1.18.2.2058-e67a4e892.x86_64.rpm
dnf install ./plexmediaserver-1.18.2.2058-e67a4e892.x86_64.rpm
# enable firewall rules for PLEX
https://192.168.1.11:9090/network/firewall
#If still not working then additional ports: https://support.plex.tv/articles/201543147-what-network-ports-do-i-need-to-allow-through-my-firewall/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment