Linux架設file server檔案伺服器Samba

在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.最後你就可以在網上芳鄰上看到它了
IMGP3620

上一篇 Linux 如何正確清除log 檔案內容
下一篇 Linux 快速打開大文字log檔案