I’ve just setup a new nethserver mirror
Its connected with 1 Gbit/s
It syncs every 2 hrs at a random minute.
"Sponsor “Organisation” ": Alpix.eu
Urls are:
HTTPS: https://mirror.alpix.eu/nethserver/
HTTP: http:// mirror.alpix.eu/nethserver/ (remove the ’ ', but i need to break the link this way because im a new user an so im only allowed to post 2 Links… )
Rsync; rsync://mirror.alpix.eu/nethserver/ // mirror.alpix.eu::nethserver
Location: Germany
Contact mail (I will not read this topic so please write me an mail if i need to know anything!): contact@alpix.eu
I hope 10Mbps are enough…maybe we use it for the slow updates
Used the virtualhost conf of @giacomo and added an Alias /mirror because I got a 403 forbidden when trying to connect to / directly:
<VirtualHost *:80>
Alias /mirror "/var/www/repos"
ServerName mrmarkuz.goip.de
...
EDIT:
I had to erase the <VirtualHost …> lines because it deactivated the rewriting to https which caused errors in some webapps when using http.
Alias /mirror "/var/www/repos"
DocumentRoot "/var/www/repos"
<Directory /var/www/repos>
Options +Indexes
Options +FollowSymLinks
Order allow,deny
Allow from all
</Directory>
I managed to make another mirror out of a cheap webhost without possibility of configuring httpd, ssh and rsync.
The dates of the dirs are the actual ones and I can’t use symlinks as I am syncing via FTP, what doubles the size(NS repo usually has 3GB, on my webhost 6GB).
What I did:
Via FTP I created a “/webpages/mywebpage/mirror” directory, set rights to 755 and put a .htaccess file into it.
Options +Indexes
Options +FollowSymLinks
I fetched the repo via rsync as described in 1st post and I synced it to my webhost via FTP with lftp:
Iftp was not able to change the rights of uploaded files during transfer so I did it afterwards with chmod. My fallback Raspberry NS mirror does the ftp sync at the moment via a cron job.