Debian系统软件安装


查看已安装软件

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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM