Difference between revisions of "How to install Apache Tomcat through the command line in cPanel needed"

From Acenet Knowledgebase
Jump to: navigation, search
(test)
 
Line 1: Line 1:
<html> <em><strong>**Please note</strong> - this article is for client's with virtual and dedicated servers. Apache Tomcat is not supported on our shared servers. You would need to upgrade to a virtual or dedicated server in order to install/use Apache Tomcat.</em>
+
{{note|This article is for client's with virtual and dedicated servers. Apache Tomcat is not supported on our shared servers. You would need to upgrade to a virtual or dedicated server in order to install/use Apache Tomcat.}}
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.<br />
+
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.  
<em>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</em>:  
+
 
<a href="https://esupport.acenet-inc.net/index.php?/Knowledgebase/Article/View/233/0/how-to-installuse-screen">How to Install/Use screen</a><br />
+
[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:
+
 
<div class="code_style">/scripts/easyapache</div>
+
{{How to Install/Use screen}}
<br /><em>Note - If you have a virtual server with Acenet, you may need to run this command</em>:<br /><br />
+
 
<div class="code_style">/scripts/easyapache --skip-xen-broken-xm-check</div>
+
[2] Run the following command
<br />3) Ensure 'Previously Saved Config (** DEFAULT **)' is selected.<br /><br />4) Hit the Tab key until '[Start customizing based on profile]' is highlighted and then hit Enter.<br /><br />5) Hit the Tab key until '[Next Step]' is highlighted and then hit Enter.<br /><br />6) Hit the Tab key until '[Next Step]' is highlighted and then hit Enter.<br /><br />7) Hit the down arrow key until 'Tomcat' is highlighted and then hit the space bar to select it.<br /><br />8) Ensure '[Ok]' is highlighted and then hit Enter. <br /><br />9) Hit the Tab key until '[Save and Build]' is highlighted and then hit Enter.<br /><br />10) Ensure '[Yes]' is highlighted and then hit Enter.<br /><br />11) Ensure '[I Understand]' is highlighted and then hit Enter.<br /><br />12) Wait for the recompile to complete (usually takes about an hour).</html> [[Category:cPanel]]
+
 
 +
<syntaxhighlight lang="bash">/scripts/easyapache</syntaxhighlight>
 +
 
 +
If you have a virtual server with Acenet, you may need to run this command:
 +
 
 +
<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).
 +
 
 +
[[Category:cPanel]]

Revision as of 22:04, 5 October 2012

This article is for client's with virtual and dedicated servers. Apache Tomcat is not supported on our shared servers. You would need to upgrade to a virtual or dedicated server in order to install/use Apache Tomcat.

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:

Template:How to Install/Use screen

[2] Run the following command

/scripts/easyapache

If you have a virtual server with Acenet, you may need to run this command:

/scripts/easyapache --skip-xen-broken-xm-check

[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).