Difference between revisions of "Mirrors"

From XMission Wiki
Jump to: navigation, search
(formatting updates)
(Much update.)
Line 15: Line 15:
 
If you find this server useful, please considering purchasing services from us. See https://xmission.com for more information.
 
If you find this server useful, please considering purchasing services from us. See https://xmission.com for more information.
  
== SSL ==
+
Instructions for how to use mirrors.xmission.com for your operating system are as follows:
  
https://mirrors.xmission.com is available using SSL. This means that you can get your package updates optionally over SSL. Below are setup instructions for various operating systems.
+
== CentOS ==
  
=== CentOS ===
+
The main repository configuration file for CentOS is <code>/etc/yum.repos.d/CentOS-Base.repo</code>. Below is an example configuration for the &quot;base&quot; repository.
 
 
CentOS has all the necessary configuration needed to grab packages via <code>yum(8)</code> with no additional configuration. All that is needed is for you to change <code>http</code> to <code>https</code> in your <code>/etc/yum.repos.d/CentOS-Base.repo</code> file:
 
  
 
<pre>[base]
 
<pre>[base]
 
name=CentOS-$releasever - Base
 
name=CentOS-$releasever - Base
baseurl=https://mirrors.xmission.com/centos/$releasever/os/$basearch/
+
baseurl=http://mirrors.xmission.com/centos/$releasever/os/$basearch/
 
gpgcheck=1
 
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</pre>
 +
 
 +
CentOS supports the <code>ftp://</code>, <code>http://</code> and <code>https://</code> protocols in the <code>baseurl</code> line:
 +
 
 +
<pre>baseurl=ftp://mirrors.xmission.com/centos/$releasever/os/$basearch/
 +
baseurl=http://mirrors.xmission.com/centos/$releasever/os/$basearch/
 +
baseurl=https://mirrors.xmission.com/centos/$releasever/os/$basearch/</pre>
  
[updates]
+
== Debian ==
name=CentOS-$releasever - Updates
+
 
baseurl=https://mirrors.xmission.com/centos/$releasever/updates/$basearch/
+
The main repository configuration file for Debian is <code>/etc/apt/sources.list</code>. Below is an example configuration using the Debian Stable release, including the security updates:
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
 
  
[extras]
+
<pre>deb http://mirrors.xmission.com/debian/ stable main non-free contrib
name=CentOS-$releasever - Extras
+
deb-src http://mirrors.xmission.com/debian/ stable main non-free contrib
baseurl=https://mirrors.xmission.com/centos/$releasever/extras/$basearch/
+
deb http://mirrors.xmission.com/debian-security stable/updates main contrib non-free
gpgcheck=1
+
deb-src http://mirrors.xmission.com/debian-security stable/updates main contrib non-free</pre>
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6</pre>
 
=== Debian ===
 
  
 
For Debian to grab packages via SSL using <code>apt(8)</code>, you need to install the <code>apt-transport-https</code> package first before changing your URL:
 
For Debian to grab packages via SSL using <code>apt(8)</code>, you need to install the <code>apt-transport-https</code> package first before changing your URL:
  
 
<pre>$ sudo aptitude install apt-transport-https</pre>
 
<pre>$ sudo aptitude install apt-transport-https</pre>
Now edit your <code>/etc/apt/sources.list</code>. Below is an example using Debian stable:
 
  
<pre>deb https://mirrors.xmission.com/debian/ stable main non-free contrib
+
Debian supports the <code>ftp</code>, <code>http</code> and <code>https</code> protocols in the &quot;deb&quot; and &quot;deb-src&quot; lines:
deb-src https://mirrors.xmission.com/debian/ stable main non-free contrib
 
deb https://mirrors.xmission.com/debian-security stable/updates main contrib non-free
 
deb-src https://mirrors.xmission.com/debian-security stable/updates main contrib non-free</pre>
 
=== Fedora ===
 
  
Fedora has all the necessary configuration needed to grab packages via <code>yum(8)</code> with no additional configuration. All that is needed is for you to change <code>http</code> to <code>https</code> in your <code>/etc/yum.repos.d/fedora.repo</code> file:
+
<pre>deb ftp://mirrors.xmission.com/debian/ stable main non-free contrib
 +
deb http://mirrors.xmission.com/debian/ stable main non-free contrib
 +
deb https://mirrors.xmission.com/debian/ stable main non-free contrib</pre>
 +
 
 +
