linux-must-install-software
Linux_必裝
netstat
netstat 是一個網路工具
- 安裝指令
sudo yum -y install net-tools
-測試
netstat
- 觀看服務
sudo netstat -pnltu | grep redis
firewallds
防火牆管理工具
- 安裝指令
sudo dnf install firewalld
- 啟用
sudo systemctl enable firewalld
sudo systemctl start firewalld
- 測試
sudo firewall-cmd --state
- Output
public
參考
How To Set Up a Firewall Using firewalld on CentOS 8 | DigitalOcean
netstat Command not found on CentOS 8 / RHEL 8 - Quick Fix - | ITzGeek https://www.itzgeek.com/how-tos/linux/centos-how-tos/netstat-command-not-found-on-centos-8-rhel-8-quick-fix.html