How to install apache httpd on CentOS 8

Опубликовано: 17 Апрель 2026
на канале: MAGGI CHANNEL
779
10

COMMANDS USED IN VIDEO

-Updateing the OS
$yum update -y

-Install apache "httpd" package
$yum install httpd -y

-Backup welcome.conf and httpd.conf default configuration file for future
$mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf_default
$cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf_default

-- FOR VI TEXT EDITOR BEGINNERS --

i - insert mode
esc - escape from insert mode or other
/ - search for the word
:xxx - Jump to line (ex: :89 )
Shift + G - Jump to end of the file

-Edit apache httpd configuration file
$vi /etc/httpd/conf/httpd.conf

Change the following options

Optional Changes
-- "ServerAdmin or line no. 89"
-- "ServerName or line no. 98"
-- "DirectoryIndex or line no. 167

Must Changes
-- "AllowOverride or line no. 154"

Must Add to end of the line
-- "ServerTokens Prod"
-- "KeepAlive On"

Resource:
HTML templates: https://www.os-templates.com/
Background Music:    / audiolibrary  
Intro Video Backgroup Sound: http://soundbible.com/561-Computer-Sc...
Intro Backgroup Video: https://pixabay.com/users/lgpimenta-1...
Virtualbox: https://www.virtualbox.org/
CentOS 8: http://isoredirect.centos.org/centos/... (Which I used)

Software Used:
Video Edit: https://www.olivevideoeditor.org/
Screen Record:https://obsproject.com/
Thumbnail Edited: https://inkscape.org/