Purpose:
To setup Software Workspace Streaming using a Linux backend with Samba.
Software Requirements:
- Linux Dristro
- SWS streaming agent
- Virtual Composer
Backend Setup:
I am using the ubuntu server 14.04 LTS release to setup a headless server with just openssh and samba 4.x. I will also setup the permissions using smbpasswd and unix accounts.
1. Once you download and install ubuntu 14.04 LTS and update to the latest patches.
2. Install samba server (https://help.ubuntu.com/lts/serverguide/samba-file...)
3. create a folder to stream layers from
4. run the following command to setup folders and users
- %sudo mkdir /mnt/streaming
- %sudo useradd testuser (create a user and set password)
- %sudo smbpasswd -a testuser (creates a samba user and should be the same username and password as the useradd command)
- %sudo usermod testuser -G smbusers ( you can also vi /etc/group to add the users to a group)
- %sudo chgrp smbusers /etc/streaming
- %sudo chmod 0775 /etc/streaming
5. edit the /etc/samba/smb.conf
At the end of the file add the share you want to configure:
[streaming]
comment = streaming
browseable = yes
writeable = yes
path = /home/shares/streaming
valid users = @smbusers
create mask = 0775
directory mask = 0775
6. Save and close the /etc/samba/smb.conf
7. restart the samba service with "sudo service smbd restart"
8. On a client machine you should create users accounts/domain accounts that are the same as your unix/smb accounts that you setup earlier.
9. Now on a client machine you should be able to browse to the samba share "streaming" by going to start>run>"\\<ip of linux box>\streaming
10. Start copying over your xpa layers to the streaming share and if your agent is setup correctly you should be able to streaming layers from a linux/samba backend.