How to Configure Samba in CentOS 6.4/Linux

Samba Server Configuration in CentOS or Linux :

To Configure the samba in the Linux Server or in CentOS, you need to perform certain configurations in the linux server. So follow the steps which was given below to configure the ftp server in the CentOS or in any other linux server.


Step 1: Install Samba Packages

As the first step use the below command to install the samba sevices.

Step 2: Configure Samba Service

The use the below command to make the samba services on at the startup.

Step 3: Restart Samba Services

Then restart the samba services using the below command.

Read Article :  Easy way to Configure your Powershell Profile

Step 4: Configure smb.conf file

Enter the below setting in the smb.conf file which was situated in the samba folder in etc folder.

Step 5: Configure Samba Users

Create the samba users and samba group.

Step 6: Add User to Samba Group & set samba Share Password

Add the users to the samba group and set the samba password for the user.

Read Article :  How to use NMAP in Kali Linux 2.0 Step by Step Tutorial

Step 7: Create Share folder and Set Permissions for Samba Users

Create a share folder and give the permissions for the samba group

Step 8: Disable SELinux and Add Firewall rules

Configure the selinux for the samba services.

Set SELINUX to Disabled :

Add Firewall Rules :

use the below command to allow the mentioned ports through the linux firewall.

Step 9 : After finishing all the above configurations restart the samba services

Then as the final step restart the samba services.

Read Article :  How to run GUI Ubuntu Linux in Windows 10

You can also enable the selinux but you need to change the permission for the samba services in selinux.

You may also like...

2 Responses

  1. I’ve been surfing online more than three hours today, yet I by no means found any interesting article like yours.

    It is pretty price sufficient for me. In my view, if all web owners and
    bloggers made just right content material as you probably did, the internet can be a lot more helpful than ever before.

  2. VonnieNUpham says:

    Nice post. I had been checking continuously this weblog and I’m inspired!
    Very useful information specifically the closing part :) I handle
    such information much. I used to be looking
    for this certain information to get a very long time.
    Thanks and better of luck.

Leave a Reply

Your email address will not be published. Required fields are marked *

16 + fourteen =