본문 바로가기

개발 Note/Linux

Ubuntu : folder share

반응형

[server 쪽]

samba 사용

- /etc/samba/smb.conf

 

 

[client 쪽]

 

sudo apt-get install cifs-tool smb-client

sudo mount.cifs //[remote path]  /home/myhome/[mount name]  -o "username=my id,password="pwd"

ex)

sudo mount.cifs //10.20.30.40/share  /home/myhome/share-o ...

 

 

server 의 network share 상황 확인 방법

smbclient -L ip -U%

 

Sharename       Type      Comment
---------       ----      -------
temp$           Disk      Share Directories
IPC$            IPC       IPC Service (Samba 4.3.11-Ubuntu)