Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:installation:standalone-apache-migration [2018/09/17 18:35]
Michael Alegre [Step 2: Install PHP] Removed Manual Compilation steps as it is no longer recommended (archived).
litespeed_wiki:installation:standalone-apache-migration [2019/05/24 16:45]
Kacey Schroeder [1.3 Run the installation script]
Line 10: Line 10:
 Download LSWS tarball from the [[http://​www.litespeedtech.com/​download/​litespeed-web-server-download|LiteSpeed Technologies website]]. Download LSWS tarball from the [[http://​www.litespeedtech.com/​download/​litespeed-web-server-download|LiteSpeed Technologies website]].
  
-Run the following commands from ssh as root+Run the following commands from SSH as root
  
   cd /root   cd /root
-  wget http://​www.litespeedtech.com/​packages/​4.0/lsws-4.2.12-ent-x86_64-linux.tar.gz+  wget http://​www.litespeedtech.com/​packages/​5.0/lsws-5.3.8-ent-x86_64-linux.tar.gz
  
 **Note:** Replace the values in the URL to control for your OS and which version/​[[litespeed_wiki:​licenses:​choosing-a-license|edition]] of LSWS you wish to download: **Note:** Replace the values in the URL to control for your OS and which version/​[[litespeed_wiki:​licenses:​choosing-a-license|edition]] of LSWS you wish to download:
  
-''​lsws-4.2.12-ent-x86_64-linux''​ = LSWS Enterprise ​4.2.12 for 64bit Linux+''​lsws-5.3.8-ent-x86_64-linux''​ = LSWS Enterprise ​5.3.for 64bit Linux
  
-''​lsws-4.2.10-std-i386-linux''​ = LSWS Standard ​4.2.10 for 32bit Linux+''​lsws-5.3.8-std-i386-linux''​ = LSWS Standard ​5.3.for 32bit Linux
  
-''​lsws-4.2.12-ent-x86_64-freebsd6''​ = LSWS Enterprise ​4.2.12 for 64bit FreeBSD 6.x+''​lsws-5.3.8-ent-x86_64-freebsd6''​ = LSWS Enterprise ​5.3.for 64bit FreeBSD 6.x
  
 ==== 1.2 Unpack ==== ==== 1.2 Unpack ====
  
-  tar zxfv  lsws-4.2.12-ent-x86_64-linux.tar.gz+  tar zxfv  lsws-5.3.8-ent-x86_64-linux.tar.gz
  
 ==== 1.3 Run the installation script ==== ==== 1.3 Run the installation script ====
  
-For Enterprise Edition, make sure to put the license file (trial.key or paid license serial.no file in the unpacked folder).+For Enterprise Edition, make sure to put the license file (trial.key or paid license serial.no filein the unpacked folder.
  
-  cd lsws-4.2.12+  cd lsws-5.3.8
   ./​install.sh   ./​install.sh
  
Line 45: Line 45:
 Enable the LiteSpeed repository and download LSPHP from our repository. See [[litespeed_wiki:​php:​rpm#​installing_php_from_the_litespeed_repository|instructions]] here.You may have default php.ini file installed through RPMs and You just need to make some changes to match it to exiting Apache PHP. Check both phpinfo pages for difference. Enable the LiteSpeed repository and download LSPHP from our repository. See [[litespeed_wiki:​php:​rpm#​installing_php_from_the_litespeed_repository|instructions]] here.You may have default php.ini file installed through RPMs and You just need to make some changes to match it to exiting Apache PHP. Check both phpinfo pages for difference.
 ===== Step 3: Load Apache Configuration in LSWS ===== ===== Step 3: Load Apache Configuration in LSWS =====
-Open LiteSpeed ​Web admin console, under "​server"​→"​General" tab, change configurations in "Using Apache Configuration File" ​table.+Open the LiteSpeed ​WebAdmin Console and, under **Configuration > Server > General**, change configurations in **Using Apache Configuration File** table.
 <​code>​ <​code>​
 Load Apache Configuration => Yes Load Apache Configuration => Yes
Line 57: Line 57:
  
 **Note:​** ​ **Note:​** ​
-  * "PHP suEXEC Max Conn" ​can be adjusted based how many and how big the sites has been hosted. For a server dedicated for a large Wordpress or vBulletin site, you can safely increase it to "10""15" ​or "20", try different value and see what is the best for you.+  * **PHP suEXEC Max Conn** can be adjusted based how many and how big the sites has been hosted. For a server dedicated for a large Wordpress or vBulletin site, you can safely increase it to ''​10''​''​15'', ​or ''​20''​, try different value and see what is the best for you.
   * Different system/​platform,​ default Apache Configuration File is different. For example, for CentOS, it is located at /​etc/​httpd/​conf/​httpd.conf;​ for WHM/cPanel, it is /​usr/​local/​apache/​conf/​httpd.conf;​ for Debian Apache2, it is /​etc/​apache2/​apache2.conf. ​   * Different system/​platform,​ default Apache Configuration File is different. For example, for CentOS, it is located at /​etc/​httpd/​conf/​httpd.conf;​ for WHM/cPanel, it is /​usr/​local/​apache/​conf/​httpd.conf;​ for Debian Apache2, it is /​etc/​apache2/​apache2.conf. ​
   * We set ''​Apache Port Offset => 2000''​ in this example but most of the time, you cannot test other ports since application backend URL with port has been set to 80 or 443, such as WordPress. In this case, you should set ''​Apache Port Offset => 0''​ and make sure to stop apache before starting LSWS for testing. You can not run both Apache and LiteSpeed at the same time when ''​Apache Port Offset => 0''​ .   * We set ''​Apache Port Offset => 2000''​ in this example but most of the time, you cannot test other ports since application backend URL with port has been set to 80 or 443, such as WordPress. In this case, you should set ''​Apache Port Offset => 0''​ and make sure to stop apache before starting LSWS for testing. You can not run both Apache and LiteSpeed at the same time when ''​Apache Port Offset => 0''​ .
  • Admin
  • Last modified: 2019/05/24 16:46
  • by Kacey Schroeder