【发布时间】:2012-09-03 23:39:00
【问题描述】:
我错误地删除了 ubuntu 11.10 PC 中的 /etc/nginx 目录。如何恢复 /etc/nginx 中的 ngnix 目录?
我做了这些命令:
sudo surm -rf /etc/nginx
我想再次获取 /etc/nginx 目录。怎么样?
我试过这个重新安装 nginx:
sudo apt-get updatesudo apt-get upgradesudo apt-get install nginx
然后它给出以下内容
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nginx
如何在 ubuntu 11.10 上获得完整的 nginx 软件?
【问题讨论】:
-
我有这些错误
ln: failed to create symbolic link ‘/etc/nginx/modules-enabled/50-mod-http-auth-pam.conf’: anddpkg: error processing package libnginx-mod-http-auth-pam (--configure):`没有这样的文件或目录`下面的答案很有用。谢谢。
标签: ubuntu ubuntu-11.10