Difference between revisions of "Mirrors"
(formatting updates) |
(→Debian) |
||
(9 intermediate revisions by 2 users not shown) | |||
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. | ||
− | + | Instructions for how to use mirrors.xmission.com for your operating system are as follows: | |
− | + | == 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 "base" repository. | |
− | |||
− | |||
<pre>[base] | <pre>[base] | ||
name=CentOS-$releasever - Base | name=CentOS-$releasever - Base | ||
− | baseurl= | + | 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 | |
− | + | ||
− | + | == Debian == | |
− | + | ||
− | + | The main repository configuration file for Debian is <code>/etc/apt/sources.list</code>. Below is an example configuration using the Debian Stable release: | |
− | + | <pre>deb http://mirrors.xmission.com/debian/ stable main non-free contrib | |
− | + | deb-src http://mirrors.xmission.com/debian/ stable main non-free contrib | |
− | + | </pre> | |
− | |||
− | |||
− | |||
− | 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: | + | Debian supports the <code>ftp</code>, <code>http</code> and <code>https</code> protocols in the "deb" and "deb-src" lines. 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> | ||
− | |||
− | + | == EPEL == | |
− | |||
− | |||
− | |||
− | == | ||
− | + | EPEL (Extra Packages for Enterprise Linux) is an extra repository mainly for RHEL and CentOS systems. The main repository configuration file for EPEL is <code>/etc/yum.repos.d/epel.repo</code>. Below is an example configuration for the "epel" repository. | |
+ | |||
+ | <pre>[epel] | ||
+ | name=Extra Packages for Enterprise Linux 6 - $basearch | ||
+ | baseurl=http://mirrors.xmission.com/fedora-epel/6/$basearch | ||
+ | enabled=1 | ||
+ | gpgcheck=1 | ||
+ | gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6</pre> | ||
+ | |||
+ | As with CentOS, the following protocols are supported in the <code>baseurl</code> line for EPEL: <code>ftp://</code>, <code>http://</code> and <code>https://</code>. | ||
+ | |||
+ | == Fedora == | ||
+ | |||
+ | The main repository configuration file for Fedora is <code>/etc/yum.repos.d/fedora.repo</code>. Below is an example configuration for the "fedora" repository. | ||
<pre>[fedora] | <pre>[fedora] | ||
name=Fedora $releasever - $basearch | name=Fedora $releasever - $basearch | ||
− | baseurl= | + | baseurl=http://mirrors.xmission.com/fedora/linux/releases/$releasever/Everything/$basearch/os/ |
enabled=1 | enabled=1 | ||
metadata_expire=7d | metadata_expire=7d | ||
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> | ||
− | |||
− | + | Fedora supports the <code>ftp://</code>, <code>http://</code> and <code>https://</code> protocols in the <code>baseurl</code> line. | |
+ | |||
+ | == Gentoo == | ||
+ | |||
+ | 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="http://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}"</pre> | ||
+ | |||
+ | Portage supports syncing its tree with <code>ftp</code>, <code>http</code>, <code>https</code>, and <code>rsync</code> in the <code>GENTOO_MIRRORS</code> variable. | ||
+ | |||
+ | == Ubuntu == | ||
+ | |||
+ | The main repository configuration file for Ubuntu is <code>/etc/apt/sources.list</code>. Below is an example configuration using the Ubuntu 12.04 "precise" LTS release, including the security updates: | ||
− | <pre> | + | <pre>deb http://mirrors.xmission.com/ubuntu precise main restricted universe multiverse |
− | + | deb-src http://mirrors.xmission.com/ubuntu precise main restricted universe multiverse | |
+ | deb http://mirrors.xmission.com/ubuntu precise-updates main restricted universe multiverse | ||
+ | deb-src http://mirrors.xmission.com/ubuntu precise-updates main restricted universe multiverse | ||
+ | deb http://mirrors.xmission.com/ubuntu-archive precise main restricted universe multiverse | ||
+ | deb-src http://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: | + | Ubuntu supports the <code>ftp</code>, <code>http</code>, and <code>https</code> protocols in the "deb" and "deb-src" lines. 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> | <pre>$ sudo aptitude install apt-transport-https</pre> | ||
− | |||
− | + | [[Category: Getting Started]] | |
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 17:34, 7 February 2019
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
Debian
The main repository configuration file for Debian is /etc/apt/sources.list
. Below is an example configuration using the Debian Stable release:
deb http://mirrors.xmission.com/debian/ stable main non-free contrib deb-src http://mirrors.xmission.com/debian/ stable main non-free contrib
Debian supports the ftp
, http
and https
protocols in the "deb" and "deb-src" lines. 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
EPEL
EPEL (Extra Packages for Enterprise Linux) is an extra repository mainly for RHEL and CentOS systems. The main repository configuration file for EPEL is /etc/yum.repos.d/epel.repo
. Below is an example configuration for the "epel" repository.
[epel] name=Extra Packages for Enterprise Linux 6 - $basearch baseurl=http://mirrors.xmission.com/fedora-epel/6/$basearch enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
As with CentOS, the following protocols are supported in the baseurl
line for EPEL: ftp://
, http://
and https://
.
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=http://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.
Gentoo
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="http://mirrors.xmission.com/gentoo/ ${GENTOO_MIRRORS}"
Portage supports syncing its tree with ftp
, http
, https
, and rsync
in the GENTOO_MIRRORS
variable.
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 http://mirrors.xmission.com/ubuntu precise main restricted universe multiverse deb-src http://mirrors.xmission.com/ubuntu precise main restricted universe multiverse deb http://mirrors.xmission.com/ubuntu precise-updates main restricted universe multiverse deb-src http://mirrors.xmission.com/ubuntu precise-updates main restricted universe multiverse deb http://mirrors.xmission.com/ubuntu-archive precise main restricted universe multiverse deb-src http://mirrors.xmission.com/ubuntu-archive precise main restricted universe multiverse
Ubuntu supports the ftp
, http
, and https
protocols in the "deb" and "deb-src" lines. 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