SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы

Список вопросов Печать

Как установить и запустить веб-сервер?


Метки: python http apache httpd nginx lighttpd caddy 

Ответы

RemiZOffAlex  Создано: 2021-03-20 15:22:52.100916  Обновлено: 2022-12-12 02:28:13.361701

Apache

dnf -y install httpd httpd-tools
systemctl start httpd

caddy

dnf -y install caddy
caddy file-server --listen :2015 --root ./ --browse

Ссылки

lighttpd

dnf -y install lighttpd
systemctl start lighttpd

Python

python -m http.server 8000 --bind 0.0.0.0 --directory /tmp/

Nginx

dnf -y install nginx
systemctl start nginx

Возможно будут интересны и другие вопросы