如何使用红帽Linux作为文件服务器?
解决方法:

红帽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