Changes

Jump to: navigation, search

OPS335 Lab 5

1,669 bytes removed, 20:32, 4 January 2021
Using Nautilus to browse Samba shares
Note that this tool would leave the directory mounted until the machine rebooted or it was manually unmounted. It would also allow other users access to the directory, as it effectively became part of the local filesystem. It could even be added to fstab to be mounted on boot (though this would require another configuration file we don't cover).
 
=== Using Nautilus to browse Samba shares ===
 
Instead of accessing your file share via CLI, you can also connect, navigate and access your file share via a graphical application such as a file browser or a web-browser.
 
'''Perform the following steps on your HOST machine:'''
 
#Install the '''samba-client''' and '''cifs-utils''' packages.
#Use the "Places" menu from the desktop and open 'Browse Network'.
#From the menu in the side-bar of the files tool, choose 'Other Locations'.
#In the bar titled 'Connect to Server' enter '''smb://vm2/home''' as the location, and enter your samba password in the prompt<br>(Where vm2 is the name of the server, and home is the name of the directory it is sharing).
#After you have checked that you can access your files, unmount the share by right-clicking its icon in the side-bar and clicking 'Unmount'.
 
 
:You can also use a web browser with support for the SMB protocol such as Konqueror (Note that firefox does not have such support)
 
<ol><li value="6">If Konqueror is not installed then install it with the command: <source>
yum install kdebase</source></li>
<li>Start Konqueror, the web/file browser, and in the address bar enter the following:<br>'''smb://vm2/home'''</li>
<li>Enter your username and password when prompted.</li>
<li>Double click on a file you have some text in.</li>
<li>Open it with gedit, make some changes, and save it.</li>
<li>When prompted, choose to upload the file.</li>
<li>Close Konqueror.</li>
<li>cat the file on your VM2 to ensure the changes were properly uploaded.</li>
</ol>
 
 
'''Record steps, commands, and your observations from this INVESTIGATION in your OPS335 lab log-book'''
==INVESTIGATION 3: CONNECTING TO A SAMBA SERVER FROM A WINDOWS CLIENT==

Navigation menu