How to create your own NethServer mirror

New Mirror :slight_smile:

I’ve just setup a new nethserver mirror :slight_smile:
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… :joy:)
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

Have a nice day!

5 Likes

Great work @AlpixTM and thank you! :clap:

The mirror will be monitored by mirmon for few days, then it will be added to the official mirror list. :thumbsup:

1 Like

Thanks to @AlpixTM we have a new mirror in the list!

Just commited:

2 Likes

Hi everybody!
I just added a new mirror: https://mirror.pcxlan.es/nethserver/ :desktop:
Salu2

Edit: I forgot! Also I just created a new subdomain http://nethserver.pcxlan.es

Thank you all!

3 Likes

Wow, we’re extending our network :slight_smile: so cool! Thanks @PCXLan.es

1 Like

Hello,

I setup a Nethserver mirror on a Nethserver.

http://mrmarkuz.goip.de/mirror/

I hope 10Mbps are enough…maybe we use it for the slow updates :joy:

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>
5 Likes

Thank you for your kind donation. Let’s monitor it for a while, then your mirror will be added to the pool

https://github.com/NethServer/mirrorlist/pull/3

1 Like

Hello again,

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:

lftp -u FTPUSER,FTPPASS FTPSERVER -e "set ftp:ssl-allow no; mirror -RL /var/www/repos /; chmod -R g+r /; quit"

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.

If this dirty configured webhost mirror works correctly and it seems to, then we have a new mirror with SSL:
http://markusneuberger.at/mirror/nethserver
https://markusneuberger.at/mirror/nethserver

1 Like

Thank you again! Added to mirmon, let’s see if it’s stable enough :wink:

2 Likes

Got two more mirrors:

http://buck.goip.de/nethserver
This is a raspberry, a poor man’s mirror :slight_smile:

A good old friend @neocortex sponsored another Nethserver mirror so I setup a Nethserver 7.3 on his managed host:

http://smart-ict.services/mirror/nethserver
https://smart-ict.services/mirror/nethserver

All mirrors are at least upgradeable to 100GB disk capacity for slow updates. Even the raspi may use 128GB FAT formatted sd card.

2 Likes

Excellent, thank you @neocortex !!

I think this week @davidep will had mirrors to the list.

Both were added!

Thank you @mrmarkuz & @neocortex :beers:

2 Likes

The domain name of the mirror smart-ict.services has changed.

The new name is:
http://nethserver.globalcortex.net/mirror/nethserver/

Thanks in advance, I am sorry for any inconvenience…

1 Like

I would like to build up a local mirror. I just installed one and it looks vy nice…

What command should I use to update my servers in the private Network?

You may edit /etc/yum.repos.d/NethServer.repo, comment out mirrorlist and add your own baseurl:

#mirrorlist=http://mirrorlist.nethserver.org/?release=$releasever&repo=base&arch=$basearch&nsrelease=$nsrelease
#baseurl=http://mirror.nethserver.org/nethserver/$releasever/base/$basearch/
baseurl=http://neth.local.domain.or.ip/nethserver/$releasever/base/$basearch/
1 Like

Thank you Markus, it works…

What do you think, how much space would it need to have all the other repos to be as much self-sufficient as possible ?

Added to the mirror list

https://github.com/NethServer/mirrorlist/commit/0dca4c307bf733f0258f00ec4a0ba7206a2eee3f

2 Likes

Hi,

I created a mirror. http://ketrax.eu/nethserver/
How to publish it?

Thanks

2 Likes

Thank you so much!
For now it’s inside mirmon to monitor it: the status of nethserver.org mirrors

If the mirror is table we will add it to the list in few days!

1 Like

I made one more mirror.
http://server.liftingtrade.hu/nethserver/

4 Likes