share folder with windows simply

@CentOS6

Install Samba.

[root@localhost ~]# yum install samba
//skip
依存性を解決しました
===============================================================================================================
 パッケージ              アーキテクチャ           バージョン                      リポジトリー            容量
===============================================================================================================
インストールしています:
 samba                   x86_64                   3.6.23-51.el6                   base                   5.1 M

トランザクションの要約
===============================================================================================================
インストール         1 パッケージ

総ダウンロード容量: 5.1 M
インストール済み容量: 18 M

Add smb user.
//the user's home directory will be shared automatically.

[root@server samba]# smbpasswd -a centos
New SMB password:
Retype new SMB password:
Added user centos.

Start Samba.

[root@server samba]# service smb start
SMB サービスを起動中:
[root@server samba]#

access \server.domain with Windows Explorer.