What you need: Raspberry Pi 4 External Hard Drive STEP 1 Raspberry Pi Imager: https://www.raspberrypi.org/software/ Update your Pi sudo apt update && sudo apt upgrade STEP 2 - Install OpenMediaVault Run this command: wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash INSTALL PLEX MEDIA SERVER Install the https-transport package sudo apt-get install apt-transport-https Add the Plex repositories curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list sudo apt-get update Install Plex sudo apt install plexmediaserver If this doesn't work, download the compilied binary pagckage .deb manually as explained in the artcle given here : https://www.linuxbabe.com/debian/install-plex-media-server-debian-10-buster .
grep <text pattern> <file to be checked> grep -f<pattern file> <file to be checked> example: grep -f pattern.txt /var/log/apache2/access.log -f to input search patterns one search pattern per line do not include space/enter empty lines at the end - it will result displaying the whole file as it has enter '\r, '\n' characters contents of pattern.txt : /admin/system-monitor/flood-protect HTTP/1.1" 200 582 /admin/system-monitor/flood-protect HTTP/1.1" 200 590
Comments
Post a Comment