SlideShare une entreprise Scribd logo
1  sur  15
Comprehensive
Information on Tomcat
Table of Contents
2
Tomcat
Important Facts
Tomcat Installation Requirements
Installation of Tomcat
Uninstallation of Tomcat
Configuration
Default Configuration
Configure Crontab Access
Add Tomcat Support for a
User
Custom Configurations
Differences between Tomcat
in EasyApache 3 and
EasyApache 4
 The information provided here applies to Tomcat in the version 76 and the later versions of cPanel &
WHM.
 Apache Tomcat enables you to serve applications that are Java-based.The option to install Tomcat 8.5 is
provided by EasyApache 4, which lets a user install and update PHP,Apache, and other components of a
web server.
 Tomcat is an open-source and free implementation of the Java Expression language, JavaServer pages,
Java Servlet, and WebSocket technologies. Such a HTTP web server environment is provided by Tomcat
in which Java code can run.An open community of developers maintain as well as develop Tomcat.
3
Tomcat
 Only those Tomcat administrators should install Tomcat, who have extensive experience.
 There can be security issues due to Tomcat on systems that are used by multiple users.
 It is recommended that a user understands the risks associated with this feature prior to using it.
4
Important Facts
 In order to install Tomcat, root-level access is needed.Tomcat is not supported by cPanel & WHM on
servers which run CentOS 8 or AlmaLinux 8.
 To digress, cPanel is a web hosting control panel.Web hosting is the service provided by web hosting
companies to render websites accessible.The “Best Linux Shared Hosting Company”, the “Best
Windows Dedicated Hosting Company”, the “Best Cloud Hosting Company”, etc. are the terms that
are used to refer to the most popular web hosting companies, such as HTS Hosting.
5
Tomcat Installation Requirements
6
1-800-123 -8156
Whoa!That’s a big number, aren’t
you proud?
 In the Interface
For installingTomcat, you should use EasyApache 4 interface ofWHM.Tomcat will appear in the Additional
Packages section.
WHM >> Home >> Software > EasyApache 4
 On the Command Line
For installingTomcat, you need to run the following command on the command line. It needs to be done as
the root user.
yum install
7
Installation ofTomcat
 In the Interface
The EasyApache 4 interface in WHM is used to uninstall Tomcat. Tomcat will appear in the Additional
Packages section.
WHM >> Home >> Software > EasyApache 4
 On the Command Line
Run the following command on the command line to uninstall Tomcat. This needs to be done as the root
user.
yum remove ea-tomcat85
8
Uninstallation ofTomcat
 It is as a per-user private instance that Tomcat runs in EasyApache 4.This aids in enhancing security and
enables a user to manage his/her Tomcat services.The flip side is that it increases memory load on the
server.
 It is recommended that the server’s configuration be considered carefully prior to enabling Tomcat for
many users.
 The configuration files ofTomcat 8.5 are placed in the following location:
 /home/user/ea-tomcat85/conf
 In it, the term “user” represents the user’s name for whom Tomcat has been installed.
9
Configuration
 The below-mentioned configuration changes are made by EasyApache 4 to the default Tomcat 8.5
behaviour in the file, ~/ea-tomcat85/conf/server.xml
 Disabling of the shutdown port by default.
 Setting the xpoweredBy attribute of all Connectors to a false value.
 Removal of the redirectPort attribute.
 Adding the ErrorReportValue class to all Hosts that have the showServerInfo value set to a false value.
 Setting the below-mentioned Host attributes to a false value.
 autoDeploy
 deployOnStartup
 deployXML
 There might be the need to make additional security changes. This will depend on the Tomcat
requirements of your system. 10
Default Configuration
 Tomcat users need to be granted crontab access in order to be able to use Tomcat.
 If the /etc/cron.allow file exists, then the user needs to be present in that file.
 If the /etc/cron.deny file exists, then it needs to be ensured that the user is not present in the file.
 The following steps need to be carried out to determine if a user has crontab access:
 Navigate to the List Accounts interface in WHM.
 WHM >> Home >> Account Information >> List Accounts
 Log in to the account as the user by clicking the cPanel logo.
 Navigate to the Terminal interface in cPanel
 cPanel >> Home >> Advanced Terminal
 Run the crontab -l command.
 If an error is received, then crontab access must be granted to Tomcat users. You will need to remove and add again the
