content/wiki/pools/mirrors.md

52 lines
2.7 KiB
Markdown
Raw Normal View History

2024-06-19 13:36:15 +00:00
On this page, you will find information about MatterLinux package mirrors.
2024-01-12 11:37:13 +00:00
2024-06-19 13:36:15 +00:00
# Using different mirrors
To use a mirror with `matt`, change the pool URL for the target pool in your `matt`
configuration file (`/etc/matt/config.ini`).
2024-01-12 11:37:13 +00:00
### Creating a mirror
To create a mirror you can use the [`mirp` tool](https://git.matterlinux.xyz/matter/mirp).
This package can be installed from the [`server` pool](/wiki/pools).
2024-01-12 11:37:13 +00:00
After installing `mirp`, specify an URL and an output directory (files will be downloaded
into the output directory). For example to mirror the `base` pool from `https://stable.matterlinux.xyz/base`
2024-06-19 13:36:15 +00:00
to `base_mirror` directory:
2024-01-12 11:37:13 +00:00
```
$ mkdir base_mirror
$ mirp mptp://stable.matterlinux.xyz/base base_mirror
2024-01-12 11:37:13 +00:00
```
2024-06-19 13:36:15 +00:00
To serve the mirror, you can setup [`pooler`](https://git.matterlinux.xyz/matter/pooler).
To learn more about `pooler`, see the [wiki page for pools](/wikş/pools.md).
2024-01-12 11:37:13 +00:00
You will mostly likely want to update your mirror every once in a while. To do so you can
create a cron job. For example to update your mirror every day at 00:00, you can add the
following entry to your `/etc/crontab`:
```
0 0 * * * <user> mirp <url> <output dir path>
2024-01-12 11:37:13 +00:00
```
2024-06-19 13:36:15 +00:00
# Mirror lists
This section contains information about different MatterLinux pools and mirros
2024-01-12 11:37:13 +00:00
that you can use. To add your mirror to this list get in contact with the maintainer/developers.
> **Note**
>
> Official mirrors are **ALWAYS** signed with the `F9E70878C2FB389AEC2BA34CA3654DF5AD9F641D`
> fingerprint (belongs to the maintainer, ngn). If syncing with a mirror tells you otherwise, then
> **DO NOT USE THAT MIRROR** and report it to the maintainer/developers in order to remove it
> from the list.
2024-01-12 11:37:13 +00:00
2024-06-19 13:36:15 +00:00
### Official pools
| Pool | MPTP | HTTP(S) | Location |
| ---------------- | ---------------------------------------- | ----------------------------------------- | ----------- |
| base (stable) | `mptp://stable.matterlinux.xyz/base` | `https://stable.matterlinux.xyz/base` | 🇹🇷 Turkey |
| desktop (stable) | `mptp://stable.matterlinux.xyz/desktop` | `https://stable.matterlinux.xyz/desktop` | 🇹🇷 Turkey |
| server (stable) | `mptp://stable.matterlinux.xyz/server` | `https://stable.matterlinux.xyz/server` | 🇹🇷 Turkey |
| base (next) | `mptp://next.matterlinux.xyz/base` | `https://next.matterlinux.xyz/base` | 🇹🇷 Turkey |
| desktop (next) | `mptp://next.matterlinux.xyz/desktop` | `https://next.matterlinux.xyz/desktop` | 🇹🇷 Turkey |
| server (next) | `mptp://next.matterlinux.xyz/server` | `https://next.matterlinux.xyz/server` | 🇹🇷 Turkey |
2024-01-12 11:37:13 +00:00
### Mirrors
Currently there are no available mirrors.