사용자 도구

사이트 도구


samba

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
samba [2020/10/30 08:04] rex8312samba [2024/03/23 02:38] (현재) – 바깥 편집 127.0.0.1
줄 24: 줄 24:
 sudo mount -t cifs -o username={user},password={passwd},uid=1000,gid=1000,dir_mode=0755,file_mode=0755 //WIN_SHARE_IP/<share_name> /mnt/win_share sudo mount -t cifs -o username={user},password={passwd},uid=1000,gid=1000,dir_mode=0755,file_mode=0755 //WIN_SHARE_IP/<share_name> /mnt/win_share
 </code> </code>
- 
-===== Server ===== 
  
   * https://linuxize.com/post/how-to-mount-cifs-windows-share-on-linux/   * https://linuxize.com/post/how-to-mount-cifs-windows-share-on-linux/
   * https://ssaemo.tistory.com/49   * https://ssaemo.tistory.com/49
   * https://sancs.tistory.com/109   * https://sancs.tistory.com/109
 +
 +===== Server =====
 +
 +1. samba 서버 설치
 +
 +<code bash>
 +sudo apt install samba
 +</code>
 +
 +2. samba 계정 추가
 +
 +<code bash>
 +sudo smbpasswd -a {Ubuntu ID}
 +</code>
 +
 +3. 설정파일 수정
 +
 +<code ini>
 +# /etc/samba/smb.conf에 추가
 +[{share name}]
 +   comment = ...
 +   path = /home/rex8312/...
 +   read only = no
 +   browseable = yes
 +   valid users = rex8312 ...
 +</code>
 +
 +4. samba 재시작
 +
 +<code bash>
 +sudo service smbd restart
 +</code>
 +
   * https://jhnyang.tistory.com/277   * https://jhnyang.tistory.com/277
-  * https://blog.xianchoi.kr/145 
   * http://storycompiler.tistory.com/31   * http://storycompiler.tistory.com/31
samba.1604045083.txt.gz · 마지막으로 수정됨: 2024/03/23 02:37 (바깥 편집)