wiki:HowtoMirrors

Version 12 (modified by Thanatermesis, 11 years ago) ( diff )

--

How to make a Mirror of Elive

Mirror for ISOs

If you have a server and would like to mirror Elive ISOs, you are more than welcome! This document explains everything that you need for it.

Requeriments

The size is around 20 Gb of disk space in order to keep some variety of isos (2-3 previous versions and derivated versions).

The synchronization of the ISO repository is automatically managed using rsync+ssh. So we simply need an ssh login access and having rsync installed.

It is also required, of course, to have a subdomain created that points to a specific directory (this dir is your choice), like http://isos.elive.yourdomain.com, it is not really important what name you use for it, just make sure that they works and that points to the specific directories where we will put the isos, try to access to them via a web browser.

Also, tell us what you want to have in the Thanks to and Server Name for the list of mirrors, check this example

When you have all this ready, just send an email to Thanatermesis with the details (ssh login details, subdomain, etc)

In the future, if you need to disable your mirror in the future you can do it by disabling/remove the subdomain access (not being able to connect to it, giving a 404 error), our future website will detect it and ignore the mirror from its list.

Setup Configuration

It is basically needed a ssh login and rsync installed, but if you can, please directly the public ssh key (ssh login will be made with the ssh key, not directly with password), the public key that you need to add in .ssh/authorized_keys is:

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAk45j0yfCnHcyi6EKy/tnUOfUKMMeVf1rc/nRPratslLwVVr+bCqjS/KVc5si+8yGsCxQzow2TC3hlymvyxVZhA0Q17G87UQb61nLeG9sl45LyPg5gqLYZUoxaxjT/L/T5XkqpfXhXle5ix0metdSh0sZHMnfhRvMXOAkQHY7YBWMkh9TOLu45GiUW2XKDSZjEWV0NeR06r66KspqsV5jR6HCZ9iQDMoya/6HdTqNDqpza+qqAcHvXCWAbAgr95PXDbSM1KIS9KCRebHVka1437kCU3vrwXKBIb0OF0Rnseqs4icTu2xnu74H2/+uM/C+o4f2QFjJM/CwlQ0w2kL2+Q== elivewebsites@zatara

Space and Bandwith

We don't have actual download numbers, but keep in mind that if you don't have one of these supa-nice-bandwidth that you will never use that much, just forget the idea. There are many downloads of the ISOs. Do not be scared, the max. bandwidth used for icedslash in a month was 150 gb transfer.

The size needed to store the ISOs will vary, though it has never been more than 5gb (think about some isos in a directory), but if the limit is set to 10gb that would be nice :)

You should have a control of your bandwith usage, it is your responsability to control it if you have any limit of bandwith set on your provider, you can set a limit to your domain configuration if you like, or watch stats, and in case that you are near to pass any limit, you must contact Thanatermesis inmediately


Mirror for Repository

There you will need a lot more storage space. The size needed is approx. 100 gb for containing all the possible packages. The only requirement for this is that you are not using a temporal hosting but maintaining a long-time host, in order to not edit the dns redirections all the time.

The special requirement of this is that you will be able to add a subdomain of a domain that you don't own, for example yourname.asia.repository.elivecd.org, in fact you don't own the domain elivecd.org but your mirror needs to accept this address in order to understand the redirection from the real domain.

The created domain needs to point to a directory in the home of the new created user for this purpose, where we will sync the repositories automatically when its needed, we need the same ssh setup as explained in the Mirror of isos previous section.

After to have this ready, contact Thanatermesis for finish the setup

Note: See TracWiki for help on using the wiki.