安装 openssh-server 后,每次启动时服务器都会启动。如果我希望它是手动的,我需要做什么?
在 upstart 的 0.6.7+ 版本中,我会在作业文件中添加一个“手动”节。
10.04 有新贵 0.6.5-8。在这种情况下,禁用 ssh 自动启动的首选方法是什么?
我正在尝试设置pulseaudio的卡配置文件,并且我已经使用 进行了配置文件切换pactl set-card-profile,但到目前为止,当机器重新启动时,音频配置文件将恢复为默认值,output:analog-stereo而不是保留在 HDMI 上。如何以在重新启动后持续存在的方式设置配置文件?
我正在寻找一种使用pulseaudio通过命令行配置HDMI音频输出的方法。我能够通过使用 pavucontrol 并在配置选项卡中更改它来运行它,但我需要一种方法来自动化该过程。到目前为止,我根本找不到任何文档。该系统是一个清晰的安装。
编辑:根据我的发现,我可以pacmd set-card-profile用来做到这一点。但是,每当我尝试时,都会收到如下错误(使用 中定义的默认配置文件/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf)
# pacmd set-card-profile 0 hdmi-stereo
Welcome to PulseAudio! Use "help" for usage information.
>>> Failed to set card profile to 'hdmi-stereo'.
# pacmd set-card-profile 0 analog-stereo
Welcome to PulseAudio! Use "help" for usage information.
>>> Failed to set card profile to 'analog-stereo'.
Run Code Online (Sandbox Code Playgroud)
当 pavucontrol 可以更改它们时,为什么我不能从命令行更改它们?
见标题。
我使用 dput 并在我的 /etc/dput.cf 中:
[ppa]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~onto/onto/ubuntu/
login = anonymous
allow_unsigned_uploads = 0
Run Code Online (Sandbox Code Playgroud)
但它只为 debian/changes 中的版本构建,但我也想为其他版本构建。
怎么做?
我正在尝试在运行精确的 travis-ci 上获得 cmake 3.2 或更高版本。有PPA吗?我发现ppa:george-edison55/cmake-3.x但它不提供精确。
我发现这个问题提供了手动安装步骤,所以如果没有现有的 PPA,我可以使用它。
我正在寻找维护上游 ubuntu 包的修补版本的最佳方法。这是情况:
我们有自己的服务器运行 reprepro,它将托管修改后的包。我们的其他软件包使用 git 和 git 打包工具(git-dch、git-buildpackage)进行管理。
我有一个包含上游源补丁的 .diff 文件,我之前通过执行apt-get source pkgname、应用它并运行 debuild 来应用它。这次我想使用 git 正确跟踪它。
管理这个的最佳流程是什么?
我正在尝试为 Lucid 创建一个构建环境,但调用cowbuilder --create --distribution lucid失败并显示以下消息:
Get:1 http://us-east-1.ec2.archive.ubuntu.com lucid Release.gpg [189B]
Hit http://us-east-1.ec2.archive.ubuntu.com lucid Release
Hit http://us-east-1.ec2.archive.ubuntu.com lucid/main Packages
Fetched 189B in 0s (2376B/s)
Reading package lists...
I: Obtaining the cached apt archive contents
Reading package lists...
Building dependency tree...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
apt is already the newest version.
Package cowdancer is not available, but is referred to by another package.
This may …Run Code Online (Sandbox Code Playgroud) 我正在打包工作中的软件,范围已经扩大到具有基于 Lucid 和基于 Karmic 的版本。现在我只是使用git-buildpackagecall在 Karmic VM 内部构建debuild,但我已经研究了 pbuilder,所以我可以使用 chroots 更轻松地完成它,因为拥有一个用于 Karmic 的 VM 和另一个用于 Lucid 的 VM 似乎有点不合适。我四处寻找文档,但到目前为止对我来说一直很神秘。这些包已经设置了 git repos,主要是使用 pbuilder 让我卡住了。
我怎样才能轻松地设置这个设置,最好是我可以在这里为其他开发人员编写脚本?