当前位置首页 > Debian知识

Debian系统软件安装

阅读次数:227 次  来源:admin  发布时间:

查看已安装软件

dpkg -l | grep -i name

Debian系统软件安装

apt-get remove name

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

etstat: command not found

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

apt-get install net-tool

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

安装nginx

apt-get update apt-get install nginx

查看nginx状态

ystemctl status nginx

Debian系统软件安装

表示nginx已启动

启动服务

ystemctl start nginx

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

Debian系统软件安装

上一篇:Centos6.8忘记MySQL数据库root密码解决方法
下一篇:搭建Apache+PHP+MySQL+Zend+GD库