Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 인바운드 규칙
- 이클립스 에러
- sql developer
- 프리티어
- Auraro
- 숫자 문자열과 영단어
- Cloudtrail
- EC2
- 인스턴스 생성
- AWS 모니터링 및 분석 서비스
- 신규 아이디 추천
- AWS 기초자격증
- Trusted Advisor
- rds
- The virtual machine was unable to remove all stack frames running old code from the call stack
- aws#aws기초자격증#EBS#S3#EFS
- Organozations
- 보안그룹
- oracle
- The Network Adapter could not establish the connection
- aws#멘땅의헤딩#
- list map 차이
- gitalb
- aws#키페어
- timed out
- aws
- cloudWatch
- 완주하지 못한 선수
- 인스턴스 연결
- 코딩테스트
Archives
- Today
- Total
시작하기, 뭐든
[Linux] 방화벽 설정 시 오류 - firewall-cmd: command not found 본문
시작하기, 뭐든 - 기록 28일차
서버 세팅하면서 방화벽을 설정하려는데 에러가 발생했다.
firewall-cmd: command not found
걍 아주 단순하게, 방화벽 설정을 하려고 firewall 명령어를 입력했는데 firewall이 설치되지 않아서 찾을 수 없다는 거다.
해결방법은 firewall을 설치해주면 된다.
sudo apt install firewalld
설치가 잘 됐는지 버전을 확인해보자.
sudo firewall-cmd --version

설치 완료했으면, 시스템 부팅할 때 자동으로 실행되게 설정해준다.
systemctl unmask firewalld
systemctl enable firewalld
systemctl start firewalld
unmask는 "Failed to restart firewalld.service: Unit is masked."에러를 방지하기 위해 실행해주고,
enable 설정을 통해 자동 실행되도록 설정해준다.