Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
archipelago:canta_base [2019/02/18 15:08]
giancarlo
archipelago:canta_base [2019/02/18 18:26] (current)
giancarlo
Line 104: Line 104:
 </code> </code>
 </WRAP> </WRAP>
 +The identifier for local file in /mnt/data (i.e. test.png) must be data%2Ftest.png
 +  * share data with front-end
 +Local:
 +<WRAP prewrap center>
 +<code>
 +sudo chown -R IIIF_user:IIIF_user /mnt/data
 +</code>
 +</WRAP>
 +On front-end:
 +<WRAP prewrap center>
 +<code>
 +apt install sshfs
 +mkdir /mnt/datac
 +chown -R FE_user:FE_user /mnt/datac
 +
 +sudo -u FE_user sshfs -o idmap=user -o IdentityFile=/somepath/id_rsa IIIF_user@IIIF_IP:/mnt/data /mnt/datac
 +
 +or
 +
 +nano -w /etc/fstab
 +
 +sshfs#IIIF_user@IIIF_IP:/mnt/data /mnt/datac fuse defaults,_netdev,user,idmap=user,IdentityFile=/somepath/id_rsa,allow_other,default_permissions,uid=FE_user_UID,gid=FE_user_GID 0 0
 +</code>
 +</WRAP>
 +
 
 
archipelago/canta_base.1550498894.txt.gz ยท Last modified: 2019/02/18 15:08 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki