Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/techuqij/tricknology.in/wp-includes/functions.php on line 6114
How To Set-Up SAMBA File Sharing Server on Ubuntu - Tricknology HOW TO
HomeHOW TOHow To Set-Up SAMBA File Sharing Server on Ubuntu

How To Set-Up SAMBA File Sharing Server on Ubuntu

Samba is free open source software for Linux. by which you can easily transfer your files and folders and also secure ways you can provide printing and files server to your all the clients.

To install and configure samba on ubuntu just follow my steps.

1. Install Ubuntu Update

sudo apt update

2. Install SAMBA packages on Ubuntu Linux

sudo apt install samba

3. Create director to share using SAMBA

mkdir /home/username/sambashare

4. Configure and Edit smb.conf file

sudo nano /etc/samba/smb.conf
[sambashare]
comments = Samba on Ubuntu
path = /home/username/sambashare
read only = no
browsable = yes

5. Restart SAMBA services

sudo service smbd restart 

6. Add firewall rules for SAMBA

sudo ufw allow samba

7. Create user and password for SAMBA

sudo smbpasswd -a username

8. Disable Firewall Rules

sudo ufw disable

9. Enable Firewall Rules

sudo ufw enable 

10. Install net-tools to check ip address

sudo apt install net-tools

11. Check IP address by using ifconfig command

ifconfig

12. Check status of SAMBA smbd service

sudo systemctl status smbd
RELATED ARTICLES

Leave A Reply

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments