准备工作
在搭建服务器前要保证linux上有网,能够ping通网址(可使用桥接模式)
关闭防火墙
查看防火墙当前状态:systemctl status firewalld
关闭防火墙:systemctl stop firewalld
永久关闭防火墙(开机不自启):systemctl disable firewalld
SMB服务器的搭建
安装:
yum -y install samba
设置开机自启:
systemctl enable smb
启动:
systemctl restart smb
编辑:
vi /etc/samba/smb.