@@ -39,14 +39,16 @@ GNU/Linux, or one of its derivative distributions like Ubuntu::
39
39
php php-fpm php-gd php-cli php-intl php-mbstring php-mysql \
40
40
php-curl php-json php-xml php-zip composer ntp python3-yaml
41
41
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) ::
44
44
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
48
48
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
50
52
:ref: `judgehost software requirements <judgehost_software >`, but also
51
53
needed here due to `issue 862 <https://github.com/DOMjudge/domjudge/issues/862> `.
52
54
@@ -126,7 +128,7 @@ settings. Reload the web server for changes to take effect.
126
128
127
129
An nginx webserver configuration snippet is also provided in
128
130
``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::
130
132
131
133
.. parsed-literal ::
132
134
@@ -137,6 +139,17 @@ though. To use this configuration, perform the following steps
137
139
service php\ |phpversion |-fpm reload
138
140
service nginx reload
139
141
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
+
140
153
The judgehosts connect to DOMjudge via the DOMjudge API so need
141
154
to be able to access at least this part of the web interface.
142
155
0 commit comments