freeCodeCamp/guide/russian/linux/install-and-configure-apach.../index.md

19 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Install and Configure Apache Server in Linux
localeTitle: Установка и настройка Apache Server в Linux
---
Apache HTTP-сервер, который в обычном порядке называется Apache, является бесплатным и открытым исходным кодом кросс-платформенное программное обеспечение веб-сервера. Apache разрабатывается и поддерживается открытое сообщество разработчиков под эгидой Apache Software Foundation.
## Установка и настройка Apache Server в Linux
Шаг 1: Установите Apache Server `yum install httpd`
Шаг 2. Настройка http web sever `cd /etc/httpd/conf.d`
Шаг 3. Создайте собственный файл конфигурации с расширением .conf. `vim *.conf`
Шаг 4: Запуск Apache Server `systemctl start httpd.service`
Шаг 5: Автоматический запуск Apache Server при запуске операционной системы. `systemctl enable httpd.service`
Шаг 6: добавьте разрешение брандмауэра. `firewall-cmd --add-service=http --permanent`