http://wikis.jp/chikaram/index.php?CentOS%2FSamba
>ipconfig
# ifconfig
# vi /etc/sysconfig/network
(旧)HOSTNAME=localhost.localdomain
(新)HOSTNAME=centos
# vi /etc/hosts
(旧)127.0.0.1 localhost.localdomain localhost
(新)127.0.0.1 centos localhost.localdomain localhost
# /etc/init.d/network restart
# hostname
# vi /etc/samba/smb.conf
(追加) guest account = chikara
| create mask = 664
(旧) security = user
(新) security = share
(旧) ; [public]
| ; comment = Public Stuff
| ; path = /home/samba
| ; public = yes
| ; writable = yes
(新) [public]
| comment = Public Stuff
| path = /home/samba
| public = yes
| writable = yes
# chkconfig smb on #自動起動設定
# chkconfig --list | grep smb #確認
# /etc/init.d/smb restart
>ipconfig
# ifconfig
# vi /etc/sysconfig/network
(旧)HOSTNAME=localhost.localdomain
(新)HOSTNAME=centos
# vi /etc/hosts
(旧)127.0.0.1 localhost.localdomain localhost
(新)127.0.0.1 centos localhost.localdomain localhost
# /etc/init.d/network restart
# hostname
# vi /etc/samba/smb.conf
(追加) guest account = chikara
| create mask = 664
(旧) security = user
(新) security = share
(旧) ; [public]
| ; comment = Public Stuff
| ; path = /home/samba
| ; public = yes
| ; writable = yes
(新) [public]
| comment = Public Stuff
| path = /home/samba
| public = yes
| writable = yes
# chkconfig smb on #自動起動設定
# chkconfig --list | grep smb #確認
# /etc/init.d/smb restart