首页 > 其他 > 详细

Debian系统软件安装

时间:2019-10-25 14:35:43      阅读:86      评论:0      收藏:0      [点我收藏+]

查看已安装软件

dpkg -l | grep -i name

技术分享图片

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

技术分享图片

表示nginx已启动

启动服务

systemctl start nginx

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

技术分享图片

Debian系统软件安装

原文:https://www.cnblogs.com/zhupengfei/p/11737811.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!