๐ป ํ๋ก๊ทธ๋๋ฐ/Linux
[Error] firewall-cmd: command not found ํด๊ฒฐํ๊ธฐ
๋ฏธ์ธ์ฃผ
2023. 4. 3. 13:28
1. ๋ฌธ์ ์ํฉ
CentOS 7์์ ๋ฐฉํ๋ฒฝ ๊ด๋ จ ํฌํธ๋ ์๋น์ค๋ฅผ ์ด๊ฑฐ๋ ๋ซ์ ๋, firewalld ๋ช ๋ น์ด๋ฅผ ์ฌ์ฉํ๋ค.
์ต์ ์ค์น๋ฅผ ํ์ ๋์๋ ์๋์ผ๋ก ์ค์น๋์ง ์๊ธฐ ๋๋ฌธ์ firewalld ๋ช ๋ น์ด๋ฅผ ์ฌ์ฉํ์ ๋,
firewall-cmd: command not found๋ผ๋ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค.
2. ํด๊ฒฐ ๋ฐฉ๋ฒ
์๋ ๋ช ๋ น์ผ๋ก ํ์ํ ํจํค์ง๋ฅผ ์ค์นํ๋ฉด ํด๊ฒฐ ์๋ฃ!
yum install firewalld
3. ์ฌ์ฉ๋ฒ
systemctl unmask firewalld
systemctl enable firewalld
systemctl start firewalld
์ฐธ๊ณ ์ฌ์ดํธ