User Tools

Site Tools


code:work:lvisf:2017sharedmacdir:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
code:work:lvisf:2017sharedmacdir:start [2017/06/25 17:11] – created davidcode:work:lvisf:2017sharedmacdir:start [2017/06/26 01:39] (current) – [sshfs] david
Line 3: Line 3:
 ===== cifs ===== ===== cifs =====
  
 +**On the Mac machine:**
 +
 +  * Share the target folder using the tips here:  [[https://support.apple.com/kb/PH18707?locale=en_US]]
 +
 +(These steps lifted directly from above link)
 +  * Open Sharing preferences if it isn’t already open (choose Apple menu > System Preferences, then click Sharing).
 +  * Select the File Sharing checkbox, then click Options.
 +  * Select “Share files and folders using SMB.”
 +  * Select the checkbox next to the user account that will be used to share files with Windows users, enter the password for that user, then click OK.
 +  * Click Done.
 +  * Open Network preferences, select your active connection, then click Advanced.
 +  * Click the WINS tab, then enter the workgroup name used by the Windows computer.
 +  * If you don’t know the workgroup name, on the Windows computer open Control Panel > System and Security > System. (Windows computers normally use either WORKGROUP or MSHOME.)
 +  * Click OK, then click Apply.
 +
 +
 +  * **NOTE:** Make sure the share is write-able by the user, I think it might be by default
 + 
 +**On the Linux machine:**
 +
 +  * CentOS Link CIFS Help:  [[https://wiki.centos.org/TipsAndTricks/WindowsShares]]
 +  * Make a directory to write mount the share <code>
 +sudo mkdir /media/macshare
 +</code>
 +  * Modify **/etc/fstab** and add as an example<code>
 +//192.168.0.XX/quicklook      /media/macshare cifs    user=USERNAME,pass=PASSWORD,uid=LOCALUSER 0 0
 +</code>
 +
 +
 +
 +===== rsync =====
 +
 +  * Could just rsync the files every minute after creating them locally.  I actually like this, except we're going to have to write the files locally... and I would rather just write them over the network to a shared drive and be done with it not taking up local drive space and not competing with the primary data files for the drive's attention.
  
 ===== sshfs ===== ===== sshfs =====
Line 8: Line 41:
 This looks really simple, maybe a bit slow... look at the weaker encryption maybe for speed.  Or just use CIFS or something simple... This looks really simple, maybe a bit slow... look at the weaker encryption maybe for speed.  Or just use CIFS or something simple...
  
 +
 +  * [[http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id]] password less mounting
  
 <code> <code>
code/work/lvisf/2017sharedmacdir/start.1498410699.txt.gz · Last modified: 2017/06/25 17:11 by david