-
Notifications
You must be signed in to change notification settings - Fork 0
use samba
Scenario here is:
- run DrQueue "master" on a linux machine
- run DrQueue "slave" on windows
- access the work dir via samba share
The easiest setup is if the same user/password is used on windows and linux machine. Use this user to create the virtualenv and run DrQueue master/server.
(It is possible to use different user/passwords, but it's complicated to deal with file/share permissions.)
The basic install is described on the main page, here: https://github.com/jedie/DrQueueIPython/wiki
Here we supposed this:
- virtualenv place:
- linux: ~/DrQueue_env/
- windows: %APPDATA%\DrQueue_env\
- working root:
- linux: ~/DrQueue_env/drqueue_root/
- windows: %APPDATA%\DrQueue_env\drqueue_root\
The DrQueueHelperFiles bash/batch files from https://github.com/jedie/DrQueueHelperFiles/archive/master.zip are extracted to the virtualenv root directory.
The https://github.com/jedie/DrQueueHelperFiles/ has a shell script for easy create the samba share of the "DrQueue working root":
You can just run it to create a samba share called DrQueue ;)
Note:
- run this script from the normal user (and not with root/sudo!)
- samba restart is not needed!
call https://github.com/jedie/DrQueueHelperFiles/blob/master/windows/edit_settings.cmd and insert eh IP address (or better: the local domain name) from your master.
Just mount the share with the batch file: