메뉴 건너뛰기

2015.07.17 19:23

CentOS 7 FTP Server 설치

조회 수 7701 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

vsftpd를 설치한다.

 #yum install vsftpd ftp -y

 


/etc/vsftpd/vsftpd.conf의 설정파일을 수정한다.

[...]

## Disable anonymous login ##

anonymous_enable=NO


## Uncomment ##

ascii_upload_enable=YES

ascii_download_enable=YES


## Uncomment - Enter your Welcome message - This is optional ##

ftpd_banner=Welcome to my FTP service.


##Add at the end of this file ##

use_localtime=YES

 

* anonymous_enable 알려지지 않은 사용자 접속 여부

* ascii_upload_enable 아스키모드 업로드 허용

* ascii_download_enable 아스키모드 다운로드 허용

 


ftp서버 실행

#systemctl enable vsftpd

#systemctl stasrt vsfptd

 


방화벽과 SELinux 설정을 수정한다.

#firewall-cmd --permanent --add-port=21/tcp

#firewall-cmd --permanent --add-service=ftp


방화벽 재시작

#firewall-cmd --reload

 


SELinux boolean 값 수정

#setsebool -P ftp_home_dir on

*setsebool은 SELINUX의 정책 설정

*-P : 영구 설정

*ftp_home_dir : 홈디렉토리만 접근가능하도록 하는 옵션


FTP 사용자를 생성한다.

#useradd ftpuser

#passwd ftpuser



ftp 서버에 접속한다.

#ftp 사용자 IP 입력





  1. No Image

    특정 웹페이지에서 문자가 깨지는 경우 (인코딩 문제)

    Date2016.03.18 Views7553
    Read More
  2. No Image

    이온큐브로더(ioncube) 설치 매뉴얼

    Date2016.03.18 Views10391
    Read More
  3. [Linux]리눅스,사용자계정(관련 파일,명령어)

    Date2015.11.21 Views8159
    Read More
  4. No Image

    PHP-5.3 이상 Zend 설치

    Date2015.07.30 Views8698
    Read More
  5. Centos7 64bit 웹서버 만들기-소켓모듈설치(socket.io) CAP7

    Date2015.07.17 Views8552
    Read More
  6. Centos7 64bit 웹서버 만들기-PHP설치 CAP5

    Date2015.07.17 Views11979
    Read More
  7. Centos7 64bit 웹서버 만들기-mysql설치 CAP4

    Date2015.07.17 Views7655
    Read More
  8. No Image

    Centos7 64bit 웹서버 만들기-방화벽설치 CAP2

    Date2015.07.17 Views7838
    Read More
  9. No Image

    CentOS 7 Subversion(SVN)

    Date2015.07.17 Views7648
    Read More
  10. No Image

    CentOS 7 FTP Server 설치

    Date2015.07.17 Views7701
    Read More
  11. No Image

    cron을 이용한 DB자동백업

    Date2015.07.16 Views8204
    Read More
  12. No Image

    httpd.conf 기타 설정 사항

    Date2015.07.16 Views7368
    Read More
  13. No Image

    MySQL 계정생성하기

    Date2015.07.16 Views7512
    Read More
  14. No Image

    mysql root 비밀번호 설정

    Date2015.07.16 Views7858
    Read More
  15. No Image

    php-mbstring 설치

    Date2015.07.16 Views7776
    Read More
  16. No Image

    php.ini 파일에서 timezone 설정

    Date2015.07.16 Views7754
    Read More
  17. No Image

    아파치 재시작 없이 설정 적용

    Date2015.07.16 Views8184
    Read More
  18. No Image

    my.cnf 케릭터 셋 설정 (uft8)

    Date2015.07.16 Views7290
    Read More
  19. No Image

    centos 버전 확인

    Date2015.07.16 Views7614
    Read More
  20. No Image

    centos 7 계정추가

    Date2015.07.16 Views8598
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next
/ 12

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved