Show Table of Contents
15.3.5. 通过 FTP、HTTP 或者 HTTPS 安装
重要
为安装源提供 URL 时,必须明确指定
http://、https:// 或者 ftp:// 作为协议。
URL 对话框只适用于使用 FTP、HTTP 或者 HTTPS 服务器(如果在 安装方法 对话框中选择 )安装。这个对话框提示输入用来安装 Red Hat Enterprise Linux 的 FTP 或者 HTTP 服务器的信息。如果使用
repo=ftp 或者 repo=http 引导选项,则已经指定服务器和路径。
输入要从中使用 FTP、HTTP 或者 HTTPS 网站的名称或者 IP 地址,以及包含用于构架的
/images 目录的目录名称。例如:
/mirrors/redhat/rhel-6/Server/ppc64/
要使用安全 HTTPS 连接安装,请在协议中指定
https:// 作为协议。
指定代理服务器的地址,如果可能请提供端口号、用户名和密码。如果正确指定了所有内容,则会出现一个信息窗口显示已经在该服务器中搜索文件。
如果 FTP、HTTP 或者 HTTPS 服务器需要用户认证,请将用户和密码作为 URL 的一部分,如下:
{ftp|http|https}://<user>:<password>@<hostname>[:<port>]/<directory>/
例如:
http://install:rhel6pw@name.example.com/mirrors/redhat/rhel-6/Server/ppc64/

图 15.11. URL 设置对话框

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.