1. 关闭防火墙

systemctl stop firewalld
systemctl disable firewalld
Centos7安装Samba服务器

2.关闭selinux

vim /etc/selinux/config
Centos7安装Samba服务器
设置 SELINUX=disabled;

执行 setenforce 0Centos7安装Samba服务器

3.安装samba

yum -y install samba
Centos7安装Samba服务器

4.配置samba

vim /etc/samba/smb.conf
Centos7安装Samba服务器

5.创建账户

useradd -s dev
smbpasswd -a dev
Centos7安装Samba服务器

6.开启samba服务

systemctl start smb
systemctl start nmb
Centos7安装Samba服务器

相关文章:

  • 2021-06-12
  • 2021-08-17
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
猜你喜欢
  • 2022-12-23
  • 2021-09-15
  • 2021-10-18
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
相关资源
相似解决方案