Changes

From SME Server
Jump to navigationJump to search
67 bytes removed ,  23:06, 22 May 2018
no edit summary
Line 30: Line 30:     
====Preparing your system====
 
====Preparing your system====
<ol><li>Create a storage location for mirror<br/>
+
<ol><li>Create a storage location for mirror<br />
 
<pre>mkdir -p {/path/to/your/data/store/}</pre>
 
<pre>mkdir -p {/path/to/your/data/store/}</pre>
 
</li><li>Create a new user to perform sync. If you are running SME Server you can create the user through the server-manager panel.
 
</li><li>Create a new user to perform sync. If you are running SME Server you can create the user through the server-manager panel.
Line 43: Line 43:  
</li><li>Now we have installed and set things up as is required but we will need to update the configuration file to point to the storage location of the data (TO) in the config file (etc/ftpsync-smeserver.conf). Use your favorite text editor for it.</li>
 
</li><li>Now we have installed and set things up as is required but we will need to update the configuration file to point to the storage location of the data (TO) in the config file (etc/ftpsync-smeserver.conf). Use your favorite text editor for it.</li>
 
  TO="/path/to/your/data/store/"
 
  TO="/path/to/your/data/store/"
<li>'''Only''' when you are setting your server up as a [[#Configuring for pull|pull-mirror]], set the ''RSYNC_HOST'' value in the config file (etc/ftpsync-smeserver.conf) to (this is the default setting - disable for push) :<pre>RSYNC_HOST=smeserver.bhs.mirrors.ovh.net</pre>This because of the recent unreliability of ibiblio.org (see: [[bugzilla:7360]]).</li></ol>
+
<li>'''Only''' when you are setting your server up as a [[#Configuring for pull|pull-mirror]], set the ''RSYNC_HOST'' value in the config file (etc/ftpsync-smeserver.conf) to (this is the default setting - disable for push) :<pre>RSYNC_HOST=mirror.canada.pialasse.com</pre>This because of the recent unreliability of ibiblio.org (see: [[bugzilla:7360]]).</li></ol>
    
====Testing your setup====
 
====Testing your setup====
Line 197: Line 197:  
finally protect your keys
 
finally protect your keys
 
  chmod 0600 ~/.ssh/contribs-push\@{MY MIRROR}.rs*
 
  chmod 0600 ~/.ssh/contribs-push\@{MY MIRROR}.rs*
'''
+
 
never give your private key, only send your  public (.pub) to the downstream mirror.'''
+
never give your private key, only send your  public (.pub) to the downstream mirror.
    
==== setting up ftpsync-smeserver.conf====
 
==== setting up ftpsync-smeserver.conf====
Line 254: Line 254:     
=== Current SME Server contribs.org Mirror Tree ===
 
=== Current SME Server contribs.org Mirror Tree ===
[[Image:Smeserver_mirrors.png|Current Mirror Tree|600px| ]]
+
[[Image:Smeserver_mirrors.png|600px| ]]
 
this is the current tree of Mirror for SME Server.
 
this is the current tree of Mirror for SME Server.
    
====RSYNC access====
 
====RSYNC access====
 
# ibiblio : rsync://distro.ibiblio.org/smeserver/releases/ ( rsync -avv --stats distro.ibiblio.org::smeserver/releases . )
 
# ibiblio : rsync://distro.ibiblio.org/smeserver/releases/ ( rsync -avv --stats distro.ibiblio.org::smeserver/releases . )
# bhs ovh : rsync://smeserver.bhs.mirrors.ovh.net/smeserver/releases/ (rsync -avv --stats smeserver.bhs.mirrors.ovh.net::smeserver/releases .)
+
# mirror.canada.pialasse.com:  rsync -avv mirror.canada.pialasse.com::smeserver/releases .
# mirrorservice.org : rsync://http://rsync.mirrorservice.org/sites/mirror.contribs.org/smeserver/releases/ (rsync -avv --stats rsync.mirrorservice.org::mirror.contribs.org/smeserver/releases/ . )
+
# mirrorservice.org : rsync[http://rsync.mirrorservice.org/sites/mirror.contribs.org/smeserver/releases/ //rsync.mirrorservice.org/sites/mirror.contribs.org/smeserver/releases/] (rsync -avv --stats rsync.mirrorservice.org::mirror.contribs.org/smeserver/releases/ . )
    
====FTP access====
 
====FTP access====
# ftp://smeserver.bhs.mirrors.ovh.net/smeserver/releases/
   
# ftp://distro.ibiblio.org/smeserver/releases/
 
# ftp://distro.ibiblio.org/smeserver/releases/
    
[[Category:Howto]]
 
[[Category:Howto]]
 
[[Category:Development Tools]]
 
[[Category:Development Tools]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,240

edits

Navigation menu