Open main menu

CDOT Wiki β

Changes

OPS335: File Servers

379 bytes added, 09:20, 2 March 2016
no edit summary
==INVESTIGATION 2: USING A SAMBA SERVER TO SHARE FILES FROM OTHER LINUX SERVERS ==
There are many ways that Although the main purpose of running a samba server is to share files on a Windows server, you can also install a Samba client on another Linux machine to share files as well. This lab will demonstrate how to setup a Samba client can connect to an SMB serveron your host machine, mount the samba share on a directory, and access files on the remote Linux machine (vm2).
=== Using smbclient ===
x
'''Perform the following steps:'''
#In a full installation (on your host Linux machine) you should not need to install the '''samba-client ''' application on your host, but if it is not present , then do soinstall that application.#You will also need to install the ''cifs-utils '' package to be able to mount the filesystem.:<br>'''yum install cifs-utils'''
#From the host use the "smbclient" command in a terminal window:<br>'''smbclient '\\vm2\home' -U <learnid>'''
#After entering your password you should get a prompt similar to:<br>'''smb: \>'''
13,420
edits