|
[サーバー設定に戻る]
SAMBAをInstall
#apt-get install samba
設定ファイル変更
# vi /etc/samba/smb.conf
[global]
unix charset = eucJP ※3行を追加
dos charset = CP932
display charset = eucJP
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = KAWASEMI ※LAN環境に合わせ変更
# server string is the equivalent of the
NT Description field
server string = KAWASEMI Server ※サーバ名を変更
# This option is important for security.
It allows you to restrict
# connections to machines which are on your
local network. The
# following example restricts access to two
C class networks and
# the "loopback" interface. For
more examples of the syntax see
# the smb.conf man page
hosts allow = 192.168. 127. ※LAN環境に合わせ変更
自動起動
#setup
lqqqqqqqqqu ツールを選択 tqqqqqqqqqk
x Authentication configuration
x Firewall configuration
x Mouse configuration
x Network configuration
x System services ※システムサービスを選択
x lqqqqqqqqqqqqk lqqqqqqk
x 実行ツール x x 停止 x
x mqqqqqqqqqqqqj mqqqqqqj
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
lqqqqqqqqqqqqqqqqqqu サービス tqqqqqqqqqqqqqqqqqqqk
x 自動的に起動させるサービスを指定してください。
x
x [ ] rsync
x [ ] saslauthd
x [ ] sendmail
x [ ] services
x [ ] sgi_fam
x [ ] smartd
x [*] smb ※smbを選択
x [*] sshd
x lqqqqk lqqqqqqqqqqk x
x x OK x x 取り消し x x
x mqqqqj mqqqqqqqqqqj x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
SAMBAのPASSWD設定
# smbpasswd -a kawasemi
再起動
#reboot
▲このページのトップへ戻る
Copyright(c) KWNE All rights reserved.
リンクフリーです(連絡不要)
|