user to Tomcat after granting crontab access to the user.
11
Configure Crontab Access
 In the Interface-You need to use the Tomcat Manager interface in WHM in order to add Tomcat 8.5
support to a user.
 WHM >> Home >> Software >>Tomcat Manager
 On the Command Line –You need to run the below-mentioned command in order to add Tomcat 8.5
support to a user.This needs to be done as the root user.
 /usr/local/cpanel/scripts/ea-tomcat85 [argument] [option]
12
AddTomcat Support for a User
 An environment that can be configured by the user for his/her unique requirements can be created in
either of the following ways:
 By adding a user via the Tomcat Manager interface in WHM.
 WHM >> Home >> Software >>Tomcat Manager
 By adding a user via the script, /usr/local/cpanel/scripts/ea-tomcat85
 When Tomcat access is assigned to a cPanel user, two ports are assigned by the script to the user.
These port assignments could be found in the file, /etc/cpanel/cpuser_port_authority.json and in the
user’s file, ~/ea-tomcat85/conf/server.xml
 Any custom behaviour must be configured manually. If you want to change how Tomcat interacts with
Apache, you need to create or edit the appropriate file in the directory, /etc/apache2/conf.d/userdata/
13
Custom Configurations
 Tomcat is handled differently by both, EasyApache 3 and EasyApache 4. Instead ofTomcat 7,
EasyApache 4 provides Tomcat 8.5.
 EasyApache 3 – In it,Tomcat existed in the form of a shared service.All applications ran as the
tomcat user.A container is created by the server within a shared server.xml file.
 EasyApache 4 – In it,Tomcat runs as a per-user private instance. It allows the user to configure
his/her instance.Tomcat runs as an individual user, and not as the tomcat user.This enhances security as
well as places the Tomcat instance’s management in the control of the user. It might affect the
performance of your server owing to memory requirements.The mod_proxy_ajp Apache module is
provided rather than the mod_jk connector.
14
Differences between Tomcat in EasyApache 3 and EasyApache 4
15
Thanks!
ANY QUESTIONS?
www.htshosting.org

Contenu connexe

Tendances

Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case Kanwar Batra
 
Stop start bi 11g
Stop start bi 11gStop start bi 11g
Stop start bi 11gAnz Shabi
 
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan VirtualminTutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan VirtualminBeni Krisbiantoro
 
APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...webhostingguy
 
Drupal, Memcache and Solr on Windows
Drupal, Memcache and Solr on WindowsDrupal, Memcache and Solr on Windows
Drupal, Memcache and Solr on WindowsAlessandro Pilotti
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuWirabumi Software
 
Parallels Plesk Panel 9 Quick Start Guide
Parallels Plesk Panel 9 Quick Start GuideParallels Plesk Panel 9 Quick Start Guide
Parallels Plesk Panel 9 Quick Start Guidewebhostingguy
 
I notes and sametime integration open mic_2013
I notes and sametime integration open mic_2013I notes and sametime integration open mic_2013
I notes and sametime integration open mic_2013Ranjit Rai
 
Apache Presentation
Apache PresentationApache Presentation
Apache PresentationAnkush Jain
 
TESTED
TESTEDTESTED
TESTEDsiryi
 
Sap bpc Planning and consolidation
Sap bpc Planning and consolidationSap bpc Planning and consolidation
Sap bpc Planning and consolidationSreekanth Gogula
 

Tendances (18)

Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case
 
Stop start bi 11g
Stop start bi 11gStop start bi 11g
Stop start bi 11g
 
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan VirtualminTutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
Tutorial Installasi Ubuntu 11.04 untuk Webhost dengan Webmin dan Virtualmin
 
Tomcat tutorail
Tomcat tutorailTomcat tutorail
Tomcat tutorail
 
APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...
 
Drupal, Memcache and Solr on Windows
Drupal, Memcache and Solr on WindowsDrupal, Memcache and Solr on Windows
Drupal, Memcache and Solr on Windows
 
TekSMTP Manual
TekSMTP ManualTekSMTP Manual
TekSMTP Manual
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V Plugin
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
Parallels Plesk Panel 9 Quick Start Guide
Parallels Plesk Panel 9 Quick Start GuideParallels Plesk Panel 9 Quick Start Guide
Parallels Plesk Panel 9 Quick Start Guide
 
pleskwindows92
pleskwindows92pleskwindows92
pleskwindows92
 
I notes and sametime integration open mic_2013
I notes and sametime integration open mic_2013I notes and sametime integration open mic_2013
I notes and sametime integration open mic_2013
 
Oracle vm-installation
Oracle vm-installationOracle vm-installation
Oracle vm-installation
 
Apache Presentation
Apache PresentationApache Presentation
Apache Presentation
 
Plesk Training Level 1
Plesk Training Level 1Plesk Training Level 1
Plesk Training Level 1
 
Installing and Setup Web Server
Installing and Setup Web ServerInstalling and Setup Web Server
Installing and Setup Web Server
 
TESTED
TESTEDTESTED
TESTED
 
Sap bpc Planning and consolidation
Sap bpc Planning and consolidationSap bpc Planning and consolidation
Sap bpc Planning and consolidation
 

Similaire à Comprehensive Information on Tomcat

Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Servermohamedmoharam
 
Tomcat Configuration (1)
Tomcat Configuration (1)Tomcat Configuration (1)
Tomcat Configuration (1)nazeer pasha
 
Important Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel UsersImportant Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel UsersHTS Hosting
 
Lotus 190-980 Domino 8.5 System Administration Fundamentals
Lotus 190-980 Domino 8.5 System Administration FundamentalsLotus 190-980 Domino 8.5 System Administration Fundamentals
Lotus 190-980 Domino 8.5 System Administration FundamentalsMarek Zawadzki
 
Integrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On WindowsIntegrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On WindowsMohanraj Nagasamy
 
EMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x TroubleshootingEMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x TroubleshootingHaytham Ghandour
 
New Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP ConnectorsNew Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP Connectorsrtretola
 
Integrating tomcat with apache
Integrating tomcat with apacheIntegrating tomcat with apache
Integrating tomcat with apachegovindraj8787
 
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_SlaveDay5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_SlaveSravanthi N
 
Z01 etano installation_guide
Z01 etano installation_guideZ01 etano installation_guide
Z01 etano installation_guideDaouni Monsite
 

Similaire à Comprehensive Information on Tomcat (20)

Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Server
 
Tomcat Configuration (1)
Tomcat Configuration (1)Tomcat Configuration (1)
Tomcat Configuration (1)
 
Mc sl54 051_ (1)
Mc sl54 051_ (1)Mc sl54 051_ (1)
Mc sl54 051_ (1)
 
Configure use-tomcat
Configure use-tomcatConfigure use-tomcat
Configure use-tomcat
 
Tomcat 6: Evolving our server
Tomcat 6: Evolving our serverTomcat 6: Evolving our server
Tomcat 6: Evolving our server
 
Tomcat
TomcatTomcat
Tomcat
 
Auxiliary : Tomcat
Auxiliary : TomcatAuxiliary : Tomcat
Auxiliary : Tomcat
 
Important Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel UsersImportant Terms that are Encountered Frequently by cPanel Users
Important Terms that are Encountered Frequently by cPanel Users
 
bjhbj
bjhbjbjhbj
bjhbj
 
Team lab install_en
Team lab install_enTeam lab install_en
Team lab install_en
 
Tomcat Server
Tomcat ServerTomcat Server
Tomcat Server
 
Manual 5
Manual 5Manual 5
Manual 5
 
Lotus 190-980 Domino 8.5 System Administration Fundamentals
Lotus 190-980 Domino 8.5 System Administration FundamentalsLotus 190-980 Domino 8.5 System Administration Fundamentals
Lotus 190-980 Domino 8.5 System Administration Fundamentals
 
Integrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On WindowsIntegrating Tomcat And Apache On Windows
Integrating Tomcat And Apache On Windows
 
EMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x TroubleshootingEMC Documentum - xCP 2.x Troubleshooting
EMC Documentum - xCP 2.x Troubleshooting
 
New Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP ConnectorsNew Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP Connectors
 
Integrating tomcat with apache
Integrating tomcat with apacheIntegrating tomcat with apache
Integrating tomcat with apache
 
Deep inside TOMOYO Linux
Deep inside TOMOYO LinuxDeep inside TOMOYO Linux
Deep inside TOMOYO Linux
 
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_SlaveDay5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
Day5_Apache_JMeter_Test_Execution_RemoteMode_Master_Slave
 
Z01 etano installation_guide
Z01 etano installation_guideZ01 etano installation_guide
Z01 etano installation_guide
 

Plus de HTS Hosting

Web Hosting and WordPress Hosting
Web Hosting and WordPress HostingWeb Hosting and WordPress Hosting
Web Hosting and WordPress HostingHTS Hosting
 
Availing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingAvailing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingHTS Hosting
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated ServersHTS Hosting
 
Linux Dedicated Server Plans
Linux Dedicated Server PlansLinux Dedicated Server Plans
Linux Dedicated Server PlansHTS Hosting
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated ServersHTS Hosting
 
Common Web Hosting Solutions
Common Web Hosting SolutionsCommon Web Hosting Solutions
Common Web Hosting SolutionsHTS Hosting
 
Basic Web Host Manager Setup
Basic Web Host Manager SetupBasic Web Host Manager Setup
Basic Web Host Manager SetupHTS Hosting
 
Essential Features in Web Hosting Plans
Essential Features in Web Hosting PlansEssential Features in Web Hosting Plans
Essential Features in Web Hosting PlansHTS Hosting
 
Difference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS HostingDifference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS HostingHTS Hosting
 
Web Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and MoreWeb Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and MoreHTS Hosting
 
Know about Hosting a Business Website
Know about Hosting a Business WebsiteKnow about Hosting a Business Website
Know about Hosting a Business WebsiteHTS Hosting
 
Web Hosting Terms
Web Hosting TermsWeb Hosting Terms
Web Hosting TermsHTS Hosting
 
Reseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web ServersReseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web ServersHTS Hosting
 
Reseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS HostingReseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS HostingHTS Hosting
 
Backup Tarball Contents
Backup Tarball ContentsBackup Tarball Contents
Backup Tarball ContentsHTS Hosting
 
VPS and Dedicated Servers
VPS and Dedicated ServersVPS and Dedicated Servers
VPS and Dedicated ServersHTS Hosting
 
Best WordPress Hosting Plans
Best WordPress Hosting Plans Best WordPress Hosting Plans
Best WordPress Hosting Plans HTS Hosting
 
Best Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting PlansBest Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting PlansHTS Hosting
 
Different Types of Web Hosting Services
Different Types of Web Hosting ServicesDifferent Types of Web Hosting Services
Different Types of Web Hosting ServicesHTS Hosting
 

Plus de HTS Hosting (20)

Web Hosting and WordPress Hosting
Web Hosting and WordPress HostingWeb Hosting and WordPress Hosting
Web Hosting and WordPress Hosting
 
Availing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS HostingAvailing Windows Dedicated Servers of HTS Hosting
Availing Windows Dedicated Servers of HTS Hosting
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated Servers
 
Linux Dedicated Server Plans
Linux Dedicated Server PlansLinux Dedicated Server Plans
Linux Dedicated Server Plans
 
HTS Dedicated Servers
HTS Dedicated ServersHTS Dedicated Servers
HTS Dedicated Servers
 
Common Web Hosting Solutions
Common Web Hosting SolutionsCommon Web Hosting Solutions
Common Web Hosting Solutions
 
