The /Srv/Www/Htdocs Structure - Novell LINUX ENTERPRISE 10 SP2 - SUBSCRIPTION MANAGEMENT TOOL GUIDE Manual

Subscription management tool guide
Hide thumbs Also See for LINUX ENTERPRISE 10 SP2 - SUBSCRIPTION MANAGEMENT TOOL GUIDE:
Table of Contents

Advertisement

3.2.6 Mirroring SUSE Linux Enterprise Server
9 Repositories
For mirroring old style update repositories which were used for SUSE Linux Enterprise
Server 9 and similar products, use a special command: smt-mirror-sle9. This
script mirrors from the https://you.novell.com server.
The smt-mirror-sle9 script does not store information about sources to be mirrored
in the SMT database. It only uses the configuration from the /etc/smt.conf file.
The configuration of smt-mirror-sle9 is described in
Sections of /etc/smt.conf"
The smt-mirror-sle9 command uses wget to mirror sources. Therefore, you can
exclude anything you do not want to be mirrored by adding the
exclude_directories option to the /root/.wgetrc configuration file. For
more information about wget and /root/.wgetrc, see man 1 wget.

3.3 The /srv/www/htdocs Structure

The path to the directory containing the mirror is set by the MirrorTo option in the
/etc/smt.conf configuration file. For more information about /etc/smt.conf,
see
Section 6.2.1, "/etc/smt.conf"
Apache htdocs directory /srv/www/htdocs/, links should be created manually like
this: /srv/www/htdocs/repo/$RCE should point to /MirrorTo/repo/$RCE/,
and /srv/www/htdocs/repo/RPMMD should point to /MirrorTo/repo/
RPMMD/. Here, /MirrorTo is the path set in the MirrorTo option.
For example, if the MirrorTo is set to /space/MIRRORDATA/:
srv64:~ # l /srv/www/htdocs/repo/
insgesamt 16
drwxr-xr-x 2 root root
drwxr-xr-x 4 root root
lrwxrwxrwx 1 root root
/space/MIRRORDATA/repo/$RCE/
-rw-r--r-- 1 root root 14854 2008-01-21 12:36 repoindex.xml
lrwxrwxrwx 1 root root
/space/MIRRORDATA/repo/RPMMD/
(page 41).
(page 37). If the MirrorTo option is not set to the
128 2008-01-18 14:00 ./
128 2008-01-17 17:14 ../
27 2008-01-11 15:17 $RCE ->
26 2008-01-11 15:37 RPMMD ->
Mirroring Installation and Update Sources Using SMT
Section "smt-mirror-sle9
19

Advertisement

Table of Contents
loading

Table of Contents