Child pages
  • Setting up Samba for Derivative Upload - 5.0.7

This space has moved to IU's Confluence.
It is located at https://uisapp2.iu.edu/confluence-prd/display/iulV3/

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Setting up Samba for Derivative Upload

This arrangement for uploading the ingest derivative file to the streaming server uses a Samba mount point definition on the Linux server to which the digitizer's Windows PC can link by creating a mapped network drive. The digitizer client is then configured to use the mapped drive and uploads the files by copying them into the local mapped network drive.

This page describes setting up Samba. The digitizer client configuration is described in the client installation process.

Determine if Samba is installed.

Installation of Samba can be determined by executing (as any user):

  • RHEL-4
    rpm -1 samba
  • RHEL-5, Fedora-10
    yum list installed samba
    • or for more information
      yum info samba

Install Samba if required.

Install the Samba package

Samba can be installed by executing (as root):

  • RHEL-4
    rpm -i samba
  • RHEL-5, Fedora-10
    yum install samba
Create a user for Samba logins to use

This is the user and password that the digitizer will use to create the mapped network drive.

  • Create a user for Samba logins to use:
    useradd -M -s /sbin/nologin digitize
    • A group of the same name is needed but should be created by default when creating the user.
  • Give a Samba password and add the new user:
    (password will be prompted for)
    smbpasswd -a digitize
Create the Samba share mounting point

This defines the directory point on the Linux server that the digitizer's mapped network drive connects.

  • Create the Samba share by editing /etc/samba/smb.conf to add:
    [digitization]
            comment = Variations 3 Content
            path = /home/dmlserv/content/loader
            valid users = digitize
            writeable = yes
            create mask = 775
            directory mask = 775
    
Restart Samba to apply the new settings
  • Restart Samba by:
    /etc/init.d/smb restart
  • In the dmlserv user directory space, the owning group for the audio and score incoming directories will be changed (later in the installation) to this digitize group.
  • No labels