在Linux中,你可以用Samba來做檔案伺服器,在安裝Linux時選中Samba就可以完成安裝。
1.編輯/etc/smb.conf,修改配置
1 2 3 4 5 6 7 8 |
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
1 |
/etc/rc.d/init.d/smb restart |
3.編輯客戶端的hosts文件,加入對Samba Server的解析
4.最後你就可以在網上芳鄰上看到它了