FTP Server - proftpd
-------------------------------------------------------------------
proftp 공식 홈페이지 : http://www.proftpd.org/
proftpd-1.3.1.tar.gz : ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.1.tar.gz
-------------------------------------------------------------------
1. proftpd 다운 및 압축 해제
[root@server3 ~]# cd Desktop
[root@server3 Desktop]# ls
proftpd-1.3.1.tar.gz
[root@server3 Desktop]# cp proftpd-1.3.1.tar.gz /usr/local/src
[root@server3 Desktop]# cd /usr/local/src
[root@server3 src]# ls
proftpd-1.3.1.tar.gz
[root@server3 src]# tar xvfz proftpd-1.3.1.tar.gz
[root@server3 src]# ls
proftpd-1.3.1
proftpd-1.3.1.tar.gz
[root@server3 src]# cd proftpd-1.3.1
[root@server3 proftpd-1.3.1]# ls
COPYING README.IPv6 README.ports include
CREDITS README.LDAP RELEASE_NOTES install-sh
ChangeLog README.PAM acconfig.h lib
INSTALL README.Solaris2.5x aclocal.m4 locale
Make.rules.in README.Unixware config.guess ltmain.sh
Makefile.in README.capabilities config.h.in modules
NEWS README.classes config.sub proftpd.spec
README README.controls configure sample-configurations
README.AIX README.cygwin configure.in src
README.DSO README.facl contrib stamp-h.in
README.FreeBSD README.modules doc utils
-------------------------------------------------------------------
2. proftpd 설치
[root@server3 proftpd-1.3.1]# ./configure --prefix=/usr/local/proftpd --enable-autoshadow --enable-shadow
- 중략
config.status: creating Makefile
config.status: creating Make.rules
config.status: creating config.h
config.status: executing default commands
[root@server3 proftpd-1.3.1]#
[root@server3 proftpd-1.3.1]# make && make install
- 중략
cd include/ && make install
make[1]: Entering directory `/usr/local/src/proftpd-1.3.1/include'
make[1]: Leaving directory `/usr/local/src/proftpd-1.3.1/include'
test -z """" || (cd locale/ && make install)
[root@server3 proftpd-1.3.1]#
[root@server3 proftpd-1.3.1]# cd /usr/local
[root@server3 local]# ls
proftpd
[root@server3 local]# cd proftpd/
[root@server3 proftpd]# ls
bin etc include libexec man sbin share var
[root@server3 proftpd]#
-------------------------------------------------------------------
3. 환경설정 파일 설정 - proftpd.conf
[root@server3 proftpd]# cd etc
[root@server3 etc]# ls
proftpd.conf
[root@server3 etc]# vi proftpd.conf
25 # Set the user and group under which the server will run.
26 User nobody
27 #Group nogroup
28 Group nobody
-------------------------------------------------------------------
4. proftpd 서비스 실행
[root@server3 proftpd]# cd sbin/
[root@server3 sbin]# ls
ftpshut in.proftpd proftpd
[root@server3 sbin]# ./proftpd & - /usr/local/proftpd/sbin/proftpd & 과 같은 의미이며 &는 백그라운드로 실행한다는 의미이다.
[1] 22969
[root@server3 sbin]#
[root@server3 sbin]# netstat -nat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
[1]+ Done ./proftpd
[root@server3 sbin]#
-------------------------------------------------------------------
5. ftp 접속
[root@server3 sbin]# ftp 10.10.33.3
Connected to 10.10.33.3.
220 ProFTPD 1.3.1 Server (ProFTPD Default Installation) [10.10.33.3]
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (10.10.33.3:root): anonymous
331 Anonymous login ok, send your complete email address as your password
Password:
230 Anonymous access granted, restrictions apply
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/" is the current directory
ftp> ls
227 Entering Passive Mode (10,10,33,3,135,231).
150 Opening ASCII mode data connection for file list
drwxr-x-wx 3 root root 4096 Dec 18 06:44 pub
226 Transfer complete
ftp> quit
221 Goodbye.
[root@server3 sbin]#
'Linux Server 구축 > 2-1. FTP Server' 카테고리의 다른 글
filezilla - FTP Client Program (0) | 2008.12.18 |
---|---|
FTP Server - proftpd.conf (0) | 2008.12.18 |
FTP Server - vsftp - vsftpd.conf (0) | 2008.12.18 |
FTP Server - vsftp (0) | 2008.12.18 |