Available values are 1 (enable) and 0 (disable). This setting will only take effect if the port offset is set to 0. (Optional) auto_switch_to_lsws: Automatically switch to LiteSpeed Web Server at the end of the installation.For EasyApache 3, easyapache_integration automatically rebuilds matching a PHP for LiteSpeed when you update EasyApache. Both 0 and 1 are valid values for EasyApache 4 LSWS installations. For EasyApache 4, use the EA4 PHP rpms instead. The default value is (Optional) easyapache_integration: EasyApache Integration, which is applied to EasyApache 3 only and is no longer applicable for EasyApache 4 as there is no need to “build a matching PHP” on EA4. This email address will receive important server notices, such as license expiration and server core dumps. (Optional) admin_pass: Admin password for accessing the LiteSpeed WebAdmin Console.(Optional) admin_user: Admin username for accessing the LiteSpeed WebAdmin Console.When you are ready to replace Apache with LSWS as your main web server, simply stop Apache and start LiteSpeed (or use the Switch to LiteSpeed button in the WHM plugin). If port_offset is set to 0, LiteSpeed will be installed and set to use the same port Apache is currently using, but will not be automatically started after installation unless set to do so in a later parameter. For example, if you set port offset to 1000, Apache will continue running on port 80 and LiteSpeed will run on port 1080. This allows you to run LiteSpeed in parallel with Apache to test it out. (Optional) port_offset: Controls the Apache port offset. (Optional) PHP_SUEXEC: Available values are 0 (disable), 1 (enable), and 2 (user home directory only).Inputting TRIAL will cause a trial key to be requested and installed. (Required) SERIAL_NO: This will register the server using the serial number specified and retrieve a license key.lsws_whm_autoinstaller.sh SERIAL_NO Parameters above used are discussed below. Start the installation with the following command.Download the auto-installer script and make it executable wget chmod a+x lsws_whm_autoinstaller.sh.Log in to the root account of the server.LiteSpeed will build its matching PHP (with LSAPI) based on this build of PHP. PHP must have been built with EasyApache.Make sure beforehand that all sites are working fine with Apache.Such proxies include Engintron, cPnginx, Cachewall(xVarnish) etc. Please uninstall any Varnish/nginx proxies that are in use in front of cPanel Apache before installing LSWS.Root account login to cPanel/WHM Server.Let’s start with the installation process. The entire process is automated and needs no extra steps. Today, in this guide we will learn how we can install LiteSpeed Web Server on cPanel/WHM CentOS Server using Apache WebServer. LSWS replaces all Apache functions but uses an event-driven approach to handle requests. LSWS can load Apache configuration files directly and works as a drop-in replacement for Apache while fully integrating with popular control panels. LSWS is compatible with commonly-used Apache features, including mod_rewrite. It can be used to replace an existing Apache server without changing any other programs or operating system details, and without breaking anything. LiteSpeed Web Server (LSWS), is proprietary web server software. LiteSpeed Web Server is the leading high-performance, high-scalability web server from Litespeed technologies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |