1. 常用命令
查看端口是否被占用
netstat -nltp | grep 2181
centos7防火墙相关命令
systemctl status firewalld systemctl stop firewalld systemctl start firewalld systemctl disable firewalld
查看系统存储空间
df -h
查看文件夹占用的空间
du -sh /opt/service/tomcat/