Re: how to create mirror
[email protected] Thu, 30 Jun 2005 16:30:13 +0200 (CEST)
| Newsgroups | gmane.linux.tao.general |
|---|---|
| Message-ID | <[email protected]> |
> How can i created an internal and private mirror form > http://dist.taolinux.org > > I think i need an autorisation from the server administrator, and I need a > username and password for login. No auth needed. Just use any ftp-syncing software available and syncronize the part you need to keep a mirror of the software. Please use sensible settings (ie only fetch _changed_ or _added_ files) and a secondaray site to keep the load down on the primary site. And don't sync every minute, I do it once a day. Then use yum to make your own repository. Share this repository by for example apache (and your own changed files in another directory/repository). By googling you can find out how to build your repository with yum. Then you use your own yum.conf on your machines. Here is an example yum.conf using https and htpasswd, using the base repository and your own repository with extra stuff. Dont forget to sync the updates repository also. # Original, mirrored base distribution [base] name=Tao Linux $releasever - $basearch - Base basesystem=1 baseurl=https://htpassw_user:htpasswd_passwd-CRnvh2AGM5H0gqI7WIYKb9BPR1lH4CV8@public.gmane.org/tao-$releasever-$basearch/taolinux/dist gpgcheck=1 # Levonline repositories [levonline_external] name=Tao Linux $releasever - $basearch - External baseurl=https://htpassw_user:htpasswd_passwd-CRnvh2AGM5H0gqI7WIYKb9BPR1lH4CV8@public.gmane.org/tao-$releasever-$basearch/external You can also use this repositories for automated installs (kickstart). It's efficient, fast, simple and bulletproof. Thank you David for doing such a marvelous work on Tao. /Lars