zhupengfei

查看已安装软件

dpkg -l | grep -i name

clipboard

apt-get remove name

建议用root安装,有一些工具,使用非root用户安装后,仍然不识别命令,可能跟权限有关。

netstat: command not found

说明没有安装netstat工具,而该工具在 net-tools 工具包内。

apt-get install net-tools

Ok.再说一句,net-tools包还包含:arp, ifconfig, netstat, rarp, nameif and route这几个工具。

安装nginx

apt-get update apt-get install nginx

查看nginx状态

systemctl status nginx

clipboard

表示nginx已启动

启动服务

systemctl start nginx

也可以在其他电脑的浏览器里输入服务器的IP地址,查看服务器nginx是否运行

clipboard

分类:

技术点:

相关文章:

  • 2021-09-24
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2021-04-12
  • 2021-07-26
猜你喜欢
  • 2022-12-23
  • 2022-02-07
  • 2021-12-05
  • 2021-10-13
  • 2021-10-19
  • 2021-12-28
  • 2022-12-23
相关资源
相似解决方案