-
Notifications
You must be signed in to change notification settings - Fork 14
Shared home folder
Zdeněk Materna edited this page Jun 2, 2017
·
3 revisions
The ARTable setup at Robo@FIT Lab currently consists of five computers (one main NUC, two NUCs for sensor/projector tripods, one developers PC and robot). In order to make development easier, we are using shared home folder so one don't have to manually synchronize changes in code across machines. It works like this:
- there is dev user on all machines
- user has to be created with UID 5000
sudo useradd -u 5000 dev -m
- dev's home directory from artable is shared over NFS to other machines in network
Line from /etc/export:
/home/dev 192.168.104.0/24(rw,sync,all_squash,root_squash,no_subtree_check,anonuid=5000,anongid=5000)
- Other machines mounts dev's home directory from artable using following line in /etc/fstab:
artable:/home/dev /home/dev nfs sync,sec=sys,noatime,rw,exec,rsize=8192,wsize=8192,timeo=14,intr,fsc 0 0
- It is sufficient to compile code once - at any machine.
- cachefilesd has to be installed and enabled (change RUN=no to RUN=yes in /etc/default/cachefilesd and restart the service) on all clients