Account Links: Cart | Register | Log In

Skip to content

Red Hat Knowledgebase
Red Hat Knowledgebase Search
Article translations:
Currently Being Moderated

如何使用红帽Linux作为文件服务器?

Article ID: 11724 - Created on: Jul 22, 2008 6:00 PM - Last Modified:  Oct 10, 2008 12:21 PM

红帽Linux集成了Samba和NFS,可以非常便利地设置成为文件服务器?

 

像使用Windows NT/Windows2000的文件打印服务器一样, 在红帽Linux服务器下, Windows 客户端也可以访问文件并且打印。

 

为了使这些服务能够被默认启动,你需要执行一下命令:

 

对 NFS 而言:

 



 chkconfig nfslock --level 345 on
 chkconfig portmap --level 345 on
 chkconfig nfs --level 345 on

 

对 Samba 而言:

 



 chkconfig smb --level 345 on

 

可以使用如下命令启动这些服务。

 



 #service nfs start
 #service samba start

 

更多的NFS配置信息请参考如下链接:

 

http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/ch-nfs.html

 

更多的Samba配置信息请参考如下手册和链接:

 

http://samba.org/samba/docs/using_samba/toc.html

Feedback from users like yourself is a critical factor in helping us make the Red Hat Knowledgebase as useful as possible.

More Like This

  • Retrieving data ...