Skip to content

Commit 3c6e72d

Browse files
mkfuronvmcj
authored andcommitted
Update installation documentation for Fedora.
1 parent 80b37e9 commit 3c6e72d

File tree

2 files changed

+22
-9
lines changed

2 files changed

+22
-9
lines changed

doc/manual/install-domserver.rst

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@ GNU/Linux, or one of its derivative distributions like Ubuntu::
3939
php php-fpm php-gd php-cli php-intl php-mbstring php-mysql \
4040
php-curl php-json php-xml php-zip composer ntp python3-yaml
4141

42-
The following command can be used on RedHat Enterprise Linux, and related
43-
distributions like CentOS (with EPEL) and Fedora::
42+
The following command can be used on Fedora, and related distributions like
43+
Red Hat Enterprise Linux and Rocky Linux (before V9)::
4444

45-
sudo yum install libcgroup-devel make acl zip unzip mariadb-server httpd \
46-
php-gd php-cli php-intl php-mbstring php-mysqlnd \
47-
php-xml php-zip composer ntp python3-pyyaml
45+
sudo dnf install libcgroup-devel make acl zip unzip mariadb-server httpd \
46+
php-gd php-cli php-intl php-mbstring php-mysqlnd php-fpm \
47+
php-xml php-zip composer chronyd python3-pyyaml
4848

49-
The packages `libcgroup-dev` and `make` are
49+
`nginx` can be used as an alternate web server.
50+
51+
The packages `libcgroup-dev` (`libcgroup-devel` on Fedora) and `make` are
5052
:ref:`judgehost software requirements <judgehost_software>`, but also
5153
needed here due to `issue 862 <https://github.com/DOMjudge/domjudge/issues/862>`.
5254

@@ -126,7 +128,7 @@ settings. Reload the web server for changes to take effect.
126128
127129
An nginx webserver configuration snippet is also provided in
128130
``etc/nginx-conf``. You still need ``htpasswd`` from ``apache2-utils``
129-
though. To use this configuration, perform the following steps
131+
though. To use this configuration, perform the following steps::
130132

131133
.. parsed-literal::
132134
@@ -137,6 +139,17 @@ though. To use this configuration, perform the following steps
137139
service php\ |phpversion|-fpm reload
138140
service nginx reload
139141
142+
On Fedora, use the following nginx configuration steps::
143+
144+
.. parsed-literal::
145+
146+
ln -s <DOMSERVER_INSTALL_PATH>/etc/nginx-conf /etc/nginx/conf.d/nginx-conf.conf
147+
ln -s <DOMSERVER_INSTALL_PATH>/etc/domjudge-fpm.conf /etc/php-fpm.d/domjudge-fpm.conf
148+
# Edit the files <DOMSERVER_INSTALL_PATH>/etc/nginx-conf and
149+
# <DOMSERVER_INSTALL_PATH>/etc/domjudge-fpm.conf to your needs
150+
systemctl restart php-fpm.service
151+
systemctl restart nginx.service
152+
140153
The judgehosts connect to DOMjudge via the DOMjudge API so need
141154
to be able to access at least this part of the web interface.
142155

doc/manual/install-judgehost.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ For Debian::
3939

4040
For RHEL 7/Fedora [*]_::
4141

42-
sudo yum install make pkgconfig sudo libcgroup-devel lsof \
43-
php-cli php-mbstring php-xml php-process procps-ng gcc g++
42+
sudo dnf install make pkgconfig sudo libcgroup-devel lsof \
43+
php-cli php-mbstring php-xml php-process procps-ng gcc g++ \
4444
glibc-static libstdc++-static
4545

4646
.. [*] Building on RHEL8, RHEL9 (or the CentOS, Rockylinux & Almalinux versions)

0 commit comments

Comments
 (0)