作为指南的一部分,我安装了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包的一部分吗?
谢谢!
发布于 2022-07-13 13:12:02
发现我应该用sudo apt install net-tools来做这个
https://askubuntu.com/questions/1418535
复制相似问题