Skip to main content

v4.0

by z mbstaff

  1. Add Samba security group to your instance. Use port range 137-139 and 445. Log in to to your instance and update repositories: sudo apt update and install Samba:  sudo apt install samba -y
    • Add Samba security group to your instance. Use port range 137-139 and 445.

    • Log in to to your instance and update repositories: sudo apt update and install Samba: sudo apt install samba -y

    • Edit the Samba configuration file: sudo vi /etc/samba/smb.conf

    • Append the following lines to the end of your smb.conf file and adjust them to your setup and save it.

    • E.g. if you write [sharename] as shared folder name, you can access the folder as \\172.23.7.69\sharename over the network (see further explanation in blue on the image)

    • Define a new Samba share password for the user: sudo smbpasswd -a <username>

    • You may use the existing "zmbuser" user or create a "transfer" user that will be only used for Samba share in the future. In the later case, make sure the "transfer" user has permission to read/write on the shared folder.

    • Restart Samba share service with the updated configuration: sudo systemctl restart smbd.service

  2. Log in to the Support PC with your CORE credentials. Open Windows Explorer -&gt; select Computer menu -&gt; Map network drive
    • Log in to the Support PC with your CORE credentials.

    • Open Windows Explorer -> select Computer menu -> Map network drive

    • For the shared folder use the IP address of your instance and the [sharename] your defined in in the smb.conf file in the previous step. E.g.: \\172.23.7.69\raw_data

    • Tick both check boxes.

    • Click Finish.

    • Enter your Samba share credentials. Username and password were defined in the previous step (sudo sambapasswd -a <username>).

    • Don't use the CORE prefix! Select More choices -> Use a different account

  3. Run the automated transfer script in Powershell, to move your micrograph to you storage. Transfer scripts are located on the desktop under BIOC-Transfer or ZMB-Transfer shortcuts. Please look through and check the script you will use.
    • Run the automated transfer script in Powershell, to move your micrograph to you storage.

    • Transfer scripts are located on the desktop under BIOC-Transfer or ZMB-Transfer shortcuts. Please look through and check the script you will use.

    • Open BIOC-Transfer -> transfer.ps1 file

    • Find this line $NFSShare = "Y:\$Year" and remove $Year

    • Save the modified transfer script in your folder. E.g. Desktop\transfer_zmbuser.ps1

    • Right click on the newly saved Desktop\transfer_zmbuser.ps1 -> Run with PowerShell

    • Follow on-screen instructions.

Finish Line

z mbstaff

Member since: 05/06/2019

4,763 Reputation

78 Guides authored

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 22

All Time: 50