Posts

Showing posts with the label samba server

SAMBA Server Configuration in Redhat Linux 8 and Redhat 7

Image
=>  Samba provides server and client software to allow file sharing between Linux and Windows machines. => Default Port : "445" => Daemon : "smb" => Install SAMBA Server   =>  # yum install samba* -y => Enable the samba service =>  #systemctl enable smb => Now start the service =>  #systemctl start smb => Disable the firewall or add the samba port =>  #systemctl stop firewalld =>  #systemctl disable firewalld => Create directory for sharing =>  #mkdir shared_folder => Assign full permission   =>  #chmod 777 shared_folder/ => Create users  =>  #adduser sam =>  #adduser tom => Make users as "samba" users =>  #smbpasswd -a sam =>  #smbpasswd -a tom => Configure the samba file   =>  #vim /etc/samba/smb.conf => Add the following lines :  => Save and exit => Restart samba services =>  #systemct...