Samba
- 配置静态IP
vim /etc/sysconfig/network-scripts/ifcfg-ens33
- 挂载镜像、配置yum源,安装samba
mount /dev/sr0 /cdrom
vim /etc/yum.repo.d/local.repo
yum -y install samba
3.创建系统用户
useradd zhangsan useradd lisi
4.添加程序用户
pdbedit -a -u zhangsan pdbedit -a -u lisi
5.创建系统映射文件
vim /etc/samba/smbusers
6.修改主配置文件
vim /etc/samba/smb.conf
7.启动服务
systemctl start nmb
systemctl start smb