Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:mount_and_unmount_cifs_and_nfs_network_file_systems [2016/03/03 21:52] billdozor [Example Data] |
linux_wiki:mount_and_unmount_cifs_and_nfs_network_file_systems [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 18: | Line 18: | ||
---- | ---- | ||
- | ==== CIFS ==== | + | ===== CIFS ===== |
Mounting a Common Internet File System (CIFS) share. | Mounting a Common Internet File System (CIFS) share. | ||
Line 28: | Line 28: | ||
* samba-client optional for viewing shares. | * samba-client optional for viewing shares. | ||
+ | \\ | ||
**Create target mount point, list shares** | **Create target mount point, list shares** | ||
<code bash> | <code bash> | ||
Line 34: | Line 35: | ||
</ | </ | ||
+ | \\ | ||
**Temporarily Mount Share** | **Temporarily Mount Share** | ||
<code bash> | <code bash> | ||
Line 39: | Line 41: | ||
</ | </ | ||
+ | \\ | ||
**Persistent Mount Share: Edit /etc/fstab, Add Entry/ | **Persistent Mount Share: Edit /etc/fstab, Add Entry/ | ||
<code bash> | <code bash> | ||
Line 46: | Line 49: | ||
</ | </ | ||
+ | \\ | ||
**More Secure Alternative: | **More Secure Alternative: | ||
<code bash> | <code bash> | ||
Line 52: | Line 56: | ||
// | // | ||
</ | </ | ||
- | * / | + | * / |
- | * <code text> | + | |
password=123456</ | password=123456</ | ||
- | * File should be chmod 600 | + | * File should be chmod 600 and owned by root due to security concerns of a username/ |
+ | \\ | ||
**Mount all and Verify** | **Mount all and Verify** | ||
<code bash> | <code bash> | ||
Line 65: | Line 69: | ||
---- | ---- | ||
- | ==== NFS ==== | + | ===== NFS ===== |
Mounting a Network File System (NFS) share. | Mounting a Network File System (NFS) share. | ||
Line 74: | Line 78: | ||
</ | </ | ||
+ | \\ | ||
**Create target mount point** | **Create target mount point** | ||
<code bash> | <code bash> | ||
Line 79: | Line 84: | ||
</ | </ | ||
+ | \\ | ||
**Temporarily Mount Share** | **Temporarily Mount Share** | ||
<code bash> | <code bash> | ||
Line 84: | Line 90: | ||
</ | </ | ||
+ | \\ | ||
**Persistent Mount Share: Edit /etc/fstab, Add Entry/ | **Persistent Mount Share: Edit /etc/fstab, Add Entry/ | ||
<code bash> | <code bash> | ||
Line 91: | Line 98: | ||
</ | </ | ||
+ | \\ | ||
**Mount all and Verify** | **Mount all and Verify** | ||
<code bash> | <code bash> |