Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
安装nginx遇到问题
Apps Section
733
views ·
3
replies ·
To
floor
Go
shantong
deepin
2018-06-11 22:25
Author
[shantong~]$ sudo apt-get install nginx -y
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列【新】软件包将被安装:
nginx
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 0 B/85.0 kB 的归档。
解压缩后会消耗 97.3 kB 的额外空间。
正在选中未选择的软件包 nginx。
(正在读取数据库 ... 系统当前共安装有 218195 个文件和目录。)
正准备解包 .../nginx_1.13.3-1_all.deb ...
正在解包 nginx (1.13.3-1) ...
正在设置 nginx (1.13.3-1) ...
Copy the Code
软件的依赖不见了,只安装了nginx,我更新也没有用,而且也启动不了,什么原因呢
[shantong~]$ sudo service nginx start
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
[shantong~]$ systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-06-11 14:23:25 CST; 18s ago
Docs: man:nginx(8)
Process: 8139 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=203/EXEC)
CPU: 983us
Copy the Code
我用 autoremove 把nginx卸载了之后, nginx这个服务还是存在,不知道为什么,apache2我已经关了
现在怎么安装使用呢
Reply
Like 0
Favorite
View the author
All Replies
观摩
deepin
2018-06-12 01:26
#1
不明所以,不过我这边自己安装nginx倒是很顺利
Reply
Like 0
View the author
21wmd
deepin
2018-06-12 01:34
#2
先停止 nginx 的服务,然后再删除程序
Reply
Like 0
View the author
shantong
deepin
2018-06-12 02:05
#3
https://bbs.deepin.org/post/157998
先停止 nginx 的服务,然后再删除程序
没有用,停止了还在,删除的话也只删除 nginx,其他的依赖不知道去哪了
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
现在怎么安装使用呢