2024-01-12 11:37:13 +00:00
|
|
|
Mirrors are web and FTP servers that mirror repos from the official repo web server.
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
To use a mirror with `mp`, change the repo URI for the target repo in your `mp`
|
|
|
|
configuration file (`/etc/mp/cfg`).
|
|
|
|
|
|
|
|
### Creating a mirror
|
2024-01-19 11:34:33 +00:00
|
|
|
To create a mirror you can use the `matter-mirror` tool. This tool is a part of the [MatterLinux `tools`
|
|
|
|
project](https://git.matterlinux.xyz/matter/tools). These tools can be installed with the `tools`
|
|
|
|
package in the desktop repo.
|
2024-01-12 11:37:13 +00:00
|
|
|
|
|
|
|
After installing `matter-mirror`, specify an URI and an output directory (files will be downloaded
|
|
|
|
into the output directory). For example to mirror the `base` repo from
|
2024-03-30 00:32:13 +00:00
|
|
|
`https://pkgs.matterlinux.xyz/base` to `base_mirror` directory:
|
2024-01-12 11:37:13 +00:00
|
|
|
```
|
|
|
|
$ mkdir base_mirror
|
2024-03-30 00:32:13 +00:00
|
|
|
$ matter-mirror -u https://pkgs.matterlinux.xyz/base -o base_mirror
|
2024-01-12 11:37:13 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
To serve the mirror, you can setup a web server such as `nginx`, or you can setup a FTP
|
|
|
|
server such as `pure-ftpd`.
|
|
|
|
|
|
|
|
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`:
|
|
|
|
```
|
2024-01-19 11:29:23 +00:00
|
|
|
0 0 * * * <user> matter-mirror -u <url> -o <output dir path>
|
2024-01-12 11:37:13 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
# List
|
|
|
|
This section contains information about different MatterLinux repo and mirros
|
|
|
|
that you can use. To add your mirror to this list get in contact with the maintainer/developers.
|
|
|
|
|
2024-01-19 11:29:23 +00:00
|
|
|
> **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
|
|
|
|
|
|
|
### Official repos
|
2024-03-30 00:32:13 +00:00
|
|
|
| Repo | URI | Location |
|
|
|
|
| ------- | -------------------------------------- | ----------- |
|
|
|
|
| base | `https://pkgs.matterlinux.xyz/base` | 🇹🇷 Turkey |
|
|
|
|
| desktop | `https://pkgs.matterlinux.xyz/desktop` | 🇹🇷 Turkey |
|
|
|
|
| base | `https://next.matterlinux.xyz/base` | 🇹🇷 Turkey |
|
|
|
|
| desktop | `https://next.matterlinux.xyz/desktop` | 🇹🇷 Turkey |
|
2024-01-12 11:37:13 +00:00
|
|
|
|
|
|
|
### Mirrors
|
|
|
|
Currently there are no available mirrors.
|