Apache Tomcat Installation on Linux/RHEL 9 // You Need to Learn Today 🔥🔥🔥
Автор: Engr. Abhishek Roshan
Загружено: 2024-01-08
Просмотров: 18362
#engrabhishekroshan
Support My blogging Website : https://freshertube.com
In this video I have explained Apache Tomcat Installation Steps on Linux or RHEL 9
1. Install package 'java-11-openjdk-headless
2. yum install java-11-openjdk-headless*
3. useradd -r -m -U -d /opt/tomcat -s /bin/false tomcat
4. wget -c https://dlcdn.apache.org/tomcat/tomca...
5. https://dlcdn.apache.org/tomcat/tomca...
6. tar xf apache-tomcat-10.1.17.tar.gz -C /opt/tomcat
7. ln -s /opt/tomcat/apache-tomcat-10.1.17 /opt/tomcat/updated
8. chown -R tomcat: /opt/tomcat/*
9. sh -c 'chmod +x /opt/tomcat/updated/bin/*.sh'
10. vi /etc/systemd/system/tomcat.service
[Unit]
Description=Apache Tomcat Web Application Container
After=network.target
[Service]
Type=forking
Environment="JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.21.0.9-2.el9.x86_64"
Environment="CATALINA_PID=/opt/tomcat/updated/temp/tomcat.pid"
Environment="CATALINA_HOME=/opt/tomcat/updated/"
Environment="CATALINA_BASE=/opt/tomcat/updated/"
Environment="CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC"
Environment="JAVA_OPTS=-Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom"
ExecStart=/opt/tomcat/updated/bin/startup.sh
ExecStop=/opt/tomcat/updated/bin/shutdown.sh
User=tomcat
Group=tomcat
UMask=0007
RestartSec=10
Restart=always
[Install]
WantedBy=multi-user.target
11. systemctl daemon-reload
12. systemctl start tomcat
13. systemctl enable tomcat
Click the below link and Join the membership
Join this channel to get access to perks:
/ @engrabhishekroshan
Watch Hindi Playlist of Linux 100+ Realtime Scenario based interview Questions and Answers
अब हिंदी में
Part 1 • Linux 100 + Realtime Scenario Based Interv...
Part 2 • Linux 100 + Realtime Scenario Based Interv...
AWS 300 + Realtime Scenario based Interview questions and answers explained in detail
Part 1 : • AWS 300+ Realtime scenario based Interview...
Part 2 : • AWS 300+ Realtime scenario based Interview...
Part 3 : • AWS 300+ Realtime Scenario based Interview...
Part 4 : • AWS 300+ Realtime Scenario based Interview...
Watch English Playlist of Linux 100 + Realtime Scenario Based Interview Questions and Answers Explained in Detail
Part 1 • Linux 100 + Realtime Scenario Based Interv... ( In this video I covered 8 Q&A)
Part 2 • Linux 100 + Realtime Scenario Based Interv... ( In this video I covered 10 Q&A)
Part 3 • Linux 100 + Realtime Scenario Based Interv... ( In this video I covered 10 Q&A)
Part 4 • Linux 100 + Realtime Scenario Based Interv... ( In this video I covered 12 Q&A)
Part 5 • Linux 100 + Realtime Scenario Based Interv... (In this video I covered 10 Q&A)
Part 6 • Linux 100 + Realtime Scenario Based Interv... (In this video I covered 10 Q&A)
Part 7 • Linux 100 + Realtime Scenario Based Interv... (In this video I covered 10 Q&A)
Part 8 • Linux 100 + Realtime Scenario Based Interv... (In this video I covered 10 Q&A)
Part 9 • Linux 100 + Realtime Scenario Based Interv... (In this video I covered 10 Q&A)
Part 10 • Linux 100 + Realtime Scenario Based Interv... (In this video I covered 12 Q&A)
Part 11 • Linux 100 + Realtime Scenario Based Interv... (In this video I covered 10 Q&A)
Part 12 • Linux 100 + Realtime Scenario Based Interv... (In this video I have covered 10 Q&A)
Part 13 • Linux 100 + Realtime Scenario Based Interv... (In This Video I have covered 1 Scenario based Interview Q&A ) Disclaimer: Copying, reproducing, or distributing this video content without permission is forbidden. Uploading, sharing, or using this content for any purpose, whether commercial or non-commercial, without the owner's explicit consent, will result in legal consequences. All rights reserved.

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: