centos7没有netstat命令的解决方法 yum install net-tools CentOS系统下安装lsof命令 yum install lsof 关闭占用某端口的进程 1、查看占用端口的pid lsof -i:port 2、杀死占用端口的进程 kill -9 pid 进程后台运行 nohup python manage.py runserver 0.0.0.0:8090 &