ProFTPD 1.2.x Installation Instructions
----------------------------------------

 :  < admin@oops.kr.nt >
   ֽñ ٶϴ.

ProFTPD GNU autoconf tool  ش system Ϻϰ ǵ 
 Ǿ . top-level directory ִ ҽ "configure" 
ϳ shell script  system м ϸ ϰ proftpd 
 ϱ Ͽ "config.h" .  ýۿ config.h 
top-level directory Makefile    ʿ䵵 ִ.

A list of known, tested and untested ports is available in the README 
file. The include file include/options.h contains a number of easily 
tweakable compile-time options which affect proftpd's operation.  
These are NOT modified by the configuration script.  option header 
file ȭ ȴ.

INSTALLATION INSTRUCTIONS:

1. proftpd ν ϱ Ͽ user group ؾ Ѵ. ⺻
   user root, group root Ǿ ִ.  ϰ  defaults 
   Ϸ top level directory  Ʒ   Ѵ.

   $ ./configure

   BSDI ó ٸ user group install ϱ⸦ Ѵٸ 
   install_user install_group̶ ȯ溯μ    ʿ䰡
   ִ. sh/ksh/bash Ѵٸ, BSDI system Ʒ  𰡸
     Ѵ.
   
   $ install_user=root install_group=wheel ./configure

   ⺻ gnu configure script  binary /usr/local/bin 
   /usr/local/sbin  install Ѵ. configure script command line
   "--prefix" ڸ ϸ ̰ ٲܼ ִ.   /usr/sbin
   proftpd installϰ /usr/bin binary ġŰ ؼ Ʒ
     ش.
   
   $ ./configure --prefix=/usr

   "configure --help"  Ҽ ִ  ڵ 
    ִ.

   $ ./configure --help

   : configure [options] [host]
   Options: [defaults in brackets after descriptions]

   Configuration:

     --cache-file=FILE       cache test results in FILE
     --help                   message print
     --no-create             output file  ʴ´
     --quiet, --silent       `checking...' message print 
     --version               configure  autoconf  print

   Directory and file names:

     --prefix=PREFIX         PREFIX[usr/loca]   file ġ
     --exec-prefix=EPREFIX   [prefix ó]EPREFIX   file ġ
     --bindir=DIR            EPREFIX/bin user  file ġ
     --sbindir=DIR           EPREFIX/bin system admin  file ġ
     --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
     --datadir=DIR           read-only architecture-independent data in DIR
                             [PREFIX/share]
     --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
     --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                             [PREFIX/com]
     --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var                             ]
     --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
     --includedir=DIR        C header files in DIR [PREFIX/include]
     --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
     --infodir=DIR           info documentation in DIR [PREFIX/info]
     --mandir=DIR            man documentation in DIR [PREFIX/man]
     --srcdir=DIR            find the sources in DIR [configure dir or ..]
     --program-prefix=PREFIX prepend PREFIX to installed program names
     --program-suffix=SUFFIX append SUFFIX to installed program names
     --program-transform-name=PROGRAM
                             run sed PROGRAM on installed program names
   Host type:

     --build=BUILD           configure for building on BUILD [BUILD=HOST]
     --host=HOST             configure for HOST [guessed]
     --target=TARGET         configure for TARGET [TARGET=HOST]

   Features and packages:

     --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=                             no)
     --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     --x-includes=DIR        X include files are in DIR
     --x-libraries=DIR       X library files are in DIR

   --enable and --with options recognized:

     --enable-shadow         force compilation of shadowed password support
     --enable-autoshadow     enabled auto-detection of shadowed passwords
     --with-modules=LIST     ߰ ߰.   ":"  


   ProFTPD "--with-modules=LIST"ڷ module ߰Ҽ ִ.
    option contrib directory ִ ߰ module鸸 ش
   Ѵ. "--with-modules" ڿ ؼ     ʴ´.

2. configure  Ŀ, configure script    ̴. 
   configure ش platform scanѰ ߸  ã Ͽ 
   config.h file scanϴ  .   Ǿٸ,  
   ܰ踦 Ѵ.

3. the top-level source directory "make" Ѵ. 
   (BSDI ) make utility ϴ system ſ
   GNU make ( gmake Ѵ)  ʿ䰡 ִ. compile 
     error ߻ ʴ Ȯ϶.
    platfrom(Ư AIX IRIX)鿡   Ǵ link  
    ִ. ̰͵ Ϲ ϸ ȴ. make proftpd 
   binary, õ utility Ϻϰ , step 4 Ѵ.

4. top level source directory "make install" Ѵ. ̰
   /usr/local/sbin proftpd ׸ /usr/bin util install
   Ұ̴.  sample-configurations directory ִ
   "basic.conf" file /usr/local/etc/proftpd.conf copy ̴.

5. /usr/local/etc/proftpd.conf  Ѵ. User/Group system
    ϴ Ȯ Ѵ. ׷  proftpd ۵
   ʴ´.

6. proftpd Ҷ inetd/xinetd   standalone  
    Ѵ.   /etc/proftpd.conf ServerType 
     Ϳ ° Ѵ.(ServerType inetd Ǵ ServerType
   standalone ߿ ϳ ϸ ȴ) standalone ߴٸ
   step 7 ǳʶٵ Ѵ.

7. inetd proftpd ϱ ؼ /etc/inetd.conf  
   ϸ ٲ  ϱ Ͽ inetd  ؾ Ѵ.
   /etc/inetd.conf Ʒ     ̴.

   ftp stream tcp nowait root   /usr/sbin/in.ftpd in.ftpd -l -a -u022

     Ʒ   ش :

   ftp stream tcp nowait root   /usr/sbin/proftpd proftpd

   ProFTPD  tcp wrapper  Ҽ ִ :

   ftp stream tcp nowait root   /usr/sbin/tcpd    proftpd

8. standalone mode  Ѵٸ ý proftpd ϱ 
   boot script   Ѵ. shell  ̰ μ
    ϰ Ҽ ִ.(̰ rootμ Ǿ   
   ʿ䰡 ִ.)

9. system ftping  Ǵ ׸  ۾
    Ǵ Ȯ ϶. ࿡  ִٸ syslog*
   üũϵ Ѵ.

10. MaxClients, MaxClientPerHost ftpwho/ftpcount  ϱ 
    ؼ, proftpd scoreboard file  scoreboard path 
     ʿ䰡 ִ. scoreboard file path ⺻
    "/usr/local/var/proftpd" Ǿ ִ.

    proftpd.conf ٸ directory ϱ  ScoreboardPath
    ڸ Ҽ ִ. Ǵ ̰  ʴ´ٸ mkdir
    /usr/local/var/proftpd Ҽ ִ.
    
    ALL user ftpwho ftpcount ϴ   ʴ,
    directory Ư permission  ʿ .

11. anonymous ftp ߰ϱ⸦ ϰų   ftp 
    ϱ⸦ Ѵٸ http://www.proftpd.org/reference.html  ִ
    guide ϱ ٶ. ο ftp  testϱ ؼ
    command line proftpd -c <now_config_file> Ҽ
    ִ. ׸ ο  file   ߻Ѵٸ
     ޼   ̴. inetd mode  ϰ 
     ٸ ϰ Ҽ ִ "Fatal: Socket operation on 
    non-socket"    ̴. ( ̰ inetd demon ﶧ
    Ÿ ʴ´.)

 .   Ҷ   ִٸ syslog*  check
 ٶ.  error ° ߻ϸ proftpd log ϳ Ǵ ̻
   ԵǾ  ̴.

   Bug reports
& mailing list: proftpd-l@evcom.net
       Patches: bugs@proftpd.org
           WWW: http://www.proftpd.org
           FTP: ftp://ftp.proftpd.org/distrib
