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
litespeed_wiki:installation:standalone-apache-migration [2018/09/19 18:20]
Michael Alegre [Step 3: Load Apache Configuration in LSWS]
litespeed_wiki:installation:standalone-apache-migration [2019/05/24 16:46] (current)
Kacey Schroeder [Step 4: Test and switch to LiteSpeed]
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 91: Line 91:
 If your application doesn'​t allow you to run offset port for LSWS, such as WordPress, Magento,​etc,​ you should stop Apache webserver and start LSWS for testing. If your application doesn'​t allow you to run offset port for LSWS, such as WordPress, Magento,​etc,​ you should stop Apache webserver and start LSWS for testing.
  
-If your application allowed, you can set port offset such as ''​2000''​ then start LSWS and try websites hosted on offset port 2080 and secured sites on port 2443. This way you may run both Apache ( port 80 or 443) and LiteSpeed ( port 2080 or 2443) at the same time.  Most of the time your website is running smoothly and very faster already.+If your application allowed, you can set port offset such as ''​2000''​ then start LSWS and try websites hosted on offset port 2080 and secured sites on port 2443. This way you may run both Apache (port 80 or 443) and LiteSpeed (port 2080 or 2443) at the same time.  Most of the time your website is running smoothly and very faster already.
  
 If there is any problem, probably a PHP issue, you need to check LSWS error log, LSWS stderr log or PHP errors log for details. Server error log and stderr log are set to the following location by default unless you customize it.  If there is any problem, probably a PHP issue, you need to check LSWS error log, LSWS stderr log or PHP errors log for details. Server error log and stderr log are set to the following location by default unless you customize it. 
  • Admin
  • Last modified: 2018/09/19 18:20
  • by Michael Alegre