How to mirror CEAN
Posted: 18 July 2007 03:34 PM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2007-07-18

Does any one have instructions on creating an offline mirror of CEAN?

I work on an internal company network that is not connected to the internet. We already maintain mirrors of package repositorys for other languages. CEAN would be a very useful addition if we can find a way to do this without adversely affecting the public CEAN.

The link in this thread (http://www.process-one.net/en/forum/viewthread/36/) is broken and I can find no documentation on how they did it.

Profile
 
 
Posted: 21 July 2007 04:07 PM   [ Ignore ]   [ # 1 ]
Moderator
Avatar
RankRankRankRank
Total Posts:  107
Joined  2006-11-13

You can mirror the cean repository you need by:
1) downloading all archive you need
2) setup a local web server to your repository
3) change CEAN_SERVER value into start.sh

example:
to mirror linux-x86 archives for developer distribution you need:
wget -r -l 1 http://cean.process-one.net/R11B/devel/linux-x86/
to mirror windows archives for production distribution you need:
wget -r -l 1 http://cean.process-one.net/R11B/prod/windows/

you can mirror all architectures you need.
all you must copy is the resulting R11B directory, which must be served into your root directory.
e.g. if your web server is serving cean.my-company.com from /var/www, then you must move R11B into /var/www. This makes the url cean.my-company.com/R11B/devel/linux-x86 valid on your web server.

finally, to use your repository, when installing CEAN somewhere just edit start.sh and change CEAN_SERVER to cean.my-company.com

This should be working for you, and make CEAN archive usable in your isolated private network.

I guess we will provide an rsync server for future uses if mirroring is whidely used.
by now, you can just refresh packages once a month, and upgrade refrech frequence to once a week after august.

I’d like you to send me a private e-mail with all public info you can give me concerning your mirror (company name, number of users, etc…), as this i’ll be able to contact you when upgrade is comming and we’ll list all public/private mirrors on the site.

Profile