# wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.0.tar.gz
# tar -xzvf proftpd-1.3.0.tar.gz
# cd proftpd-1.3.0
# ./configure --prefix=/usr/local/proftpd
# make
# make install
# cd /usr/local/proftpd/sbin/proftpd
만약 여기서 다음과 같은 에러가 나면...
- warning: unable to determine IP address of 'localhost.localdomain'
- error: no valid servers configured
- Fatal: error processing configuration file '/usr/local/proftpd/etc/proftpd.conf'
- warning: unable to determine IP address of 'test01'
- error: no valid servers configured
- Fatal: error processing configuration file '/usr/local/proftpd/etc/proftpd.conf'
# vi /etc/hosts
127.0.0.1 localhost.localdomain localhost
127.0.0.1 test01 localhost
추가 해주면 됩니다.
그러면 에러가 안나요.
그리고 나서 다음과 같이 포트가 열려있는지 확인하면 됩니다.
# netstat -an | grep LISTEN | grep 21
출처: http://ibabo.tistory.com/115 [Hello, World ♡.♡]
'Works > CentOS & RockyLinux' 카테고리의 다른 글
파일 용량이 큰 순서대로 정렬 (Sort) (0) | 2017.05.31 |
---|---|
CentOS mirror site (국내) (0) | 2017.04.25 |
[vi] Line 단위로 지우기 (0) | 2017.04.20 |
PostgreSQL 버전 정보 확인하는 몇가지 방법 (0) | 2017.04.12 |
/etc/passwd 계정 /bin/false 와 /sbin/nologin 차이점 (0) | 2017.04.06 |