Basic Web Host Manager Setup
Basic Web Host Manager SetupBasic Web Host Manager Setup
Basic Web Host Manager Setup
 
Essential Features in Web Hosting Plans
Essential Features in Web Hosting PlansEssential Features in Web Hosting Plans
Essential Features in Web Hosting Plans
 
VPS Hosting
VPS HostingVPS Hosting
VPS Hosting
 
Difference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS HostingDifference Between Managed VPS Hosting Self-Managed VPS Hosting
Difference Between Managed VPS Hosting Self-Managed VPS Hosting
 
Web Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and MoreWeb Hosting, Web Servers, Web Hosts and More
Web Hosting, Web Servers, Web Hosts and More
 
Know about Hosting a Business Website
Know about Hosting a Business WebsiteKnow about Hosting a Business Website
Know about Hosting a Business Website
 
Web Hosting Terms
Web Hosting TermsWeb Hosting Terms
Web Hosting Terms
 
Reseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web ServersReseller Hosting and Dedicated Web Servers
Reseller Hosting and Dedicated Web Servers
 
Reseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS HostingReseller Hosting and Managed VPS Hosting
Reseller Hosting and Managed VPS Hosting
 
Backup Tarball Contents
Backup Tarball ContentsBackup Tarball Contents
Backup Tarball Contents
 
VPS and Dedicated Servers
VPS and Dedicated ServersVPS and Dedicated Servers
VPS and Dedicated Servers
 
Best WordPress Hosting Plans
Best WordPress Hosting Plans Best WordPress Hosting Plans
Best WordPress Hosting Plans
 
Best Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting PlansBest Linux Dedicated Hosting Plans
Best Linux Dedicated Hosting Plans
 
Different Types of Web Hosting Services
Different Types of Web Hosting ServicesDifferent Types of Web Hosting Services
Different Types of Web Hosting Services
 

Dernier

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Dernier (20)

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 

