Show Table of Contents
4.3.3. 匯出內容
先決條件
一個外部的匯出媒介,例如 CD、DVD 或外接式硬碟。
已同步的內容必須先匯出,才能匯入離線的 Red Hat Satellite。若要這麼做:
- 匯出已同步的軟體庫:
# katello-disconnected export -t /var/tmp/export
顯示畫面類似如下:# katello-disconnected export -t /var/tmp/export # katello-disconnected watch Watching sync... (this may be safely interrupted with Ctrl+C) running: rhel-6-server-sam-rpms-6_4-x86_64 finished: rhel-6-server-sam-rpms-6_4-x86_64 Watching finished Done watching ... Copying content to /var/tmp/export Archiving contents of /var/tmp/export into 4600M tar archives. NOTE: This may take a while. tar: Removing leading `/' from member names Done exporting content, please copy /var/tmp/export/* to your disconnected host
此選項將會在/var/tmp/export
中建立下列檔案:# ls /var/tmp/export/ content-export-00 content-export-01 content-export-02 expand_export.sh
- 請將
/var/tmp/export
中的檔案複製到外部媒介中。注意
若檔案大於外部媒介的可用空間,不妨用循序的方式將檔案複製到數片 DVD 中。
已同步的內容現在已匯出,並且準備好匯入離線的 Satellite Server 中。
〈22921%2C+User+Guide-6.008-10-2014+13%3A34%3A52Red+Hat+Satellite+6Docs+User+Guide回報錯誤〉