Installing Samba on a Unix System
Directory installed : /etc/samba
Configuration file installed : smb.conf
If Samba is already installed on your system, you can check to see what version you have by using the command:
Step1 :- smbd -V
Version 4.11.1
OR
Step1 :- rpm -qa | grep samba
samba-client-4.11.1-1.7.1
samba-4.11.1-1.7.1
samba-common-4.11.1-1.7.1
How to remove rpm package
Step2 :- rpm -e samba
rpm -e samba-client
rpm -e samba-common
Downloading the Samba
Check Latest Version : http://www.samba.org
Step3 :- samba-latest.tar.gz
or
https://download.samba.org/pub/samba/stable/samba-4.11.1.tar.gz
Step3 :- tar xvfz samba-latest.tar.gz or tar xvfz samb-4.11.1.tar.gz
if you dont have GUN tar then run this
Step3 :- gunzip samba-latest.tar.gz or gunzip samb-4.11.1.tar.gz
Step3 :- tar xvf samba-latest.tar or tar xvf samb-4.11.1.tar
Step3 :- configure
Step3 :- make
Step3 :- make install
Configuring Samba
Login with root account
./configure
cd samba-2.2.6/source/
su
./configure --with-smbwrapper --with-smbmount \
mkdir /usr/local/samba/tmp
# chmod 777 /usr/local/samba/tmp
To Set Encrypted Password in smb
smbpasswd -a itcloudnet
Access by URL
http://localhost:901
Directory installed : /etc/samba
Configuration file installed : smb.conf
If Samba is already installed on your system, you can check to see what version you have by using the command:
Step1 :- smbd -V
Version 4.11.1
OR
Step1 :- rpm -qa | grep samba
samba-client-4.11.1-1.7.1
samba-4.11.1-1.7.1
samba-common-4.11.1-1.7.1
How to remove rpm package
Step2 :- rpm -e samba
rpm -e samba-client
rpm -e samba-common
Downloading the Samba
Check Latest Version : http://www.samba.org
Step3 :- samba-latest.tar.gz
or
https://download.samba.org/pub/samba/stable/samba-4.11.1.tar.gz
Step3 :- tar xvfz samba-latest.tar.gz or tar xvfz samb-4.11.1.tar.gz
if you dont have GUN tar then run this
Step3 :- gunzip samba-latest.tar.gz or gunzip samb-4.11.1.tar.gz
Step3 :- tar xvf samba-latest.tar or tar xvf samb-4.11.1.tar
Step3 :- configure
Step3 :- make
Step3 :- make install
Configuring Samba
Login with root account
./configure
cd samba-2.2.6/source/
su
./configure --with-smbwrapper --with-smbmount \
mkdir /usr/local/samba/tmp
# chmod 777 /usr/local/samba/tmp
To Set Encrypted Password in smb
smbpasswd -a itcloudnet
Access by URL
http://localhost:901