Storage
Setup Object Stores & SMB ..

Create a MinIO folder and copy the required files.
Check the Directory has been created and the files copied over.
Execute the docker-compose script to create the container.

Check the container is up and running in Desktop Docker.

Access MinIO UI:
Username: minioadmin
Password: minioadmin

The MinIO port has been changed to prevent conflicts.

Pentaho Data Integration
(Optional) Download the latest jcifs driver.
(Optional) Copy the JCIFS JAR file into Pentaho Data Integration "lib" folder.
Download CIFS driver
Pentaho Data Integration ships with jcifs-1.3.3.jar
If you wish to replace the current driver, rename to: jcifs-1.3.3.jar -> jcifs-1.3.3.jar.bak
jcifs 2.1.40.jar driver has been downloaded to the Workshop--Data-Integration/Drivers
Create SMB Share Directories
Create a SMB folder and copy the required files. Will also add some sample data.
Check the Directory has been created and the files copied over.

x
x
Right-click on the Start button.
Select Computer Management from the context menu.
Alternatively, press
Win + Xand select Computer Management.In Computer Management, expand System Tools.
Click on: Local Users and Groups.
Select Users folder.
Right-click in the Users pane (right side).
Select New User...
Fill in the following details:
Username: bob
Full Name: Bob Smith
Password: password

Click Create
Click Close
Repeat the workflow to create: alice

Open File Explorer and navigate to
C:\SMB\BobRight-click on the Bob folder.
Select Properties.
Click the Security tab.
Click Edit...
Click Add...
Type
bobin the text box and click: Check NamesClick OK.
Select: bob in the permissions list.

Check the following permissions:
Click OK twice

Repeat the workflow for alice's folder.

Right-click on the
C:\SMB\Bobfolder.Select Properties.
Click the Sharing tab.
Click Advanced Sharing...

☑ Check "Share this folder"
Share name: Bob (default is fine).

Click Permissions.
Remove "Everyone" if present (select and click Remove).
Click Add...

Add the following user:
Type
bob, click Check Names, click OK

Set permissions for Bob Smith:
Select Bob Smith: ☑ Full Control

Click OK three times.

Obviously if you want to play around with the SMB shares for Alice & 'Shared' then you will have to repeat the workflow.
In the File Explorer or Run command , enter the following UNC path to access C:\SMB\Bob
\\[Computer Name]\Bob or \\localhost\BobYou should see the following popup message displayed:

x
Ensure all installed Packages are up-to-date.
sudo apt update && sudo apt upgrade -yInstall Samba server.
sudo apt install tasksel
sudo tasksel install samba-serverMake a copy of the existing configuration file and create a new
/etc/samba/smb.confconfiguration file
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
sudo bash -c 'grep -v -E "^#|^;" /etc/samba/smb.conf_backup | grep . > /etc/samba/smb.conf'Any user existing on the samba user list must also exist within the
/etc/passwdfile.
sudo smbpasswd -a pentahoNew SMB password: password
Retype new SMB password: password
Added user pentaho.Add the home directory share.
sudo nano /etc/samba/smb.confCopy & paste the following to the bottom of the file - private home & public access.
[homes]
comment = Home Directories
browseable = yes
read only = no
create mask = 0700
directory mask = 0700
valid users = %S
[public]
comment = public anonymous access
path = /var/samba/
browsable =yes
create mask = 0660
directory mask = 0771
writable = yes
guest ok = yesSave.
CTRL + O
Enter
CTRL + XCreate a directory that mounts public share and change its access permission.
sudo mkdir /var/samba
sudo chmod 777 /var/samba/Restart your samba server.
sudo systemctl restart smbdLet’s create some test files.
touch /var/samba/public-share
touch /home/pentaho/home-shareIn File Explorer, select: + Other Locations.
Enter the following connection details:

smb://pentaho.local/public/Connect as: Anonymous.

You should see the public-share file.

In File Explorer, select: + Other Locations.
Enter the following connection details:

smb://pentaho.local/homes/Connect as: Registered User.
Username: pentaho
Domain: WORKGROUP
Password: password

You should see the public-share file somewhere in the /home directory.
Follow the instructions below to deploy:
x
x
x
x
Last updated
Was this helpful?
