Search This Blog

Friday, March 27, 2020

Trying my hand at Mint Linux

Mint Linux 19.3



Recently, I converted an older Windows 10 workstation that had become crippled under the weight of the OS to Mint Linux 19.3.  Installing the OS was pretty straightward:
 - Download 64bit Mint Linux OS installer to a bootable USB stick
 - Rebooted the computer and set USB stick as a bootable option
 - Rebooted and followed steps in the installer.
 - Rebooted again w/o usb stick and I'm running Linux.  Now what?



Downloaded and installed Plex Media Server.

Had to mount NAS file shares so Plex server access them.
This was abit tricky.
 - Had to edit /etc/fstab file.  Must do this as admin or root
 - Open command prompt: sudo xed /etc/fstab
- This command opens XED text editor in root mode to allow file to edited.
After much research, I found this command allow my Zyxel NAS 326 video share to be mapped to the workstation.



NOTE: I used this pattern:

Created a local folder /home/gary/Shares/FileShare (in linux)
Mapped   //192.168.0.31/public  =>   /home/gary/Shares/FileShar
//192.168.0.31/public
username={{username}},password={{password}},iocharset=utf8,sec=ntlm  0  0


//NAS326-10TB.local/video /home/garykindel/Media/video cifs credentials=/home/garykindel/Media/plex.cred,guest,rw,uid=1000,gid=1000,x-systemd.automount,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0


//NAS326-10TB.local/video = UNC path of NAS share

home/garykindel/Media/video - location where share will be mounted to.

cifs - protocal to access share

credentials=/home/garykindel/Media/plex.cred - points to text file comtaining username=? and password=?

Rest of the parameters found by trial and error needed.  Lines ends in a 0

IMPORTANT NO OTHER SPACES IN LINE IS ALLOWABLE!

Again in the command prompt, to load allow configured shares:
cmd:> sudo mount -all
















No comments: