How To Mount a Windows Share on an Ubuntu Server

As if it were part of the Linux file system, you can access a windows share.Most other Linux distributions will probably work with this example.This example will show you how to mount a windows share.

Step 1: samba file system utilities should be installed.

There is a new version of apt-get install smbfs.

Step 2: The directory should be used as the mount point.

Mount-a-Windows-share-on-an-Ubuntu-server-step-2

Step 3: The new mount point should be included in the file system table.

vi /etc/fstab " smallUrl"

Step 4: The following snippets should be appended to the end of the file.

To add text, scroll to the end and press.The text should be on one line.//YOUR_SERVER/your_share/mnt/backup/password

Step 5: Save and leave.

Press escape to exit vi.By typing colon, you can enter command mode.Write and stop."smallUrl" is type escape>return>

Step 6: To mount the share, reload the fstab file.

"mount-a-Windows-share-on-an-Ubuntu-server-Step6Bullet1.jpg" is a small URL.

Step 7: The contents of the share were listed as check the mount was successful.

ls /mnt/backup " smallUrl"