Difference between revisions of "How to install Apache Tomcat through the command line in cPanel needed"
Docs admin (Talk | contribs) (test) |
Docs admin (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | {{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.}} | |
− | + | ||
− | 1 | + | 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: | |
− | + | ||
− | < | + | {{How to Install/Use screen}} |
− | + | ||
− | < | + | [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: | ||
+ | |||
+ | <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
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).