Win10子系统Ubuntu安装nginx
2021-01-23 20:12
阅读:507
标签:依次 安装nginx 相关 int 表示 auto rm -rf 软件 pac
更新仓库,下载nginx:
sudo apt update
sudo apt install nginx
检查版本:
nginx –v
启动服务:
sudo service nginx start
关闭服务:
sudo service nginx stop
卸载nginx,及其相关配置文件:
sudo apt-get --purge remove nginx
自动全部移除不使用的软件包:
sudo apt-get autoremove
查看正在执行的nginx进程
ps -ef |grep nginx
杀死正在执行的进程
sudo kill -9 xxx:xxx表示的是进程代码
全局找出与nginx相关的文件
sudo find / -name nginx*
依次删除查找出来与nginx相关的软件
sudo rm -rf xxx:xxx表示文件路径
重新安装
Win10子系统Ubuntu安装nginx
标签:依次 安装nginx 相关 int 表示 auto rm -rf 软件 pac
原文地址:https://www.cnblogs.com/LX51/p/12072153.html
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:Win10子系统Ubuntu安装nginx
文章链接:http://soscw.com/index.php/essay/46009.html
文章标题:Win10子系统Ubuntu安装nginx
文章链接:http://soscw.com/index.php/essay/46009.html
评论
亲,登录后才可以留言!