如何使用apt-get进行WebSVN的无人参与安装? [英] How to do unattended install of WebSVN with apt-get?

查看:125
本文介绍了如何使用apt-get进行WebSVN的无人参与安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Ubuntu 10.10 ...

Working with Ubuntu 10.10 ...

使用以下命令通过apt-get安装WebSVN时:

When installing WebSVN via apt-get with the following command:

sudo apt-get -y install websvn

它将弹出3个屏幕,询问配置详细信息(即SVN存储库的位置等).

It will pop 3 screens asking for configuration details (ie. where your SVN repositories are etc).

是否有办法将此信息传递给此命令,以便安装可以在无人值守的情况下进行?

Is there a way to pass this information to this command so that the installation can occur unattended?

谢谢

推荐答案

Debian/Ubuntu中的几乎所有软件包都使用 Debconf .您可以使用命令debconf-set-selections将答案预先植入debconf中.您需要另一个工具debconf-get-selections来交互式提取您提供的答案.默认情况下未安装debconf-get-selections,也不需要在要安装的系统上安装debconf-get-selections,但是您可能需要安装它来提取用于播种的答案.这是 debconf-utils 包的一部分.

Almost all packages in Debian/Ubuntu use Debconf. You can pre-seed answers into debconf using the command debconf-set-selections. You need another tool debconf-get-selections to extract the answers you provided interactively. debconf-get-selections isn't installed by default, and doesn't need to be installed on the system you are installing to, but you will probably need to install it to extract your answers for the pre-seeding. This is part of the debconf-utils package.

这篇关于如何使用apt-get进行WebSVN的无人参与安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