Posts

Showing posts from March, 2020

How to install and setup Samba Server in Ubuntu/Linux

Image
What is Samba?
Samba is program which allows end users to access and use file, printers and other shared resources over a network. Shared resources can also be accessed by other operating systems like Windows or Mac.

In this Guide we will be installing and configuring samba on Ubuntu server to access a folder through windows and mac.

Requirements
Ubuntu 16.04 or higherLocal area network to access files across. If you have all the things ready, let's begin.

Installing Samba
Before installing samba we will make sure all our repositories are update by using command below
sudo apt update Once the update is completed successfully we will be ready to install samba by using



sudo apt install samba Optional: To check if the installation of samba is successful or not we can use the command



whereis samba It should give you the following output
samba: /usr/sbin/samba /usr/lib/samba /etc/samba /usr/share/samba /usr/share/man/man7/samba.7.gz /usr/share/man/man8/samba.8.gzCreating directory and setting…