Results 1 to 3 of 3

How to install samba server in linux?

This is a discussion on How to install samba server in linux? within the Web & Server Administration forums, part of the Web Designing & Development category; Hello guys, Need some suggestions, How to install samba server in linux and how to configure it? Kindly suggest, Thank ...

  1. #1
    Junior Member
    Join Date
    Jul 2015
    Posts
    6

    Default How to install samba server in linux?

    Hello guys,



    Need some suggestions,
    How to install samba server in linux and how to configure it?
    Kindly suggest,



    Thank you,

  2. #2
    Senior Member
    Join Date
    Feb 2016
    Posts
    159

    Default Re: How to install samba server in linux?

    hello friends,
    One of the reason why Samba is so relevant is because it provides file and print services to SMB/CIFS clients, which causes those clients to see the server as if it was a Windows system (I must admit I tend to get a little emotional while writing about this topic as it was my first setup as a new Linux system administrator some years ago).

  3. #3
    Senior Member hostechsupport's Avatar
    Join Date
    Feb 2017
    Posts
    417

    Default Re: How to install samba server in linux?

    Steps to install and configure Samba in Linux :


    Step 1 : $ sudo apt install samba.


    Once installed, now you need to configure it. The configuration file is located in /etc/samba/ on a file named smb.conf.


    Make a copy of the file before changing it, and take the backup:


    Step 2 : $ sudo cp /etc/samba/smb.conf ~


    ​This command will make the backup file in your home directory:


    Step 3 : $ sudo cp /etc/samba/smb.conf /etc/samba/smb_bkp.conf. ...


    Now that you are setting up Samba on Ubuntu server, you can use vim or nano to edit smb.conf file, use the default text editor file. Also, make sure that the commands (Server or Desktop) must be run as a root.


    Step 4 : $ sudo nano /etc/samba/smb.conf.


    Add the below info at the end of the line:


    [share]
    comment = Ubuntu File Server Share
    path = /srv/samba/share
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0755
    HostechSupport
    Best Linux/ Windows Server Management
    24x7 Skype: hostechsupportindia