Установка dist-git » History » Version 3
Viacheslav Anzhiganov, 02/04/2025 08:10 PM
1 | 1 | Viacheslav Anzhiganov | # Установка dist-git |
---|---|---|---|
2 | |||
3 | **Установка** |
||
4 | |||
5 | ``` |
||
6 | dnf install dist-git |
||
7 | ``` |
||
8 | |||
9 | **Настройка** |
||
10 | |||
11 | 2 | Viacheslav Anzhiganov | Внести изменения в `/etc/dist-git/dist-git.conf` |
12 | 1 | Viacheslav Anzhiganov | |
13 | 2 | Viacheslav Anzhiganov | Внести изменения в `/etc/httpd/conf.d/dist-git/dist-git.conf` |
14 | 3 | Viacheslav Anzhiganov | |
15 | ``` |
||
16 | <VirtualHost *:80> |
||
17 | ScriptAlias /repo/pkgs/upload.cgi /var/lib/dist-git/web/upload.cgi |
||
18 | Alias /repo/ /var/lib/dist-git/cache/lookaside/ |
||
19 | ServerName sources.platform-os.org |
||
20 | ServerAdmin [email protected] |
||
21 | CustomLog logs/sources_access_log combined |
||
22 | ErrorLog logs/sources_error_log |
||
23 | <Directory /repo/pkgs/> |
||
24 | </Directory> |
||
25 | <Location /repo/pkgs/upload.cgi> |
||
26 | Options +ExecCGI |
||
27 | Require all granted |
||
28 | </Location> |
||
29 | </VirtualHost> |
||
30 | ``` |