>> Read Reply from No. 42809 article  
RE: proftp 설치후

등록 2002-02-19 14:43:00     조회 1
이름 영스    

		: 저의 OS는 7.2 redhat 입니다. ftp server를 구축하려고 하는데 proftp가 없어서
:
: 김정균씨 홈페이지에서 proftpd-1.2.4-2kr.i686.rpm을 다운 받아서
:
: [root]# rpm -ivh --nodeps proftpd-1.2.4-2kr.i686.rpm
: preparing....   ###################################   [100%$]
: .
:
:
: 이렇게 설치를 했습니다.
:
: 그런데 설정 화일인 proftpd.conf를 찾을 수가 없군요.. 그리고 실행을 할려면 어떻게
:
: 해야하는지 잘 모르겠습니다.. 자세히 설명해 주세요.. ^^ 매번 감사합니다..
  제가 작성한 자료를 올려봅니다. 저는 소스로 설치하여 환경설정하였습니다.
 ■ FTP 서버(ProFTPd)
 ※ 첫째, FTP서버에 대한 소개
FTP서버는 클라이언트에서 파일을 받아갈 수 있도록 ProFTPd 나 WU-FTPd와 같은 서버 프로그램
을 설치한  서버 ※ 둘째, ProFTPd를 소스 구하기 및 설치하기
1. 소스 구하기
www.proftpd.net (저는 proftpd-1.2.4.tar.gz를 구했다.)
2. 소스 설치
# cp proftpd-1.2.4.tar.gz /usr/local/src/
# cd /usr/local/src
# pwd
/usr/local/src
# tar xvfz proftpd-1.2.4.tar.gz
# ls pro*
proftpd-1.2.4	proftpd-1.2.4.tar.gz
# cd proftpd-1.2.4
# pwd
/usr/local/src/proftp-1.2.4
# ./configure   (환경설정)
--prefix=/usr/local/proftpd
--enable-autoshadow 
# make (컴파일)
# make install (설치)
 ※ 셋째, ProFTPd 일반적인 환경 설정
# cat /usr/local/proftpd/etc/proftpd.conf
 # This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
 ServerName			"ProFTPD Default Installation"
ServerType			standalone
DefaultServer			on
ServerAdmin			cymotor at cymotor.com # Port 21 is the standard FTP port.
Port				21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
# umask는 새로 생성된 디렉토리나 파일에 대해서 기본 퍼미션을 적용한다.
# 참고
# Umask 022 (디렉토리 : 755, 파일 : 644)
# Umask 070 (디렉토리 : 705, 파일 : 604)
# Umask 020 (디렉토리 : 757, 파일 : 646)
# Umask 002 (디렉토리 : 775, 파일 : 664)
# Umask 007 (디렉토리 : 770, 파일 : 660)
 Umask				022
 # To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances			30
 # Set the user and group that the server normally runs at.
# User 지시자로 설정한 유저는 ProFTPd 데몬을 실행하는 사용자를 의미한다.
User				nobody
Group				nobody  # (nogroup 이 아님을 확인!!)
 # Normally, we want files to be overwriteable.
# 덮어쓰기 허용 여부를 결정한다.
<Directory /*>
  AllowOverwrite		on
</Directory>
 # A basic anonymous configuration, no upload directories.
<Anonymous /home/ftp>
<Limit LOGIN>
AllowAll
</Limit>
  User				ftp
  Group				ftp
  # We want clients to be able to login with "anonymous" as well as "ftp"
  UserAlias			anonymous ftp
   # Limit the maximum number of anonymous logins
  MaxClients			10
   # We want 'welcome.msg' displayed at login, and '.message' displayed
  # in each newly chdired directory.
  DisplayLogin			welcome.msg
  DisplayFirstChdir		.message
  RequireValidShell	off	# 이 지시자를 off로 지정해야 Anonymous를 사용할 수 있다.
  # Limit WRITE everywhere in the anonymous chroot
  <Limit WRITE>
    DenyAll
  </Limit>
</Anonymous>
-------------------------------------------------------------
# /usr/sbin/adduser ftp
이상으로 각 계정 사용자와 Anonymous 사용자를 위한 환경으로 설정하여 보았다.
 ※ ProFTPd의 시작과 종료(소스 설치시)
1. ProFTPd 시작
# /usr/local/proftpd/sbin/proftpd
2. ProFTPd 종료
# pwd
/usr/local/proftpd/sbin
# killall proftpd
3. ProFTPd 현재 접속자 알아보기
# pwd
/usr/local/proftpd/bin
#./ftpwho
4. ProFTPd 현재 접속자 수 알아보기
# pwd
/usr/local/proftpd/bin
# ./ftpcount
 이상으로 ProFTPd에 대한 설명을 마칩니다.
이름
암호


>> 관련글
42809 proftp 설치후  초보  2002.02.19  ....
  답장 RE: proftp 설치후  영스  2002.02.19  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.16 초 ] 작업시간: [ 0 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1791745107
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.