Menu
User

DropVPS Team

Writer: Cooper Reagan

How to Install Samba on CentOS 8

How to Install Samba on CentOS 8

Publication Date

08/25/2025

Category

Articles

Reading Time

1 Min

Table of Contents

Samba allows Linux systems to share files and printers with Windows and other devices on a network. On CentOS 8, Samba can be installed quickly using the DNF package manager.

Step 1: Update your system

Make sure your system is up to date:

sudo dnf update -y

Step 2: Install Samba

Install Samba server and client packages:

sudo dnf install samba samba-client samba-common -y

Step 3: Verify installation

Check the Samba version to confirm the installation:

smbd --version

Step 4: Enable and start Samba services

Ensure Samba services start on boot and are currently running:

sudo systemctl enable smb
sudo systemctl enable nmb
sudo systemctl start smb
sudo systemctl start nmb
sudo systemctl status smb

Samba is now installed on CentOS 8 and ready for configuration of shared directories and user access.

Windows VPS
๐ŸชŸWindows VPS

Need a Windows Server?

DropVPS Windows VPS gives you full Admin RDP access, instant setup, and dedicated resources โ€” run any Windows workload without limits.

  • Full Admin Access
  • RDP Ready Instantly
  • Dedicated Resources
  • 24/7 Support
Get Windows VPS โ†’

No commitment ยท Cancel anytime

U
Loading...

Related Posts