In order to run ProFTPd as a Windows service under Cygwin the following needs to be set in the /etc/proftpd.conf
file:
--------------------------------------------------------------------------------
:
# Port 21 is the standard FTP port.
#Port 21
Port 2122
:
# Set the user and group under which the server will run.
User SYSTEM
Group Administrators
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
:
--------------------------------------------------------------------------------
The server can then be run as a service:
--------------------------------------------------------------------------------
cygrunsrv --install proftpd \
--path /usr/sbin/proftpd.exe \
--args "--nodaemon" \
--type manual \
--disp "CYGWIN proftpd" \
--desc "ProFTPd FTP daemon"
--------------------------------------------------------------------------------
Then it needs to be run:
--------------------------------------------------------------------------------
cygrunsrv --start proftpd
--------------------------------------------------------------------------------
'Linux' 카테고리의 다른 글
Cygwin 설치 및 개발환경 구축 (0) | 2013.04.19 |
---|---|
RPM 패키지 설치 및 삭제방법 (0) | 2012.08.31 |
init와 Runlevel (0) | 2012.08.31 |
유니티 각 부분의 명칭 및 키보드 단축키 (0) | 2011.07.20 |
유니티(unity) 초기화 (0) | 2011.07.20 |