在Linux 中,你可以用Samba 來做文件伺服器,在安裝Linux 時選中Samba 就可以完成安裝。
1) 編輯/etc/smb.conf,修改配置:
netbios name=linux
workgroup=SambaServer
server string=Samba Server
hosts allow=192.168.9.127
security=share
interfaces=192.168.9.1/24
name resolve order=host dns bcast
wins support=no
2)重新啟動SMB 守護進程:/etc/rc.d/init.d/smb restart
3)編輯客戶機的hosts 文件,加入對Samba Server 的解析;
4)最後你就可以在網上鄰居上看到它了。
[火星人
]
讓Linux成為文件伺服器已經有2181次圍觀
http://coctec.com/docs/linux/show-post-203180.html