How to install and Configure Apache Tomcat in Linux (RHEL/CentOS)
TOMCAT APACHE:
Apache Tomcat is a web server for Java server-side applications. It is a Servlet/JSP container and implements several Java EE specifications.
Steps to follow for the installation and configuration of TOMCAT APACHE in RHEL/CentOS:
1. Login as root in server and configure yum local repo if not already configured. (watch below video for yum local repo configuration):
https://www.youtube.com/watch?v=-N09WSCNcso&t=3s
2. Install tomcat package from repository by yum command.
# yum install tomcat
3. Edit tomcat.conf file and append below line there by using vi editor.
# vim /usr/share/tomcat/conf/tomcat.conf
JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xmx1026m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC"
4. Install all other tomcat packages like tomcat webapps, tomcat docs etc.
# yum install tomcat*
5. Edit tomcat-user.xml file and write below (use less than symbol before starting this line and greater than symbol after) line there in tomcat-users section by vi editor, save it.
# vim /usr/share/tomcat/conf/tomcat-users.xml
user username="admin" password="password" roles="manager-gui,admin-gui"/
6. Start tomcat service now.
# systemctl start tomcat
7. Set tomcat service to start automatically after reboot.
# systemctl enable tomcat
8. Add port 8080 (to be used by tomcat) in firewall.
# firewall-cmd --permanent --zone=public --add-port=8080/tcp
9. Reload the firewall.
# firewall-cmd --reload
Now Test your configuration:
Open Firefox and write below line in address bar.
localhost:8080
or
Open any browser and write below line in address bar.
ip-address:8080
(where ip-address is the IP address of your tomcat server)
You should see a webpage showing successful configuration of Tomcat Apache.
You have successfully installed and configured Tomcat Apache in Linux.
=====================================================
Thanks for watching the video. Please like our videos, share with your friends and feel free to ask anything, post your queries in comments section. We will feel glad to answer your question. And don't forget to subscribe the channel.
==================================================
Complete File Permissions in Linux (RHEL) including advance file permissions and ACL:
https://www.youtube.com/watch?v=l95bnBuA1y4
LVM Snapshot in RHEL:
https://www.youtube.com/watch?v=CJJwbnFuM5A
Reset Root Password in RHEL 8:
https://www.youtube.com/watch?v=H-JFJ0_DSTw
Logical Volume Management in RHEL 8:
https://www.youtube.com/watch?v=zVI8WGEI0dE
Configure VNC in RHEL:
https://www.youtube.com/watch?v=vEPamNvFFpc
Create Swap File in RHEL 8:
https://www.youtube.com/watch?v=Uz5sv6Qwa7I
====================================================
Contact Us:
To Follow Vikas Nehra's Twitter Handle:👇
http://bit.ly/VikasNehraTwitterHandle
For Registration:👇
http://bit.ly/NehraClassesRegForm
To Follow Our Twitter Handle:👇
http://bit.ly/NehraClassesTwiiterHandle
To Visit Our Facebook Page:👇
www.facebook.com/nehraclasses
To Follow Nehra Classes on Instagram:👇
https://www.instagram.com/nehraclasses/
To Our Visit Our Webpage:👇
http://bit.ly/NehraClassesWebpage
Join Us on Telegram App: 👇
https://t.me/NehraClasses
WhatsApp Us: 👇
https://bit.ly/2Kpqp5z
Email Us:👇
Email: nehraclasses@gmail.com
====================================================
©COPYRIGHT. ALL RIGHTS RESERVED.
Видео How to install and Configure Apache Tomcat in Linux (RHEL/CentOS) канала Nehra Classes
Apache Tomcat is a web server for Java server-side applications. It is a Servlet/JSP container and implements several Java EE specifications.
Steps to follow for the installation and configuration of TOMCAT APACHE in RHEL/CentOS:
1. Login as root in server and configure yum local repo if not already configured. (watch below video for yum local repo configuration):
https://www.youtube.com/watch?v=-N09WSCNcso&t=3s
2. Install tomcat package from repository by yum command.
# yum install tomcat
3. Edit tomcat.conf file and append below line there by using vi editor.
# vim /usr/share/tomcat/conf/tomcat.conf
JAVA_OPTS="-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xmx1026m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC"
4. Install all other tomcat packages like tomcat webapps, tomcat docs etc.
# yum install tomcat*
5. Edit tomcat-user.xml file and write below (use less than symbol before starting this line and greater than symbol after) line there in tomcat-users section by vi editor, save it.
# vim /usr/share/tomcat/conf/tomcat-users.xml
user username="admin" password="password" roles="manager-gui,admin-gui"/
6. Start tomcat service now.
# systemctl start tomcat
7. Set tomcat service to start automatically after reboot.
# systemctl enable tomcat
8. Add port 8080 (to be used by tomcat) in firewall.
# firewall-cmd --permanent --zone=public --add-port=8080/tcp
9. Reload the firewall.
# firewall-cmd --reload
Now Test your configuration:
Open Firefox and write below line in address bar.
localhost:8080
or
Open any browser and write below line in address bar.
ip-address:8080
(where ip-address is the IP address of your tomcat server)
You should see a webpage showing successful configuration of Tomcat Apache.
You have successfully installed and configured Tomcat Apache in Linux.
=====================================================
Thanks for watching the video. Please like our videos, share with your friends and feel free to ask anything, post your queries in comments section. We will feel glad to answer your question. And don't forget to subscribe the channel.
==================================================
Complete File Permissions in Linux (RHEL) including advance file permissions and ACL:
https://www.youtube.com/watch?v=l95bnBuA1y4
LVM Snapshot in RHEL:
https://www.youtube.com/watch?v=CJJwbnFuM5A
Reset Root Password in RHEL 8:
https://www.youtube.com/watch?v=H-JFJ0_DSTw
Logical Volume Management in RHEL 8:
https://www.youtube.com/watch?v=zVI8WGEI0dE
Configure VNC in RHEL:
https://www.youtube.com/watch?v=vEPamNvFFpc
Create Swap File in RHEL 8:
https://www.youtube.com/watch?v=Uz5sv6Qwa7I
====================================================
Contact Us:
To Follow Vikas Nehra's Twitter Handle:👇
http://bit.ly/VikasNehraTwitterHandle
For Registration:👇
http://bit.ly/NehraClassesRegForm
To Follow Our Twitter Handle:👇
http://bit.ly/NehraClassesTwiiterHandle
To Visit Our Facebook Page:👇
www.facebook.com/nehraclasses
To Follow Nehra Classes on Instagram:👇
https://www.instagram.com/nehraclasses/
To Our Visit Our Webpage:👇
http://bit.ly/NehraClassesWebpage
Join Us on Telegram App: 👇
https://t.me/NehraClasses
WhatsApp Us: 👇
https://bit.ly/2Kpqp5z
Email Us:👇
Email: nehraclasses@gmail.com
====================================================
©COPYRIGHT. ALL RIGHTS RESERVED.
Видео How to install and Configure Apache Tomcat in Linux (RHEL/CentOS) канала Nehra Classes
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
आप सभी को दशहरे की हार्दिक शुभकामनाएं। जय श्रीराम 🙏🙏 #shorts #ytshorts #dussehraAdvantages of Cloud Computing 🌧️🖥️ #cloud #computing @NehraClasses #shortsCloud Computing 🌧️🌧️🖥️🖥️ @NehraClasses #cloudcomputing #shorts #ytshortsWhy do we require #ansible | Role of Ansible @NehraClasses #shorts #ytshorts #shortsvideoAMD Ryzen 9 3900X PC Assembling @NehraClasses #amd #ryzen #shortsHow to Print Any File From #Linux Terminal 🖨️🖨️ @NehraClasses #shorts #ytshorts #shortsvideoWeekly Free Live Doubt Clearing Session | Live Q&A, Mentoring, Technical Support & UpdatesData Center | #DataCenter Components | Devices Used in Data Centres @NehraClasses #shortsVIRTUALIZATION: One Step Solution To All The Problems of Physical Servers @NehraClasses #shortsLayers in the #OSI Model | OSI Model @NehraClasses #shorts #ytshorts #shortsvideoConcept of #RAID | RAID 10 Working @NehraClasses #ytshorts #linux #shortsvideoLogical Volume Manager (LVM) Feature of #Linux @NehraClasses #shorts #ytshorts #shortsvideoCommand Alias in Linux | Run Command Using Different Names/Options in #Linux @NehraClasses #shortsWorking of UDP | TCP Vs UDP | Transport Layer Protocols #tcp #udp @NehraClasses #shorts #ytshortsTransmission Control Protocol (TCP) #AWS @NehraClasses #shorts #ytshorts #shortsvideoWhat is the Redhat Satellite Server? Use of Redhat Satellite @NehraClasses #shorts #ytshortsHA Proxy Server Configuration Using Round Robin Approach | #haproxy #ytshorts #shortsvideo #shortsVarnish Cache Server Working @NehraClasses #shorts #ytshorts #shortsvideoZimbra Collaboration Suite (ZCS) Server @NehraClasses #shorts #ytshorts #shortsvideoUse of Network Time Protocol (NTP) | NTP For Time Synchronization @NehraClasses #shorts #ytshortsWhat is #DNS | How DNS Works? | Domain Name System @NehraClasses #shorts #shortsvideo #ytshorts