Sambaサーバーの構築
iptablesでポート解放を制限したので、sambaサーバーの構築。
LAN内にはWindowsとLinux、MACがあるのでItunesやら、画像の保存の為に必要
[mofmofh@host ~]sudo yum -y install samba
[mofmofh@host ~]sudo vi /etc/samba/smb.conf
[global]
unix charset = UTF-8
dos charset = CP932
display charset = UTF-8
force user = デフォルトユーザー名# Hosts Allow/Hosts Deny lets you restrict who can connect, and you can
# specifiy it as a per share option as well
#
workgroup = WORKGROUPhosts allow = 127. 192.168.1.
security = share
※iptablesで制限をかけているので、社内のセキュリティはゆるくしている
[public]
comment = mofh server
path = 共有させるパス
public = yes
writable = yes
後はゴミ箱の設定をごにょごにょっと
LAN内からしか接続させないので、基本設定しかしていない。
あとは起動すればOK。これでitunesの音楽データと画像データが共有出来る。