我xampp
按照指南安装了运行服务器,但它不起作用。尝试从命令行运行它后,我得到了以下输出:
$ sudo ./xampp start panel
Starting XAMPP for Linux 8.1.6-0...
XAMPP: Starting Apache.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
fail.
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/
Last 10 lines of "/opt/lampp/logs/error_log":
tail: cannot open '/opt/lampp/logs/error.log' for reading: No such file or directory
XAMPP: Starting MySQL.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
ok.
XAMPP: Starting ProFTPD.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
ok.
感兴趣的线是netstat: command not found
我尝试执行sudo apt install netstat
,但找不到。或者,netstat
我应该安装另一个 Ubuntu 软件包吗?
谢谢!
答案1
发现我应该用sudo apt install net-tools
这个
答案2
依我看,Netstat 已取代默认安装的“ss”。