How to install samba on CentOS6.5

藏色散人
Release: 2020-06-15 13:40:49
forward
2666 people have browsed it

The following tutorial column of centos system introduction will introduce to you how to install samba on CentOS6.5. I hope it will be helpful to friends in need!

How to install samba on CentOS6.5

First install the software required for samba and install it through yum

yum install samba
samba-common-3.6.9-151.el6.x86_64 //主要提供samba服务器的设置文件与设置文件语法检验程序testparm
samba-client-3.6.9-151.el6.x86_64 //客户端软件,主要提供linux主机作为客户端时,所需要的工具指令集
samba-swat-3.6.9-151.el6.x86_64 //基于https协议的samba服务器web配置界面
samba-3.6.9-151.el6.x86_64 //服务器端软件,主要提供samba服务器的守护程序,共享文档,日志的轮替,开机默认选项
ls /etc/init.d
chkconfig --level 345 smb on 开机自启动
service smb start 启动服务
su root 切换到root用户下
mkdir /data 新建需要分享的目录
chmod -R 777 /data 改变文件夹读写权限
Copy after login

vi /etc/samba/smb.conf Open the configuration file

Add

/*
[workspace]
comment = shmily workspace
path = /data
valid users = shmily
write list = shmily
read only = No
guest ok = Yes
*/
Copy after login
useradd smbuser 添加用户
smbpasswd -a smbuser 将smbuser 添加smb用户组
service smb restart 重启服务
Copy after login

at the end of the win window 172.16.6.143 (the host of the smb service)

Then it can be mapped to the disk,

The above is the detailed content of How to install samba on CentOS6.5. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!