°Ô½Ã¹° 1,369°Ç
   
[SAMBA 1.] À©µµ¿ì Æú´õ°øÀ¯ ---> ¸®´ª½º¿¡¼­ ÆÄÀϽýºÅÛ °øÀ¯
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-01-25 (¿ù) 13:36 Á¶È¸ : 12780
±ÛÁÖ¼Ò :
                                
À©µµ¿ì¿Í ¸®´ª½º°£ÀÇ ÀÚ·á°øÀ¯¸¦ À§Çؼ­ ¸¹ÀÌ »ç¿ëÇÏ´Â SAMBA ÀÇ È°¿ë¿¡ ´ëÇؼ­ ¾Ë·Áµå¸³´Ï´Ù.

¹æ¹ý¿¡´Â À©µµ¿ìÁî¿¡¼­ Æú´õȤÀº ÆÄÀÏÀ» °øÀ¯½ÃÅ°°í ¸®´ª½º¿¡¼­ ¸¶¿îÆ®Çؼ­ ÀÌ¿ëÇÒ¼öµµ ÀÖÀ»°Å°í ¹Ý´ë·Î ¸®´ª½º¿¡¼­ °øÀ¯½ÃŲÈÄ À©µµ¿ìÁî¿¡¼­ °øÀ¯ÇÏ´Â ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.


¸ÕÀú À©µµ¿ìÁî¿¡¼­ Æú´õ¸¦ °øÀ¯½ÃÅ°°í ¸®´ª½º¿¡¼­ ¸¶¿îÆ® °É¾î¼­ ÀÌ¿ëÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù.

¸®´ª½º¿¡¼­ YUMÀ¸·Î RPM ¹öÀüÀ¸·Î SAMBA ÆÐÅ°Áö¸¦ ¸ðÁ¶¸® ¼³Ä¡ÇÑ´Ù.

[root@localhost ~]# yum install samba-*
fedora                    100% |=========================| 2.1 kB    00:00
updates                   100% |=========================| 2.3 kB    00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package samba.i386 0:3.0.28a-1.fc7 set to be updated
---> Package samba-client.i386 0:3.0.28a-1.fc7 set to be updated
---> Package samba-doc.i386 0:3.0.28a-1.fc7 set to be updated
---> Package samba-common.i386 0:3.0.28a-1.fc7 set to be updated
---> Package samba-swat.i386 0:3.0.28a-1.fc7 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 samba-doc               i386       3.0.28a-1.fc7    updates            13 M
 samba-swat              i386       3.0.28a-1.fc7    updates           7.3 M
Updating:
 samba                   i386       3.0.28a-1.fc7    updates           2.8 M
 samba-client            i386       3.0.28a-1.fc7    updates           4.5 M
 samba-common            i386       3.0.28a-1.fc7    updates           7.2 M

Transaction Summary
=============================================================================
Install      2 Package(s)
Update       3 Package(s)
Remove       0 Package(s)

Total download size: 35 M


°øÀ¯ ¸ñ·Ï È®ÀÎ
  - À©µµ¿ì 2008¿¡¼­ÀÇ µðÆúÆ® °øÀ¯ ¸®½ºÆ®
[root@WAIT-LB ~]# smbclient -L 115.68.27.XX -U administrator%ºñ¹Ð¹øÈ£@
Domain=[MOJILY] OS=[Windows (R) Web Server 2008 6002 Service Pack 2] Server=[Windows (R) Web Server 2008 6.0]

        Sharename       Type      Comment
        ---------       ----      -------
        ADMIN$          Disk      ¿ø°Ý °ü¸®
        C$              Disk      ±âº» °øÀ¯
        IPC$            IPC       ¿ø°Ý IPC
        Public          Disk
        wwwroot         Disk
session request to 115.68.27.77 failed (Called name not present)
session request to 115 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available
[root@WAIT-LB ~]#

 
- À©µµ¿ìÁîÀÇ Backup À̶ó´Â Æú´õ¸¦ °øÀ¯½ÃÄ×À» °æ¿ì(administrator °ü¸®ÀÚ °èÁ¤»ç¿ë)







[root@WAIT-LB ~]# smbclient -L 115.68.27.XX -U administrator%ºñ¹Ð¹øÈ£@
Domain=[MOJILY] OS=[Windows (R) Web Server 2008 6002 Service Pack 2] Server=[Windows (R) Web Server 2008 6.0]

        Sharename       Type      Comment
        ---------       ----      -------
        ADMIN$          Disk      ¿ø°Ý °ü¸®
        Backup          Disk
        C$              Disk      ±âº» °øÀ¯
        IPC$            IPC       ¿ø°Ý IPC
        Public          Disk
        wwwroot         Disk
session request to 115.68.27.77 failed (Called name not present)
session request to 115 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available


¸¶¿îÆ®·Î °øÀ¯
 ¡Ø ¿É¼Ç¼³¸í 
iocharset=value
      Character  set  to  use for converting between 8 bit characters and 16 bit Unicode characters.
      The default is iso8859-1.  Long filenames are stored on disk in Unicode format.


mount -t cifs //115.68.27.XX/Backup /win-share -o username=administrator -o password=ºñ¹Ð¹øÈ£ -o iocharset=cp949

[root@localhost ~]# df -Th
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/sda3     ext3    2.0G  866M 1015M  47% /
/dev/sda9     ext3     49G  816M   46G   2% /home
/dev/sda8     ext3    996M   34M  911M   4% /tmp
/dev/sda7     ext3    4.3G  3.1G  1.1G  75% /usr
/dev/sda6     ext3    4.8G  515M  4.0G  12% /var
/dev/sda5     ext3    9.5G  3.6G  5.5G  40% /usr/local
/dev/sda1     ext3     99M   26M   69M  27% /boot
tmpfs        tmpfs    982M     0  982M   0% /dev/shm
//115.68.27.77/Backup
              cifs     60G   54G  7.0G  89% /win-share


/etc/fstab ¼öÁ¤À¸·Î ¸®ºÎÆýÿ¡µµ ÀÚµ¿ ¸¶¿îÆ®

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/home             /home                   ext3    defaults        1 2
LABEL=/tmp              /tmp                    ext3    defaults        1 2
LABEL=/usr              /usr                    ext3    defaults        1 2
LABEL=/var              /var                    ext3    defaults        1 2
LABEL=/usr/local        /usr/local              ext3    defaults        1 2
LABEL=/boot1            /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-sda2         swap                    swap    defaults        0 0
//115.68.27.XX/Backup /win-share cifs username=°èÁ¤,password=ºñ¹ø,iocharset=cp949  0 0


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.