使用samba共享文件夹,提供给window访问
2021-03-30 17:26
标签:pre loader down tar col span mba rest pass 1. 下载yumdownloader 2. 下载samba 3. 安装samba 4. 配置samba 设置登录用户名和密码 5. 重启samba 6. 访问共享文件夹 PS:如果想要下载指定版本的samba,建议下载地址:http://rpm.pbone.net/。 使用samba共享文件夹,提供给window访问 标签:pre loader down tar col span mba rest pass 原文地址:https://www.cnblogs.com/dongc/p/7716166.htmlyum install -y yum-utils
mkdir samba
cd samba
yumdownloader --resolve avahi-autoipd samba samba-client
yum localinstall avahi-autoipd-0.6.31-17.el7.x86_64.rpm avahi-libs-0.6.31-17.el7.x86_64.rpm cups-libs-1.6.3-29.el7.x86_64.rpm krb5-libs-1.15.1-8.el7.x86_64.rpm libldb-1.1.29-1.el7.x86_64.rpm libsmbclient-4.6.2-11.el7_4.x86_64.rpm libtalloc-2.1.9-1.el7.x86_64.rpm libtdb-1.3.12-2.el7.x86_64.rpm libtevent-0.9.31-1.el7.x86_64.rpm libwbclient-4.6.2-11.el7_4.x86_64.rpm pytalloc-2.1.9-1.el7.x86_64.rpm samba-4.6.2-11.el7_4.x86_64.rpm samba-client-4.6.2-11.el7_4.x86_64.rpm samba-client-libs-4.6.2-11.el7_4.x86_64.rpm samba-common-4.6.2-11.el7_4.noarch.rpm samba-common-libs-4.6.2-11.el7_4.x86_64.rpm samba-common-tools-4.6.2-11.el7_4.x86_64.rpm samba-libs-4.6.2-11.el7_4.x86_64.rpm
mkdir /home/share
vim /etc/samba/smb.conf
在末尾添加
[share]
comment = share
path = /home/share
writable = yes
保存并关闭smb.conf
su root
smbpasswd -a rootservice smb restart
\\192.168.1.100\share
文章标题:使用samba共享文件夹,提供给window访问
文章链接:http://soscw.com/index.php/essay/70083.html