平台 [root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 安装Smb服务 安装samba工具 yum install samba 打开服务 systemctl start smb systemctl status smb 设置开机启动 [root@localhost ~]# systemctl enable smb Created symlink from /etc/systemd/system/multi-user.target.wants/smb