17.08.2015 Views

Symantec VirtualStore 安 装 和 配 置 指 南

Symantec™ VirtualStore 安装和配置指南: Linux

Symantec™ VirtualStore 安装和配置指南: Linux

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

198使 用 特 定 于 操 作 系 统 的 方 法 <strong>安</strong> <strong>装</strong> <strong>Symantec</strong> <strong>VirtualStore</strong>使 用 yum <strong>安</strong> <strong>装</strong> <strong>Symantec</strong> <strong>VirtualStore</strong>1. 在 存 储 库 目 录 中 创 建 一 个 XML 文 件 , 您 可 以 将 其 命 名 为 SVS_group.xml。 在该 文 件 中 , 为 组 <strong>指</strong> 定 名 称 、ID、RPM 列 表 <strong>和</strong> 其 他 信 息 。 可 以 使 用 <strong>安</strong> <strong>装</strong> 程 序 <strong>和</strong>-yumgroupxml 选 项 来 生 成 此 XML 文 件 。SVS 的 该 XML 文 件 的 示 例 如 下 :# cat SVS_group.xmlSVS601SVS601trueRPMs of SVS 6.01trueVRTSvlicVRTSperl... [other RPMs for SVS]VRTSsfcpi6012.在 创 建 或 更 新 存 储 库 时 创 建 组 。# createrepo -g SVS_group.xml /path/to/new/repository/或# createrepo -g SVS_group.xml --update /path/to/existing\/repository/有 关 yum 存 储 库 <strong>配</strong> <strong>置</strong> 的 详 细 信 息 , 请 参 见 《Red Hat Enterpirse Linux 部 署 <strong>指</strong><strong>南</strong> 》。3 在 客 户 端 系 统 上 <strong>配</strong> <strong>置</strong> yum 存 储 库 。■在 /etc/yum.repos.d/ 下 创 建 .repo 文 件 。SVS 的 该 .repo 文 件 的 示 例 如下 :# cat /etc/yum.repos.d/SVS.repo[repo-SVS]name=Repository for SVSbaseurl=file:///path/to/repository/enabled=1gpgcheck=0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!