{"id":502,"date":"2011-07-28T00:00:08","date_gmt":"2011-07-28T06:00:08","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=502"},"modified":"2018-10-04T05:35:59","modified_gmt":"2018-10-04T11:35:59","slug":"how-to-install-litespeed-on-a-whmcpanel-server","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/how-to-install-litespeed-on-a-whmcpanel-server\/","title":{"rendered":"How to install LiteSpeed on a WHM\/cPanel Server?"},"content":{"rendered":"<p>You can install litespeed on a WHM\/Cpanel server by simply following the bellow steps.<\/p>\n<p>1. Log into server via SSH as &#8216;root&#8217; user.<br \/>\n2. Go to \/usr\/src<br \/>\ncd \/usr\/src<br \/>\n3. Download the installation file using wget.<br \/>\nwget http:\/\/www.litespeedtech.com\/packages\/cpanel\/lsws_whm_plugin_install.sh<br \/>\n4. chmod 700 lsws_whm_plugin_install.sh<br \/>\n5. sh lsws_whm_plugin_install.sh ( .\/lsws_whm_plugin_install.sh)<br \/>\n6. rm -rf lsws_whm_plugin_install.sh<br \/>\n7. Log into WHM. Go to manage pluggins section.<br \/>\n8. Start the installation procedure by clicking on &#8216;Install LiteSpeed&#8217;.<br \/>\n9. This will ask you to enter your license information and admin password. Enter these information and click on &#8216;Build matching PHP Binary&#8217;. (Please do not tick the box to start LiteSpeed immediately).<br \/>\n10. Click on Switch to LiteSpeed<br \/>\n11. Click on Admin Web Console and login<br \/>\n12. Final stages of setup<br \/>\nGo to Configuration &gt; General &gt; Index Files &gt; Edit<br \/>\nYou need to set the following and save.<br \/>\n===============================================<br \/>\nIndex Files: index.html, index.php, index.php5, index.htm<br \/>\nAuto Index: Yes<br \/>\nAuto Index URI =&gt; \/_autoindex\/default.php<br \/>\nIn SSH Type:<br \/>\nln -sf \/usr\/local\/lib\/php\/autoindex \/usr\/local\/lsws\/share\/autoindex<br \/>\n================================================<br \/>\n13. Go to Configuration &gt; Log &gt; Server Log &gt; Edit<br \/>\nSet the following:<br \/>\n===============<br \/>\nLog Level: Info<br \/>\nDebug Level: None<br \/>\n===============<br \/>\n14. Finally click on Actions &gt; Graceful Restart to make these changes permanent.<\/p>\n<p>Now, you have successfully installed Litespeed on WHM\/cpanel server.<\/p>\n<p>If you require help, <a href=\"https:\/\/www.supportpro.com\/requestquote.php\">contact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can install litespeed on a WHM\/Cpanel server by simply following the bellow steps. 1. Log into server via SSH as &#8216;root&#8217; user. 2. Go to \/usr\/src cd \/usr\/src 3.&hellip;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-502","post","type-post","status-publish","format-standard","hentry","category-technical-articles"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":5,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"predecessor-version":[{"id":3309,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/502\/revisions\/3309"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}