Skip to content
This repository was archived by the owner on Feb 10, 2020. It is now read-only.

Commit 6b12680

Browse files
committed
slight edits
1 parent 2aaf3a8 commit 6b12680

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed
19.6 KB
Loading
11.2 KB
Loading

tutorials/server/install-and-configure-samba/install-and-configure-samba.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ tags: tutorial,installation,ubuntu,file server,samba
66
difficulty: 1
77
status: Published
88
published: 2017-12-01
9+
author: Aden Padilla <adenpadilla@gmail.com>
910

1011
---
1112

@@ -14,12 +15,13 @@ published: 2017-12-01
1415
## Overview
1516
Duration: 1:00
1617

17-
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.
1819

1920
This guide covers the installation and configuration of Samba on Ubuntu.
2021

2122
### What you'll learn
2223
- How to set up a Samba file server
24+
- How to share files across a local network
2325

2426
### What you'll need
2527
- Ubuntu 16.04 LTS
@@ -49,7 +51,7 @@ Duration: 2:00
4951

5052
Now that Samba is installed, we need to create a directory for it to share:
5153
```bash
52-
mkdir /home/username/sambashare/
54+
mkdir /home/<username>/sambashare/
5355
```
5456
The command above creates a new folder `sambashare` in our home directory which we will share later.
5557

@@ -65,6 +67,9 @@ At the bottom of the file, add the following lines:
6567
read only = no
6668
browsable = yes
6769
```
70+
Then press `Ctrl-O` to save and `Ctrl-X` to exit from the *nano* text editor.
71+
72+
6873
### What we've just added
6974
- [sambashare]: The name inside the brackets is the name of our share.
7075
- comment: A brief description of the share.
@@ -90,24 +95,22 @@ negative
9095
Username used must belong to a system account, else it won't save.
9196

9297
### 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+
![ubuntuctn](images/ubuntuctn.png)
101+
102+
On macOS:
103+
In the Finder menu, click *Go > Connect to Server* then enter:
104+
![macosctn](images/macosctn.png)
99105

100106
On Windows, open up File Manager and edit the file path to:
101107
```address
102108
\\ip-address\sambashare
103109
```
104110
Note: `ip-address` is the Samba server IP address and `sambashare` is the name of the share.
105111

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!
107113
![Samba](images/end.png)
108-
Yay!
109114

110-
positive
111-
: **Further reading:**
112-
https://help.ubuntu.com/community/Samba/SambaServerGuide
113-
https://help.ubuntu.com/lts/serverguide/samba-fileserver.html
115+
### If you'd like to take your configuration further...
116+
- [Samba Server Guide](https://help.ubuntu.com/community/Samba/SambaServerGuide)

0 commit comments

Comments
 (0)