AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[preferences](server)

Martin Hope
DARK_DIESEL
Asked: 2016-07-06 11:24:21 +0800 CST

Debian 8 - 安装 php7.0 的设置首选项

  • 0

请帮助设置安装 php7.0 和相关软件包的首选项(其中一些不是稳定版本)。

我有操作系统 Debian 8。

我在以下位置设置包的源列表etc\apt\sources.list.d\:

security.list

deb http://security.debian.org/ stable/updates  main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free

stable.list

deb     http://ftp.de.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stable main contrib non-free

testing.list

deb     http://ftp.de.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free

unstable.list

deb     http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free

我在以下位置为包设置了一些首选项文件etc\apt\preferences.d\:

security.pref

Package: *
Pin: release l=Debian-Security
Pin-Priority: 1000

stable.pref

Package: *
Pin: release a=stable
Pin-Priority: 900

testing.pref

Package: *
Pin: release a=testing
Pin-Priority: 750

unstable.pref

Package: *
Pin: release a=unstable
Pin-Priority: 50

我创建99default-release了etc\apt\apt.conf.d\包含内容的文件:

APT::Default-Release "stable";

最后,当我运行安装 php7.0 的命令时,出现下一个错误:

root@machie:/etc# apt-get install php7.0

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php7.0 : Depends: libapache2-mod-php7.0 but it is not going to be installed or
                   php7.0-fpm but it is not going to be installed or
                   php7.0-cgi but it is not going to be installed
W: No priority (or zero) specified for pin
E: Unable to correct problems, you have held broken packages.

PS 没有来源、首选项和 apt.conf 文件 php7.0 安装成功表单“ deb http://packages.dotdeb.org jessie all” repo。但我希望这是可能的设置偏好。

linux apt preferences php7 debian-jessie
  • 1 个回答
  • 386 Views
Martin Hope
Abhishek Gupta
Asked: 2010-04-04 02:12:56 +0800 CST

在 foswiki 中完成 WebPreferences

  • 0

我如何才能最终确定 foswiki 中的首选项,以便除了管理员之外没有其他用户可以覆盖它们.... thnx 提前回复

preferences twiki foswiki
  • 1 个回答
  • 32 Views
Martin Hope
Luke
Asked: 2009-06-07 19:52:25 +0800 CST

Trac 首选项仅适用于经过身份验证的用户

  • 1

安装我的 Trac 实例后,我删除了匿名用户,因为我不希望匿名用户进入系统。但是,当浏览到 Trac 实例并且登录失败(身份验证由 Apache使用htpasswd文件处理)时,Trac 将显示错误页面并在右上角显示登录和首选项链接。单击“首选项”链接会将未经过身份验证的用户带到“首选项”页面,我可以在其中进行更改(例如时区等)。

我可以通过在 trac.ini 的 [ metanav ]部分将其设置为禁用来从菜单中删除Preferences链接:

[metanav]
prefs = disabled

然而,即使链接在视觉上不再存在,任何人仍然可以通过将/prefs添加到 URL 来导航到它。如何有效地删除Trac 中未经过身份验证的用户的首选项链接?

authentication trac preferences
  • 3 个回答
  • 1350 Views
Martin Hope
Seb Nilsson
Asked: 2009-05-21 03:15:19 +0800 CST

Windows 中的便携式用户设置

  • 1

我想知道如何避免每次安装新操作系统时都以相同的方式设置所有偏好。

有没有办法导出设置,如:

  • 背景颜色
  • 要显示的项目,以及在 Vista/Win7 中的显示方式
  • 自动隐藏开始菜单
  • Explorer 中的布局、大小、显示的列和视图类型
  • 等等...

是否有控制这些设置的注册表设置指南?或者您可以通过在 WMI 中编程或类似的东西来做任何事情?

windows settings preferences user-settings
  • 5 个回答
  • 325 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve