Install » History » Version 2
Viacheslav Anzhiganov, 11/26/2025 02:36 PM
| 1 | 1 | Viacheslav Anzhiganov | # Install |
|---|---|---|---|
| 2 | |||
| 3 | ```shell |
||
| 4 | dnf install -y epel-release |
||
| 5 | dnf install -y nginx supervisor |
||
| 6 | ``` |
||
| 7 | |||
| 8 | |||
| 9 | ```shell |
||
| 10 | systemctl enable supervisord |
||
| 11 | systemctl start supervisord |
||
| 12 | ``` |
||
| 13 | 2 | Viacheslav Anzhiganov | |
| 14 | ## supervisor config |
||
| 15 | |||
| 16 | ```shell |
||
| 17 | vi /etc/supervisord.d/domainparking.ini |
||
| 18 | ``` |
||
| 19 | |||
| 20 | ```init |
||
| 21 | [program:domainparking] |
||
| 22 | command = /opt/parking/.venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload |
||
| 23 | directory = /opt/parking |
||
| 24 | # user = www |
||
| 25 | autostart=true |
||
| 26 | ``` |