Host Multiple Websites With SSL Encryption in RHEL 8 | Configure HTTPS Apache Server | Nehra Classes
HTML-код
- Опубликовано: 3 окт 2024
- #Welcome to Nehra Classes RUclips Channel#
#Host Multiple Websites With SSL Encryption in RHEL8#
#Installation & Configuration of Apache Web Server (https)#
================================================
Use below commands for the configuration:
hostnamectl set-hostname www.nehraclasses.com
hostnamectl
clear
dnf repolist
clear
yum install -y httpd openssl mod_ssl
clear
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
clear
ls -l
cp -r server.crt /etc/pki/tls/certs/
cp -r server.key /etc/pki/tls/private/
clear
vim /etc/httpd/conf.d/ssl.conf
clear
httpd -t
apachectl configtest
vim /etc/httpd/conf.d/httpd.conf
cd /var/www/html/
ll
mkdir -p /var/www/html/website1
mkdir -p /var/www/html/website2
ll
ls -lZd /var/www/html/
ls -lZd website1
ls -lZd website2
clear
httpd -t
clear
cd website
cd website2
pwd
clear
vim index.html
cd ..
cd website1
clear
ll
cp -r /root/Desktop/perfect-learn/* .
ll
clear
httpd -t
clear
firewall-cmd --permanent --add-service=https
firewall-cmd --permanent --add-port=443/tcp
firewall-cmd --reload
clear
systemctl start httpd
systemctl enable httpd
systemctl status httpd
clear
cd
vim /etc/hosts
clear
systemctl restart httpd
===
Thanks for watching the video. If it helped you then, please do like & share it with others as well. Feel free to post your queries & suggestions, we will be glad to answer your queries.
If you like our hard work then do subscribe to our channel & turn on the bell notification for latest updates.
===
Our Some Popular Videos:
Yum Server RHEL 7:
• Configure Local Yum Re...
DNF/Yum Server RHEL 8:
• Configure Local DNF / ...
Puppet Configuration:
• Install and Configure ...
Startis File System in RHEL 8:
• Stratis Feature in RHE...
Concept of All RAID Levels:
• Session-31 | Concept o...
Configure RAID-0 in Linux:
• Live Linux Training (R...
Configure RAID-1 in Linux:
• Live Linux Training (R...
Configure RAID-5 in Linux:
• Live Linux Training (R...
Configure RAID-6 in Linux:
• Live Linux Training (R...
Configure RAID-10 in Linux:
• Live Linux Training (R...
Migrate LVM:
• Migrate Logical Volume...
LVM Snapshot:
• Session-30 | Logical V...
===
Contact Us:
Vikas Nehra's Twitter Handle:👇
bit.ly/VikasNeh...
Registration:👇
bit.ly/NehraCla...
Twitter Handle:👇
bit.ly/NehraCla...
Facebook Page:👇
nehraclasses
Instagram:👇
/ nehraclasses
Webpage:👇
bit.ly/NehraCla...
Telegram Channel: 👇
t.me/NehraClasses
WhatsApp Us: 👇
bit.ly/2Kpqp5z
Email Us:👇
Email: nehraclasses@gmail.com
===
©COPYRIGHT. ALL RIGHTS RESERVED.
#NehraClasses #LinuxTraining #WebServer