arrfab / centos / centos.org

Forked from centos/centos.org 4 years ago
Clone

Blame content/download/mirrors.erb

e8ec7a
---
e8ec7a
title: Mirror List
e8ec7a
is_hidden: false
e8ec7a
---
e8ec7a

List of CentOS Mirrors

e8ec7a

e8ec7a
CentOS welcomes new mirror sites. If you are considering setting up a
e8ec7a
public mirror site for CentOS, please follow the mirror guidelines to make
e8ec7a
sure that your mirror is consistent with the other mirror sites.
56b932
If you're searching for mirrors providing AltArch content (like ppc64,ppc64le,aarch64,armfhp) please use  this link 
e8ec7a

e8ec7a
e8ec7a
e8ec7a
<script type="text/javascript" src="/assets/js/jquery.csvToTable2.js"></script>
e8ec7a
<script type="text/javascript" src="/assets/js/jquery.tablesorter.min.js"></script>
e8ec7a
<link rel="stylesheet" type="text/css" href="/assets/csvtable-look.css">
e8ec7a
e8ec7a
<script>
e8ec7a
$('#CSVTable').CSVToTable('/download/full-mirrorlist.csv', 
e8ec7a
    { 
e8ec7a
       startLine: 1,
e8ec7a
       //['Location', 'Region', 'Sponsor', 'HomePage', 'HTTP location', 'FTP Location', 'Rsync Location']
e8ec7a
       headers: [
e8ec7a
       'Location', 
e8ec7a
       'Region', 
e8ec7a
       {label:'Sponsor' , items:[2 , 3]}, 
e8ec7a
       {label:'HomePage' , hidden:true}, 
e8ec7a
       'HTTP location', 
e8ec7a
       'FTP Location', 
e8ec7a
       'Rsync Location'
e8ec7a
       ],
e8ec7a
       itemMerger: function(header , items) {
e8ec7a
          var outItem = [];
e8ec7a
          console.log(items);
e8ec7a
          for(var i in header.items){
e8ec7a
            var item = header.items[i];
e8ec7a
            outItem.push(items[item]);
e8ec7a
          }
e8ec7a
          if(header.label = 'Sponsor'){
e8ec7a
             console.log(outItem);
e8ec7a
             return '' + outItem[0] + '';
e8ec7a
          }else return outItem.join(' ');
e8ec7a
      },
e8ec7a
      preRenderItem: function(headerLabel , item) {
e8ec7a
        if(item == '') return '';
e8ec7a
        switch (headerLabel) {
e8ec7a
          case 'HTTP location':
e8ec7a
          case 'FTP Location':
e8ec7a
          case 'Rsync Location':
e8ec7a
              item = item.replace(/"/gi , '');
e8ec7a
              return '' + item + ''; 
e8ec7a
          default:
e8ec7a
              return item;
e8ec7a
        }
e8ec7a
      }
e8ec7a
    }
e8ec7a
).bind("loadComplete",function() { 
e8ec7a
  $('#CSVTable').find('TABLE').tablesorter({
e8ec7a
    widgets: ['zebra', 'filter'],
e8ec7a
    widgetOptions: {
e8ec7a
      uitheme: "bootstrap"
e8ec7a
    },
e8ec7a
    textExtraction: function(node) {  
e8ec7a
        // extract data from markup and return it  
e8ec7a
        return $(node).text();
e8ec7a
    } 
e8ec7a
  });
e8ec7a
e8ec7a
});;
e8ec7a
</script>
e8ec7a
b24903
b24903