BLOG main image
분류 전체보기 (368)
IT (67)
끄적거린수필 (147)
경제의이해 (13)
Wow! (43)
리뷰 (10)
사진과 그 순간 기억 (60)
인상깊은 구절 (21)
자료실 (4)
English (3)
At our great submitting articl..
06:13 - submit articles
좋은 게시물, 공유를위한 감사합..
05/11 - china wholesale
If you are willing to know mor..
04/29 - custom thesis
We could get custom dissertati..
04/29 - thesis
I know that a lot of custom th..
04/26 - dissertation writing service
Different students want to fin..
04/26 - dissertation
You know the style of your cod..
02/28 - descriptive essay
I understand you for sure - it..
02/28 - book report writer
I think you have really good i..
02/28 - homework helper
To my mind this new thing shou..
02/28 - obama speech
엔컴퓨팅 무슨 회사냐 하시는 분..
Welcome to the NComputing World
10월 13일 무한도전 - 환장의 짝..
Nothing is impossable in this..
해커와 화가...
괴짜 프로그래머의 일상사~@@
재테크 열풍 속에서 우리는 무엇..
Miracler's Blog Life~
270,232 Visitors up to today!
Today 3 hit, Yesterday 41 hit
daisy rss
tistory 티스토리 가입하기!
2008/07/22 22:22
 오랜만에 할려고 하니 기억이 잘 나지 않아서 블로그에 정리해두는 게 유용할 것 같아서 필요한 몇 가지만 적어두고자 한다.

1. samba 를 설치한다. apt-get install samba


2. 설정 파일은 다음의 위치의 /etc/samba/smb.conf 이다.


3. 삼바는 기본적으로 시스템 계정과 독립적인 계정을 사용하므로 따로 생성해줘야 한다. 추후에 [homes]를 이용하기 위해서는 시스템 계정과 같은 명의 삼바 계정 명을 생성해주는 것이 편하다.

sudo smbpasswd -a userid


4. [homes]를 이용하기 위해서 아래와 같이 smb.conf 파일을 다음과 같이 변경한다.

[homes]

comment = Home Directories

browseable = no

그리고 그 조금 밑에 다음부분이 있다.

readonly = no (no로 하면 쓰기가 가능하다)


5. /etc/init.d/samba restart 를 통해 새롭게 지정하면 끝

기타. [global] 부분에 hosts allow = 10.0.0.5를 추가해서 특정 IP만 접근 가능하도록 할 수도 있다.


[public]
 comment = [적당한 설명]
 path=/home/[원하는 경로]
 public = yes
writable = yes

이런 식으로 추가도 가능하다.



Trackback Address :: http://www.coveredjin.com/trackback/361 관련글 쓰기
BlogIcon Xino | 2008/07/23 11:21 | PERMALINK | EDIT/DEL | REPLY
요즘 너무 포스팅을 열심히 하는데? ㅎㅎ;
Name
Password
Homepage
Secret