Comprehensive Information on Tomcat

  • 2. Table of Contents 2 Tomcat Important Facts Tomcat Installation Requirements Installation of Tomcat Uninstallation of Tomcat Configuration Default Configuration Configure Crontab Access Add Tomcat Support for a User Custom Configurations Differences between Tomcat in EasyApache 3 and EasyApache 4
  • 3.  The information provided here applies to Tomcat in the version 76 and the later versions of cPanel & WHM.  Apache Tomcat enables you to serve applications that are Java-based.The option to install Tomcat 8.5 is provided by EasyApache 4, which lets a user install and update PHP,Apache, and other components of a web server.  Tomcat is an open-source and free implementation of the Java Expression language, JavaServer pages, Java Servlet, and WebSocket technologies. Such a HTTP web server environment is provided by Tomcat in which Java code can run.An open community of developers maintain as well as develop Tomcat. 3 Tomcat
  • 4.  Only those Tomcat administrators should install Tomcat, who have extensive experience.  There can be security issues due to Tomcat on systems that are used by multiple users.  It is recommended that a user understands the risks associated with this feature prior to using it. 4 Important Facts
  • 5.  In order to install Tomcat, root-level access is needed.Tomcat is not supported by cPanel & WHM on servers which run CentOS 8 or AlmaLinux 8.  To digress, cPanel is a web hosting control panel.Web hosting is the service provided by web hosting companies to render websites accessible.The “Best Linux Shared Hosting Company”, the “Best Windows Dedicated Hosting Company”, the “Best Cloud Hosting Company”, etc. are the terms that are used to refer to the most popular web hosting companies, such as HTS Hosting. 5 Tomcat Installation Requirements
  • 6. 6 1-800-123 -8156 Whoa!That’s a big number, aren’t you proud?
  • 7.  In the Interface For installingTomcat, you should use EasyApache 4 interface ofWHM.Tomcat will appear in the Additional Packages section. WHM >> Home >> Software > EasyApache 4  On the Command Line For installingTomcat, you need to run the following command on the command line. It needs to be done as the root user. yum install 7 Installation ofTomcat
  • 8.  In the Interface The EasyApache 4 interface in WHM is used to uninstall Tomcat. Tomcat will appear in the Additional Packages section. WHM >> Home >> Software > EasyApache 4  On the Command Line Run the following command on the command line to uninstall Tomcat. This needs to be done as the root user. yum remove ea-tomcat85 8 Uninstallation ofTomcat
  • 9.  It is as a per-user private instance that Tomcat runs in EasyApache 4.This aids in enhancing security and enables a user to manage his/her Tomcat services.The flip side is that it increases memory load on the server.  It is recommended that the server’s configuration be considered carefully prior to enabling Tomcat for many users.  The configuration files ofTomcat 8.5 are placed in the following location:  /home/user/ea-tomcat85/conf  In it, the term “user” represents the user’s name for whom Tomcat has been installed. 9 Configuration
  • 10.  The below-mentioned configuration changes are made by EasyApache 4 to the default Tomcat 8.5 behaviour in the file, ~/ea-tomcat85/conf/server.xml  Disabling of the shutdown port by default.  Setting the xpoweredBy attribute of all Connectors to a false value.  Removal of the redirectPort attribute.  Adding the ErrorReportValue class to all Hosts that have the showServerInfo value set to a false value.  Setting the below-mentioned Host attributes to a false value.  autoDeploy  deployOnStartup  deployXML  There might be the need to make additional security changes. This will depend on the Tomcat requirements of your system. 10 Default Configuration
  • 11.  Tomcat users need to be granted crontab access in order to be able to use Tomcat.  If the /etc/cron.allow file exists, then the user needs to be present in that file.  If the /etc/cron.deny file exists, then it needs to be ensured that the user is not present in the file.  The following steps need to be carried out to determine if a user has crontab access:  Navigate to the List Accounts interface in WHM.  WHM >> Home >> Account Information >> List Accounts  Log in to the account as the user by clicking the cPanel logo.  Navigate to the Terminal interface in cPanel  cPanel >> Home >> Advanced Terminal  Run the crontab -l command.  If an error is received, then crontab access must be granted to Tomcat users. You will need to remove and add again the user to Tomcat after granting crontab access to the user. 11 Configure Crontab Access
  • 12.  In the Interface-You need to use the Tomcat Manager interface in WHM in order to add Tomcat 8.5 support to a user.  WHM >> Home >> Software >>Tomcat Manager  On the Command Line –You need to run the below-mentioned command in order to add Tomcat 8.5 support to a user.This needs to be done as the root user.  /usr/local/cpanel/scripts/ea-tomcat85 [argument] [option] 12 AddTomcat Support for a User
  • 13.  An environment that can be configured by the user for his/her unique requirements can be created in either of the following ways:  By adding a user via the Tomcat Manager interface in WHM.  WHM >> Home >> Software >>Tomcat Manager  By adding a user via the script, /usr/local/cpanel/scripts/ea-tomcat85  When Tomcat access is assigned to a cPanel user, two ports are assigned by the script to the user. These port assignments could be found in the file, /etc/cpanel/cpuser_port_authority.json and in the user’s file, ~/ea-tomcat85/conf/server.xml  Any custom behaviour must be configured manually. If you want to change how Tomcat interacts with Apache, you need to create or edit the appropriate file in the directory, /etc/apache2/conf.d/userdata/ 13 Custom Configurations
  • 14.  Tomcat is handled differently by both, EasyApache 3 and EasyApache 4. Instead ofTomcat 7, EasyApache 4 provides Tomcat 8.5.  EasyApache 3 – In it,Tomcat existed in the form of a shared service.All applications ran as the tomcat user.A container is created by the server within a shared server.xml file.  EasyApache 4 – In it,Tomcat runs as a per-user private instance. It allows the user to configure his/her instance.Tomcat runs as an individual user, and not as the tomcat user.This enhances security as well as places the Tomcat instance’s management in the control of the user. It might affect the performance of your server owing to memory requirements.The mod_proxy_ajp Apache module is provided rather than the mod_jk connector. 14 Differences between Tomcat in EasyApache 3 and EasyApache 4