文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>[Linux 資訊] How to Install Samba?

[Linux 資訊] How to Install Samba?

时间:2011-01-25  来源:FANTAISIE

 http://www.samba.org/

Samba is Free Software licensed under the GNU General Public License, the Samba project is a member of the Software Freedom Conservancy.

Since 1992, Samba has provided secure, stable and fast file and print services for all clients using the SMB/CIFS protocol, such as all versions of DOS and Windows, OS/2, Linux and many others.

Samba is an important component to seamlessly integrate Linux/Unix Servers and Desktops into Active Directory environments using the winbind daemon.

 

How to install Samba?

 

<1> Install
#sudo apt-get install samba smbfs

<2> Add root for samba
#smbpasswd -a root

<3> Set smb.conf
#cd /etc/samba
#mv smb.conf smb.conf.bak
#vim smb.conf

 

[x3] //Displayed name of shared document

 path=/home/x4  //x4 is the folder you want to share

  valid users=root       //x4 only allows root to get in

public=no  //no means only root can see the folder, yes means everyone can see the folder but only root can get in the folder 

writable=yes     // allow root to write

 

<4> Check syntax error

#testparm

<5> Reset samba server
#/etc/init.d/smbd restart

 

 

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载