Document named APT sources for Ubuntu and Debian
This commit is contained in:
1 parent
b97036778e
commit
3812e37d5b
3 files changed
+63
-19
No files matched your search
+1
-1
@@ -208,4 +208,4 @@ python tools/web_update_manifest.py dist/coulobre_panel-0.10.2rc1-py3-none-any.w
|
||||
Run the development checks before submitting a pull request. Gitea Actions
|
||||
checks Python 3.12 and 3.14. [Development checks](docs/development.md#checks)
|
||||
[debian-registry]: https://docs.gitea.com/usage/packages/debian/
|
||||
[apt-installation]: docs/deployment.md#use-the-gitea-apt-repository
|
||||
[apt-installation]: docs/deployment.md#use-the-coulobre-apt-repository
|
||||
@@ -12,6 +12,8 @@ perform audited support actions on their behalf.
|
||||
See [Local development](docs/development.md) to run it.
|
||||
Use the [installer or manual deployment guide](docs/deployment.md) to set up
|
||||
Apache, MariaDB, and RabbitMQ.
|
||||
For Ubuntu 26.04 LTS or Debian 13, see the
|
||||
[Coulobre APT setup](docs/deployment.md#use-the-coulobre-apt-repository).
|
||||
|
||||
## Roadmap and releases
|
||||
|
||||
|
||||
+60
-18
@@ -55,6 +55,12 @@ sudo ./deploy/install-panel.py --interactive
|
||||
Review the hostname, network mode, administrator, and mail and DNS
|
||||
choices before confirming. Enter the password in the terminal or use
|
||||
`--admin-password-file` to read it from a root-owned `0600` file.
|
||||
For hosted website DNS, enter the public IPv4 or IPv6 addresses that clients
|
||||
use to reach hosted sites. Choosing `none` leaves the default A and AAAA
|
||||
records unset until you configure hosting addresses.
|
||||
For Coulobre-managed DNS, enter the hostnames of the authoritative
|
||||
nameservers that will serve new zones. For a public domain, set the delegation
|
||||
at its registrar as well.
|
||||
|
||||
### Automated command line
|
||||
|
||||
@@ -138,31 +144,67 @@ sudo coulobre-install --interactive
|
||||
```
|
||||
|
||||
On a fresh server the package stages the release wheel, installer, and remote
|
||||
installation service. Run `coulobre-install` after APT exits. It accepts the
|
||||
same `--interactive`, `--config`, and `--web` options as the source installer
|
||||
and installs the selected operating system services and Python dependencies.
|
||||
installation service. APT prints the setup command when the package is ready.
|
||||
Run `coulobre-install` after APT exits. It accepts the same `--interactive`,
|
||||
`--config`, and `--web` options as the source installer and installs the
|
||||
selected operating system services and Python dependencies.
|
||||
|
||||
### Use the Gitea APT repository
|
||||
### Use the Coulobre APT repository
|
||||
|
||||
Use the `resolute` suite on Ubuntu 26.04 or `trixie` on Debian 13. The `main`
|
||||
component carries final releases. Use `candidate` on a test host to opt in to
|
||||
release candidates. A version like `0.13.0~rc1` sorts before `0.13.0` in APT.
|
||||
Install the repository signing key, then use the source entry for your OS.
|
||||
If you previously added a Coulobre entry to `gitea.list` or
|
||||
`hippogrief.list`, remove that entry before enabling `coulobre.sources`.
|
||||
|
||||
```sh
|
||||
suite=resolute
|
||||
component=main
|
||||
registry=https://code.hosting.hippogrief.nl/api/packages/hippogrief/debian
|
||||
sudo install -d -m 0755 /etc/apt/keyrings
|
||||
sudo curl -fsS "$registry/repository.key" -o /etc/apt/keyrings/hippogrief.asc
|
||||
sudo chmod 0644 /etc/apt/keyrings/hippogrief.asc
|
||||
printf 'deb [signed-by=/etc/apt/keyrings/hippogrief.asc] %s %s %s\n' \
|
||||
"$registry" "$suite" "$component" | sudo tee /etc/apt/sources.list.d/hippogrief.list
|
||||
sudo apt update
|
||||
sudo apt install coulobre-panel
|
||||
sudo curl -fsS https://code.hosting.hippogrief.nl/api/packages/hippogrief/debian/repository.key \
|
||||
-o /etc/apt/keyrings/coulobre.asc
|
||||
sudo chmod 0644 /etc/apt/keyrings/coulobre.asc
|
||||
```
|
||||
|
||||
Set `component=candidate` when testing a release candidate. Gitea adds the
|
||||
`main` component to each suite when its first final package is published.
|
||||
#### Ubuntu 26.04 LTS
|
||||
|
||||
```sh
|
||||
sudo tee /etc/apt/sources.list.d/coulobre.sources >/dev/null <<'EOF'
|
||||
Types: deb
|
||||
URIs: https://code.hosting.hippogrief.nl/api/packages/hippogrief/debian
|
||||
Suites: resolute
|
||||
Components: main
|
||||
Architectures: all
|
||||
Signed-By: /etc/apt/keyrings/coulobre.asc
|
||||
EOF
|
||||
```
|
||||
|
||||
#### Debian 13
|
||||
|
||||
```sh
|
||||
sudo tee /etc/apt/sources.list.d/coulobre.sources >/dev/null <<'EOF'
|
||||
Types: deb
|
||||
URIs: https://code.hosting.hippogrief.nl/api/packages/hippogrief/debian
|
||||
Suites: trixie
|
||||
Components: main
|
||||
Architectures: all
|
||||
Signed-By: /etc/apt/keyrings/coulobre.asc
|
||||
EOF
|
||||
```
|
||||
|
||||
#### Install the package
|
||||
|
||||
The `main` component becomes available when the first final package is
|
||||
published. For release candidates, run the following command before updating
|
||||
APT. A candidate such as `0.13.0~rc1` sorts before `0.13.0`.
|
||||
|
||||
```sh
|
||||
sudo sed -i 's/^Components: main$/Components: candidate/' /etc/apt/sources.list.d/coulobre.sources
|
||||
```
|
||||
|
||||
Install the package and start the installer on a fresh server.
|
||||
|
||||
```sh
|
||||
sudo apt update
|
||||
sudo apt install coulobre-panel
|
||||
sudo coulobre-install --interactive
|
||||
```
|
||||
|
||||
[Gitea Debian registry documentation](https://docs.gitea.com/usage/packages/debian/)
|
||||
|
||||
|
||||
Reference in new issue
Block a user