Centos7安装samba方法

 时间:2026-02-12 19:37:53

1、操作系统为centos7.5

Centos7安装samba方法

2、停掉firewalld iptables selinux

Centos7安装samba方法

3、yum install samba samba-client

Centos7安装samba方法

4、输入y并回车继续安装

Centos7安装samba方法

5、添加samba用户并设置密码

[root@vm-122-230 ~]# useradd sambauser

You have new mail in /var/spool/mail/root

[root@vm-122-230 ~]# smbpasswd sambauser -a

New SMB password:

Retype new SMB password:

Added user sambauser.

Centos7安装samba方法

6、创建目录

mkdir -p /svn/data

Centos7安装samba方法

7、添加配置文件

Centos7安装samba方法

8、启动samba服务

systemctl enable smb

systemctl enable nmb

systemctl restart smb

systemctl restart nmb

Centos7安装samba方法

  • oracle数据如何导入ES
  • element组件中tree怎么隐藏
  • js二级下拉菜单怎么做
  • 网站被百度降权了怎么办?
  • 在橘子小说app中如何将问题反馈
  • 热门搜索
    电脑黑屏是什么原因 hobby什么意思 运动会演讲稿50字 芙蓉花的养殖方法 运动会通讯稿 沧海一粟是什么意思 lamp什么意思 oppor11什么时候上市 养殖设备 柠檬蜂蜜水的做法腌制