linux 常见名词及命令(六)

 

查看软件安装位置 : dpkg -L 软件包名字

 

ubuntu环境的apache相关命令:

查看是否启动:ps -aux | grep httpd  或者 netstat -an | grep :80

重启apache:/etc/init.d/apache2 restart

停止apache:/etc/init.d/apache2 stop

 

posted @ 2018-07-23 15:41  学知无涯  阅读(148)  评论(0编辑  收藏  举报