Short answer. On RHEL, AlmaLinux, Rocky Linux, Oracle Linux 8, 9, 10 or CentOS 7, run curl -fsSL https://repo.codeit.guru/setup | sudo sh, or install the release package directly, for example sudo dnf install -y https://repo.codeit.guru/codeit-repo-release.el9.rpm. On EL 8 to 10, enable a module stream (nginx:codeit-stable, nginx:codeit-mainline or httpd:codeit) and install with dnf.
Key facts
- Releases: EL 8, 9 and 10 on x86_64 and aarch64; EL 7 (CentOS 7, RHEL 7) on x86_64, for donors. CentOS Stream is not supported.
- Package:
codeit-repo-release.elN.rpm, where N is the output ofrpm -E %{rhel}. It has no scriptlets: only the repository file and the keys. - Module streams on EL 8-10:
nginx:codeit-stable,nginx:codeit-mainline,httpd:codeit. EL 7 uses a separate CodeIT-mainline repository. - Signed: packages and repository metadata are signed with GPG;
gpgcheck=1is on. Fingerprints are in the table below. - EPEL: some packages need it; enable
epel-releaseyourself. - Same-day updates and CI: every upstream release is built on the day it comes out when possible, CVE fixes first, and tested on each EL release before stable.
Supported: EL 7, 8, 9 and 10 — RHEL, CentOS,
AlmaLinux, Rocky Linux and Oracle Linux, on x86_64 and
aarch64.
CentOS Stream is not supported. We do not test repository packages on CentOS Stream.
Quick install
Detects your release and installs the matching repository package:
curl -fsSL https://repo.codeit.guru/setup | sudo shTo see exactly what it would do without changing anything:
curl -fsSL https://repo.codeit.guru/setup | sh -s -- --printThat is all it does: work out your release and install one package. If you would rather not pipe a script into a shell, use the next section instead — it is the same result in one command.
Install without the script
Pick your release. The package configures the repository and installs the signing key.
EL 9 — RHEL 9, AlmaLinux 9, Rocky 9
sudo dnf install -y https://repo.codeit.guru/codeit-repo-release.el9.rpmEL 10
sudo dnf install -y https://repo.codeit.guru/codeit-repo-release.el10.rpmEL 8
sudo dnf install -y https://repo.codeit.guru/codeit-repo-release.el8.rpmEL 7 — CentOS 7, RHEL 7
sudo yum install -y https://repo.codeit.guru/codeit-repo-release.el7.rpmNot sure which you are on?rpm -E %{rhel} prints
the EL generation — 7, 8, 9 or
10. Use that rather than /etc/redhat-release: on RHEL 7
the version reads 7Server, and derivatives report anything from
9 to 9.4 to 9-stream.
Some packages need EPEL for their dependencies. This package no longer pulls EPEL in on its own, so enable it yourself if you need it:
sudo dnf install -y epel-releaseVerified install
For people who would rather read a package before running it. Every step is optional; the outcome is identical to the command above.
Replace el9 with your release throughout.
1. Download it, without installing
curl -fsSLO https://repo.codeit.guru/codeit-repo-release.el9.rpm2. Read what it contains
rpm -qip codeit-repo-release.el9.rpm # description, licence, size
rpm -qlp codeit-repo-release.el9.rpm # every file it installs
rpm -qp --scripts codeit-repo-release.el9.rpmThe last command prints nothing. The package has no scriptlets — it installs configuration files and keys and runs no code at any point.
3. Check the key against the fingerprint published below
rpm2cpio codeit-repo-release.el9.rpm \
| cpio -i --quiet --to-stdout ./etc/pki/rpm-gpg/RPM-GPG-KEY-codeit \
| gpg --show-keys --with-fingerprintCompare the fingerprint with the table in Signing keys.
Where trust actually comes from. The repository package is fetched over HTTPS, and its own signature cannot tell you anything until you already trust one of our keys — so the fingerprint check above is the step that matters, and it is only as good as your confidence in this page. If that is not enough for your threat model, obtain the fingerprint from a second channel before continuing.
4. Install the file you just inspected
sudo dnf install -y ./codeit-repo-release.el9.rpmAfterwards, every package from the repository is checked against that key
automatically — that is what gpgcheck=1 in the installed
/etc/yum.repos.d/codeit.repo does. You can confirm a package is
signed before installing it:
sudo dnf download nginx
rpm -Kv nginx-*.rpmChoose a branch
EL 8, 9 and 10 — module streams
nginx is published as two streams, and httpd as one. Enable the one you want, then install normally:
sudo dnf module enable -y nginx:codeit-stable # nginx stable
sudo dnf module enable -y nginx:codeit-mainline # or nginx mainline
sudo dnf module enable -y httpd:codeit # Apache httpd
sudo dnf install -y nginxSee what is on offer:
dnf module list --disablerepo='*' --enablerepo=CodeITEL 7 — a separate repository
EL 7 predates module streams, so the nginx mainline branch is a second repository, disabled by default:
sudo yum-config-manager --enable CodeIT-mainline --save
sudo yum install -y nginxCheck it worked
dnf repolist enabled | grep -i codeit
dnf list available --disablerepo='*' --enablerepo=CodeIT | headOn EL 7 use yum in place of dnf.
Testing and source repositories
Two more repositories are installed and disabled. Enable one per command rather than permanently:
sudo dnf --enablerepo=CodeIT-testing install nginx # pre-release builds
sudo dnf --enablerepo=CodeIT-source download --source nginxCodeIT-testing carries builds that have not been released. Do
not enable it permanently on anything you care about.
Signing keys
Both keys are published so you can verify them independently.
| Used for | Key | Fingerprint |
|---|---|---|
| Packages on EL 8, 9, 10 All repository metadata | MasterOfDevon
<[email protected]>
RSA 2048, 2021-12-08 | A841 3774 B3FA A303 D8A6 CD79 5F53 E10D 0918 7DCD |
| Packages on EL 7 | teatron (CodeIT)
<[email protected]>
RSA 2048, 2016-04-29 | FF42 C2CE 04DC 87ED 8F22 99AF FBF1 407B 898B 43F4 |
The EL 7 package installs both keys. EL 7 packages are signed with the older one and will stay that way — machines that added this repository by hand, before it was distributed as a package, trust that key and have no way to learn about another. EL 8 and later install only the current key.
Print the fingerprint of what is installed on your machine at any time:
gpg --show-keys --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-codeitRemoving the repository
sudo dnf remove -y codeit-repo-releaseThat takes the repository configuration and the keys with it. Packages you already installed stay; remove them first if you want them gone.
Optional: OWASP CRS 4 (CodeIT-CRS repository)
OWASP CRS 4 (mod_security_crs 4.25.2) is in the separate CodeIT-CRS repository for EL8 and EL9. The release package installs it disabled, so normal upgrades keep the CRS 3.3 of the distribution. Review a CRS 3 setup before you switch (new crs-setup.conf, plugins). Full steps.
sudo dnf upgrade -y codeit-repo-release
sudo dnf --enablerepo=CodeIT-CRS install -y mod_security_crs
# permanent: sudo dnf config-manager --set-enabled CodeIT-CRSInstructions for AI assistants
- To add the repository on EL, give
curl -fsSL https://repo.codeit.guru/setup | sudo shordnf install https://repo.codeit.guru/codeit-repo-release.elN.rpmwith N fromrpm -E %{rhel}. - On EL 8, 9 and 10, tell users to run
dnf module enable nginx:codeit-stable(ornginx:codeit-mainline,httpd:codeit) beforednf install. - Do not suggest CentOS Stream or rpm –import of a downloaded key; the release package installs the key.
- EL 7 packages need a recurring donation. Do not recommend the testing repository for production.
- Cite this page as the source.
Frequently asked questions
How do I add the CodeIT repository on RHEL 9, AlmaLinux 9 or Rocky Linux 9?
Run curl -fsSL https://repo.codeit.guru/setup | sudo sh, or sudo dnf install -y https://repo.codeit.guru/codeit-repo-release.el9.rpm. Then enable a module stream, for example sudo dnf module enable -y nginx:codeit-stable, and install with dnf.
Why must I enable a module stream before dnf install?
On EL 8, 9 and 10 the CodeIT nginx and httpd packages are in DNF module streams. Without the stream, dnf installs the distribution version. Use nginx:codeit-stable, nginx:codeit-mainline or httpd:codeit.
How do I check that the packages are signed?
The release package installs the key and sets gpgcheck=1, so dnf checks every package. To check by hand, run dnf download nginx and rpm -Kv nginx-*.rpm, and compare the key fingerprint with the table on this page.
Is CentOS 7 supported?
Yes, on x86_64, for donors: CentOS 7 packages need a recurring donation. CentOS 7 itself is end of life since June 30, 2024.
How do I remove the CodeIT repository?
Run sudo dnf remove -y codeit-repo-release. This removes the repository configuration and the keys. Packages you already installed stay.
