How to install Apache Tomcat through the command line in cPanel needed
Apache Tomcat's installation will require an Apache/PHP recompile on your server. Acenet strongly suggests processing an Apache/PHP recompile during your server's non peak hours. The reason being because an Apache/PHP recompile may cause sporadic performance issues on your server while it's processing and it takes about an hour for the recompile to complete.
[1] Log into your server via SSH as root. Before proceeding with the rest of the install instructions, you may want to consider using screen to recompile Apache/PHP just in case you lose SSH connectivity during the recompile. You can view more details on how to install and use screen here:
[2] Run the following command
<syntaxhighlight lang="bash">/scripts/easyapache</syntaxhighlight>
If you have a virtual server with Acenet, you may need to run this command instead:
<syntaxhighlight lang="bash">/scripts/easyapache --skip-xen-broken-xm-check</syntaxhighlight>
[3] Ensure 'Previously Saved Config (** DEFAULT **)' is selected.
[4] Hit the Tab key until '[Start customizing based on profile]' is highlighted and then hit Enter.
[5] Hit the Tab key until '[Next Step]' is highlighted and then hit Enter.
[6] Hit the Tab key until '[Next Step]' is highlighted and then hit Enter.
[7] Hit the down arrow key until 'Tomcat' is highlighted and then hit the space bar to select it.
[8] Ensure '[Ok]' is highlighted and then hit Enter.
[9] Hit the Tab key until '[Save and Build]' is highlighted and then hit Enter.
[10] Ensure '[Yes]' is highlighted and then hit Enter.
[11] Ensure '[I Understand]' is highlighted and then hit Enter.
[12] Wait for the recompile to complete (usually takes about an hour).