Posts for: #Network

How I Auto Mount Network Drives in Linux

Steps

  1. Install cifs-utils: This package is necessary for mounting CIFS/SMB shares. You can install it using your distribution’s package manager. For example, on Debian-based systems, you can use:

    sudo apt-get install cifs-utils
    

    On Arch Linux, you can use:

    sudo pacman -S cifs-utils
    
  2. Create a Mount Point: Create a directory where the network drive will be mounted. For example:

    sudo mkdir /mnt/networkdrivename
    
  3. Edit /etc/fstab: Add an entry to your /etc/fstab file to automatically mount the network drive at boot. Use the following format:

Read more

JBoeTech Plex Install

Distro: Ubuntu Server notes: Install OpenSSH dependencies: nano, cifs-utils, Plex, OpenSSH See also: [[How I Auto Mount Network Drives in Linux]]

  1. Add Plex to the repo:
echo deb [https://downloads.plex.tv/repo/deb](https://downloads.plex.tv/repo/deb) public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
curl [https://downloads.plex.tv/plex-keys/PlexSign.key](https://downloads.plex.tv/plex-keys/PlexSign.key) | sudo apt-key add -
  1. Update the repo
sudo apt update
  1. Install Plex
sudo apt install plexmediaserver
  1. Auto start Plex
sudo systemctl enable plexmediaserver.service
  1. Connect to the web server: ip.address:32400/web

  2. Connect your files If you have not added network shares to your plex machine, see [[01192025 Auto Mount Network Drives in Linux]]

Read more