== Fedora ==
 +
 
 +
The main repository configuration file for Fedora is <code>/etc/yum.repos.d/fedora.repo</code>. Below is an example configuration for the &quot;fedora&quot; repository.
  
 
<pre>[fedora]
 
<pre>[fedora]
Line 62: Line 63:
 
gpgcheck=1
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch</pre>
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch</pre>
=== Gentoo ===
 
  
Gentoo has all the necessary software needed to grab packages via <code>emerge(1)</code> with no additional configuration. All that is needed is for you to change <code>http</code> to <code>https</code> in your <code>/etc/portage/make.conf</code> file:
+
Fedora supports the <code>ftp://</code>, <code>http://</code> and <code>https://</code> protocols in the <code>baseurl</code> line:
  
<pre>GENTOO_MIRRORS=&quot;https://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}&quot;</pre>
+
<pre>baseurl=ftp://mirrors.xmission.com/fedora/linux/releases/$releasever/Everything/$basearch/os/
=== Ubuntu ===
+
baseurl=http://mirrors.xmission.com/fedora/linux/releases/$releasever/Everything/$basearch/os/
 +
baseurl=https://mirrors.xmission.com/fedora/linux/releases/$releasever/Everything/$basearch/os/</pre>
  
For Ubuntu to grab packages via SSL using <code>apt(8)</code>, you need to install the <code>apt-transport-https</code> package first before changing your URL:
+
== Gentoo ==
 +
 
 +
Portage supports syncing its tree with <code>ftp</code>, <code>http</code>, <code>https</code>, and <code>rsync</code>. By default, <code>distfiles.gentoo.org</code> is used over HTTP. To override the default behavior, and add Xmission as a primary server, you can set the <code>GENTOO_MIRRORS</code> variable in <code>/etc/portage/make.conf</code>.
 +
 
 +
<pre>GENTOO_MIRRORS=&quot;ftp://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}&quot;
 +
GENTOO_MIRRORS=&quot;http://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}&quot;
 +
GENTOO_MIRRORS=&quot;https://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}&quot;
 +
GENTOO_MIRRORS=&quot;rsync://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}&quot;</pre>
 +
 
 +
== Ubuntu ==
  
<pre>$ sudo aptitude install apt-transport-https</pre>
+
The main repository configuration file for Ubuntu is <code>/etc/apt/sources.list</code>. Below is an example configuration using the Ubuntu 12.04 &quot;precise&quot; LTS release, including the security updates:
Now edit your <code>/etc/apt/sources.list</code>. Below is an example using Ubuntu 12.04 LTS:
 
  
 
<pre>deb https://mirrors.xmission.com/ubuntu precise main restricted universe multiverse
 
<pre>deb https://mirrors.xmission.com/ubuntu precise main restricted universe multiverse
Line 80: Line 89:
 
deb https://mirrors.xmission.com/ubuntu-archive precise main restricted universe multiverse
 
deb https://mirrors.xmission.com/ubuntu-archive precise main restricted universe multiverse
 
deb-src https://mirrors.xmission.com/ubuntu-archive precise main restricted universe multiverse</pre>
 
deb-src https://mirrors.xmission.com/ubuntu-archive precise main restricted universe multiverse</pre>
 +
 +
For Ubuntu to grab packages via SSL using <code>apt(8)</code>, you need to install the <code>apt-transport-https</code> package first before changing your URL:
 +
 +
<pre>$ sudo aptitude install apt-transport-https</pre>
 +
 +
Ubuntu supports the <code>ftp</code>, <code>http</code>, and <code>https</code> protocols in the &quot;deb&quot; and &quot;deb-src&quot; lines:
 +
 +
<pre>deb ftp://mirrors.xmission.com/ubuntu precise main restricted universe multiverse
 +
deb http://mirrors.xmission.com/ubuntu precise main restricted universe multiverse
 +
deb https://mirrors.xmission.com/ubuntu precise-updates main restricted universe multiverse</pre>

Revision as of 12:17, 25 March 2014

Mirrors

XMission runs a publicly available software repository, consisting of GNU/Linux and BSD operating systems, popular software applications, such as Firefox and MediaWiki, as well as archives such as Project Gutenberg.

Use of this server is provided free of charge, provided that you find it useful. You are welcome to change your operating system's repository to point to "mirrors.xmission.com" to get your software updates. At a minimum, the server is updated daily, with some popular software updated more frequently.

