Symantec VirtualStore 安 装 和 配 置 指 南

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

d1mj3xqaoh14j0.cloudfront.net
from d1mj3xqaoh14j0.cloudfront.net More from this publisher
17.08.2015 Views

196使 用 特 定 于 操 作 系 统 的 方 法 Symantec VirtualStore使 用 yum Symantec VirtualStoreVRTSamf VRTSvcs VRTScps VRTSvcsag VRTSvcsdr VRTSvcsea VRTSdbedVRTSglm VRTScavf VRTSgms VRTSodm VRTSsfmh VRTSvbs VRTSsvs VRTSsfcpi601doecho "Installing package -- $RPM" >> ${KSLOG}rpm -U -v --root ${ROOT} ${RPMDIR}/${RPM}-* >> ${KSLOG} 2>&1doneumount ${BUILDDIR}CALLED_BY=KICKSTART ${ROOT}/opt/VRTS/install/bin/UXRT601/add_install_scripts >> ${KSLOG} 2>&1exit 0使 用 yum Symantec VirtualStore您 可 以 使 用 yum SVS。Red Hat Enterprise Linux 5 Red Hat EnterpriseLinux 6 支 持 yum。使 用 yum SVS1 运 行 installsvs -pkginfo 命 令 以 获 取 SVS RPM。# ./installsvs -pkginfo2 将 SVS RPM 添 加 到 yum 存 储 库 。 可 以 将 SVS RPM 添 加 到 新 存 储 库 或 含 有 其 他RPM 的 现 有 存 储 库 。 使 用 createrepo 命 令 可 创 建 或 更 新 存 储 库 。 操 作 系 统RPM createrepo-ver-rel.noarch.rpm 提 供 了 此 命 令 。■为 SVS RPM 创 建 新 的 存 储 库 /path/to/new/repository/ 对 于 SVS RPM1.创 建 空 目 录 , 例 如 : /path/to/new/repository。yum 客 户 端 系 统 应 当 能 够 使 用HTTP、FTP 或 文 件 协 议 访 问 该 目 录 。# rm -rf /path/to/new/repository# mkdir -p /path/to/new/repository2.将 所 有 SVS RPM 复 制 到 /path/to/new/repository/ 中 。# cp -f VRTSvlic-* VRTSperl-* ... VRTSsfcpi601-*\/path/to/new/repository

使 用 特 定 于 操 作 系 统 的 方 法 Symantec VirtualStore使 用 yum Symantec VirtualStore1973.使 用 createrepo 命 令 创 建 存 储 库 。# /usr/bin/createrepo /path/to/new/repository输 出 信 息 如 下 所 示 :27/27 - VRTSsfcpi601-6.0.100.000-GA_GENERIC.noarch.rpmSaving Primary metadataSaving file lists metadataSaving other metadata4.将 在 /path/to/new/repository/repodata 中 创 建 此 存 储 库 的 元 数 据 。■将 /path/to/existing/repository/ 对 于 SVS RPM1.将 所 有 SVS RPM 复 制 到 /path/to/existing/repository/。yum 客 户 端 系 统 应 当能 够 使 用 HTTP、FTP 或 文 件 协 议 访 问 该 目 录 。# cp -f VRTSvlic-* VRTSperl-* ... VRTSsfcpi601-*\/path/to/existing/repository2.使 用 带 有 --update 选 项 的 createrepo 命 令 来 更 新 存 储 库 的 元 数 据 。# createrepo --update /path/to/existing/repository输 出 信 息 如 下 所 示 :27/27 * VRTSsfcpi601-6.0.100.000-GA_GENERIC.noarch.rpmSaving Primary metadataSaving file lists metadataSaving other metadata3.将 为 新 添 加 的 RPM 更 新 /path/to/existing/repository/repodata 中 的 元 数 据 。■ 当 创 建 或 更 新 存 储 库 时 为 SVS RPM 创 建 软 件 包 组 ( 可 选 )

196使 用 特 定 于 操 作 系 统 的 方 法 <strong>安</strong> <strong>装</strong> <strong>Symantec</strong> <strong>VirtualStore</strong>使 用 yum <strong>安</strong> <strong>装</strong> <strong>Symantec</strong> <strong>VirtualStore</strong>VRTSamf VRTSvcs VRTScps VRTSvcsag VRTSvcsdr VRTSvcsea VRTSdbedVRTSglm VRTScavf VRTSgms VRTSodm VRTSsfmh VRTSvbs VRTSsvs VRTSsfcpi601doecho "Installing package -- $RPM" >> ${KSLOG}rpm -U -v --root ${ROOT} ${RPMDIR}/${RPM}-* >> ${KSLOG} 2>&1doneumount ${BUILDDIR}CALLED_BY=KICKSTART ${ROOT}/opt/VRTS/install/bin/UXRT601/add_install_scripts >> ${KSLOG} 2>&1exit 0使 用 yum <strong>安</strong> <strong>装</strong> <strong>Symantec</strong> <strong>VirtualStore</strong>您 可 以 使 用 yum <strong>安</strong> <strong>装</strong> SVS。Red Hat Enterprise Linux 5 <strong>和</strong> Red Hat EnterpriseLinux 6 支 持 yum。使 用 yum <strong>安</strong> <strong>装</strong> SVS1 运 行 installsvs -pkginfo 命 令 以 获 取 SVS RPM。# ./installsvs -pkginfo2 将 SVS RPM 添 加 到 yum 存 储 库 。 可 以 将 SVS RPM 添 加 到 新 存 储 库 或 含 有 其 他RPM 的 现 有 存 储 库 。 使 用 createrepo 命 令 可 创 建 或 更 新 存 储 库 。 操 作 系 统RPM createrepo-ver-rel.noarch.rpm 提 供 了 此 命 令 。■为 SVS RPM 创 建 新 的 存 储 库 /path/to/new/repository/ 对 于 SVS RPM1.创 建 空 目 录 , 例 如 : /path/to/new/repository。yum 客 户 端 系 统 应 当 能 够 使 用HTTP、FTP 或 文 件 协 议 访 问 该 目 录 。# rm -rf /path/to/new/repository# mkdir -p /path/to/new/repository2.将 所 有 SVS RPM 复 制 到 /path/to/new/repository/ 中 。# cp -f VRTSvlic-* VRTSperl-* ... VRTSsfcpi601-*\/path/to/new/repository

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

Saved successfully!

Ooh no, something went wrong!