Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Archives
Today
Total
관리 메뉴

일기장

Ubuntu 20.04 fail2ban 수동설치 본문

Ubuntu 20.04

Ubuntu 20.04 fail2ban 수동설치

Hemulen 2020. 8. 16. 15:25

요구사항) Python2 >= 2.6 or Python >= 3.2 or PyPy

$  python3 --version
Python 3.6.9

 

1. 아래 링크에서 최신 파일을 다운받는다

https://github.com/fail2ban/fail2ban/releases

 

2. fail2ban 설치 스크립트 실행

$ curl -OL https://github.com/fail2ban/fail2ban/archive/0.11.1.tar.gz
$ tar -xvzf 0.11.1.tar.gz
$ cd fail2ban-1.0.1
$ sudo python setup.py install

#설치확인
$ fail2ban-client -h

 

3. fail2ban 시작/등록

$ sudo cp files/debian-initd /etc/init.d/fail2ban
$ sudo update-rc.d fail2ban defaults

$ sudo systemctl start fail2ban
$ sudo systemctl enable fail2ban

 

4. /etc/fail2ban/jail.local 파일 수정

'Ubuntu 20.04' 카테고리의 다른 글

Ubuntu 20.04 + Laravel (WIP)  (0) 2020.08.15
Ubuntu Desktop 20.04 설치 후 참고  (0) 2020.03.07
Ubuntu 20.04 Docker 기본 명령어  (0) 2020.01.05