The mirrors.xmission.com server is available using the following protocols:

  • ftp://mirrors.xmission.com
  • http://mirrors.xmission.com
  • https://mirrors.xmission.com
  • nfs://mirrors.xmission.com/mirrors
  • rsync://mirrors.xmission.com

If you find this server useful, please considering purchasing services from us. See https://xmission.com for more information.

Instructions for how to use mirrors.xmission.com for your operating system are as follows:

CentOS

The main repository configuration file for CentOS is /etc/yum.repos.d/CentOS-Base.repo. Below is an example configuration for the "base" repository.

[base]
name=CentOS-$releasever - Base
baseurl=http://mirrors.xmission.com/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

CentOS supports the ftp://, http:// and https:// protocols in the baseurl line:

baseurl=ftp://mirrors.xmission.com/centos/$releasever/os/$basearch/
baseurl=http://mirrors.xmission.com/centos/$releasever/os/$basearch/
baseurl=https://mirrors.xmission.com/centos/$releasever/os/$basearch/

Debian

The main repository configuration file for Debian is /etc/apt/sources.list. Below is an example configuration using the Debian Stable release, including the security updates:

deb http://mirrors.xmission.com/debian/ stable main non-free contrib
deb-src http://mirrors.xmission.com/debian/ stable main non-free contrib
deb http://mirrors.xmission.com/debian-security stable/updates main contrib non-free
deb-src http://mirrors.xmission.com/debian-security stable/updates main contrib non-free

For Debian to grab packages via SSL using apt(8), you need to install the apt-transport-https package first before changing your URL:

$ sudo aptitude install apt-transport-https

Debian supports the ftp, http and https protocols in the "deb" and "deb-src" lines:

deb ftp://mirrors.xmission.com/debian/ stable main non-free contrib
deb http://mirrors.xmission.com/debian/ stable main non-free contrib
deb https://mirrors.xmission.com/debian/ stable main non-free contrib

Fedora

The main repository configuration file for Fedora is /etc/yum.repos.d/fedora.repo. Below is an example configuration for the "fedora" repository.

[fedora]
name=Fedora $releasever - $basearch
baseurl=https://mirrors.xmission.com/fedora/linux/releases/$releasever/Everything/$basearch/os/
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

Fedora supports the ftp://, http:// and https:// protocols in the baseurl line:

baseurl=ftp://mirrors.xmission.com/fedora/linux/releases/$releasever/Everything/$basearch/os/
baseurl=http://mirrors.xmission.com/fedora/linux/releases/$releasever/Everything/$basearch/os/
baseurl=https://mirrors.xmission.com/fedora/linux/releases/$releasever/Everything/$basearch/os/

Gentoo

Portage supports syncing its tree with ftp, http, https, and rsync. By default, distfiles.gentoo.org is used over HTTP. To override the default behavior, and add Xmission as a primary server, you can set the GENTOO_MIRRORS variable in /etc/portage/make.conf.

GENTOO_MIRRORS="ftp://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}"
GENTOO_MIRRORS="http://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}"
GENTOO_MIRRORS="https://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}"
GENTOO_MIRRORS="rsync://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}"

Ubuntu

The main repository configuration file for Ubuntu is /etc/apt/sources.list. Below is an example configuration using the Ubuntu 12.04 "precise" LTS release, including the security updates:

deb https://mirrors.xmission.com/ubuntu precise main restricted universe multiverse
deb-src https://mirrors.xmission.com/ubuntu precise main restricted universe multiverse
deb https://mirrors.xmission.com/ubuntu precise-updates main restricted universe multiverse
deb-src https://mirrors.xmission.com/ubuntu precise-updates main restricted universe multiverse
deb https://mirrors.xmission.com/ubuntu-archive precise main restricted universe multiverse
deb-src https://mirrors.xmission.com/ubuntu-archive precise main restricted universe multiverse

For Ubuntu to grab packages via SSL using apt(8), you need to install the apt-transport-https package first before changing your URL:

$ sudo aptitude install apt-transport-https

Ubuntu supports the ftp, http, and https protocols in the "deb" and "deb-src" lines:

deb ftp://mirrors.xmission.com/ubuntu precise main restricted universe multiverse
deb http://mirrors.xmission.com/ubuntu precise main restricted universe multiverse
deb https://mirrors.xmission.com/ubuntu precise-updates main restricted universe multiverse