You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 10, 2020. It is now read-only.
A Samba file server enables file sharing across different operating systems over a network.
18
+
A Samba file server enables file sharing across different operating systems over a network. It lets you access your desktop files from a laptop and share files with Windows and macOS users.
18
19
19
20
This guide covers the installation and configuration of Samba on Ubuntu.
20
21
21
22
### What you'll learn
22
23
- How to set up a Samba file server
24
+
- How to share files across a local network
23
25
24
26
### What you'll need
25
27
- Ubuntu 16.04 LTS
@@ -49,7 +51,7 @@ Duration: 2:00
49
51
50
52
Now that Samba is installed, we need to create a directory for it to share:
51
53
```bash
52
-
mkdir /home/username/sambashare/
54
+
mkdir /home/<username>/sambashare/
53
55
```
54
56
The command above creates a new folder `sambashare` in our home directory which we will share later.
55
57
@@ -65,6 +67,9 @@ At the bottom of the file, add the following lines:
65
67
read only = no
66
68
browsable = yes
67
69
```
70
+
Then press `Ctrl-O` to save and `Ctrl-X` to exit from the *nano* text editor.
71
+
72
+
68
73
### What we've just added
69
74
-[sambashare]: The name inside the brackets is the name of our share.
70
75
- comment: A brief description of the share.
@@ -90,24 +95,22 @@ negative
90
95
Username used must belong to a system account, else it won't save.
91
96
92
97
### Connecting to Share
93
-
On Ubuntu, open up the default file manager and click "Connect to Server";
94
-
On macOS, in the Finder menu, click Go > Connect to Server;
95
-
and enter:
96
-
```
97
-
smb://ip-address/sambashare
98
-
```
98
+
On Ubuntu:
99
+
Open up the default file manager and click *Connect to Server* then enter:
100
+

101
+
102
+
On macOS:
103
+
In the Finder menu, click *Go > Connect to Server* then enter:
104
+

99
105
100
106
On Windows, open up File Manager and edit the file path to:
101
107
```address
102
108
\\ip-address\sambashare
103
109
```
104
110
Note: `ip-address` is the Samba server IP address and `sambashare` is the name of the share.
105
111
106
-
You'll be prompted for your credentials. Enter them you will be connected to your Samba share!
112
+
You'll be prompted for your credentials. Enter them to connect!
0 commit comments