fedora14 安装配置samba服务器

    技术2022-05-20  45

    samba服务器简介:

    Samba ,是种 自由软件 ,用来让 UNIX 系列的 操作系统 微软 Windows 操作系统的 SMB/CIFS (Server Message Block/Common Internet File System)网络协定做连结。在目前的版本(v3),不仅可存取及分享SMB的资料夹及打印机,本身还可以整合入Windows Server的 网域 、扮演为网域控制站(Domain Controller)以及加入 Active Directory 成员。简而言之,此软件在Windows与UNIX系列OS之间搭起一座桥梁,让两者的资源可互通有无。

    samba服务器在fedora14上的安装

    切换到root用户,键入命令:

    yum install samba

    即可安装samba服务器

    samba服务器的配置

    vim /etc/samba/smb.conf

    在文件末尾加上如下脚本:

    [share name] comment = /*注释*/ path = /home/pub/*共享的路径*/ browseable = yes writable =yes

    保存/etc/samba/smb.conf文件

    添加用户

    smbpasswd -a username

    启动samba服务

    service smb start

    将smb添加到开机服务中

    setup

    选中smb服务即可。

     

     


    最新回复(0)