I’m about to install Litespeed. I have a few simple questions. The Litespeed installation instructions say that it’s going to ask me the following questions…
[LIST=1]
User and group that the server process will run on behalf of.
TCP port for normal web service.
TCP port for WebAdmin interface.
Whether to set up LiteSpeed PHP.
[/LIST]
What should I choose for these? Obviously the web service should be on port 80. Do I need to stop Apache first? Ever? Will it stop Apache automatically? I assume that after installation I then activate the Litespeed plugin. As I understand it, the plugin interface is limited. Is the WebAdmin interface going to give me the GUI I need to administer Litespeed? Is there anything else I should know about the installation procedure? I don’t want to wind up with Apache still running or conflicting in any other way.
Thank you.
edit: another botched thread title here lol. Regarding > /dev/null
I’m sorry, I do not use litespeed but hopefully others who do may post
I myself would think you need to check the user/group that runs Apache and use them (apache and iworx I think)
Webadmin, change your port that you want to use, or use default litespeed webadmin port
Light speed php, I think you may not want to use unless you change the user permissions to use siteworx users, however I could be wrong so apologies in advance
Have you checked litespeed forum, licensecart opened a vote on full IW plugin
Also, I would stop Apache first, and standard port is 80 and 443. I do not think you would have conflict over Apache running, as it should not be running but I do seem to recall the major issue with litespeed is you need to compile php to use it, but litespeed forum would confirm
I hope that helps a little but sorry if I’m wrong, and if you don’t mind updating your post with your experience, that would be great
Hi Synthetisoft
Please see Mike knowledge base for Litespeed, which gives good clearer instructions.
You may also want to compate prices for Litespeed with licensecart, which I think may save you money
Great article Mike, Kudos to you and hope your well
Many thanks
John https://licensecart.com/plugin/support_manager/knowledgebase/view/182/how-can-i-install-litespeed/9/
How can I install LiteSpeed?
Set your control panel if you have one. (InterWorx = 5)
“0” to replace Apache
“1” to use SuEXEC (Recommended) or “2” if you have DirectAdmin
“Y” to start it automatically when the server starts
Click Enter
If you have Apache still on, turn it off using:
service httpd stop
chkconfig httpd off
“Y” to start LiteSpeed now
LiteSpeed Web Server started successfully! Have fun!
Now go to http://your-ip:7080/
First thing you need to do is Compile PHP with LSAPI.
If you get a error on the first step, you need to install patch: yum install patch
Thanks for the tips. I went ahead before you posted them but I’m not in a bad position. There’s only one thing I did that slightly deviated from what you posted. When LSWS installation instructed me to stop apache and stop it from starting at boot, I stopped it in interworx and disabled the autostart option for apache in Interworx. I now have LSWS setup and working great. But… Since I didn’t stop and disable Apache using those 2 commands, is it going to try to start at boot? Can I still run those commands or does LSWS now assume the name of httpd symlinked or otherwise? Also, now that I’m using the LSWS plugin, my web server panel in Interworx looks like this…
My other question is: Are these two autostart options now responsible for LSWS or do they still apply to apache? I of course want LSWS to start on boot and it would be nice if it were monitored as apache was.
Glad it went well, heard a lot of good things over litespeed
Disabling from IW-cp achieves the same result as manual inputs from ssh
You can test by stopping the httpd service, which should show its stopped or check service status service httpd status
If I’m wrong, you can immediately restart service
My understanding is litespeed runs under its own service, but uses Apache config file
Your screenshot looks good, showing litespeed running and conf editable under litespeed
You may want to open your idea of litespeed monitor on IW ideas page interworx.com/ideas, where it is voted on by all
Hope that helps a little
Many thanks
John[/QUOTE]
So, the autostart options that are there apply to litespeed now? Also, I didn’t compile PHP using the same version as interworx. I believe iworx had 5.4 installed. I hope this doesn’t cause any problems. The only issue I’m seeing so far is I’m missing some extensions which I’m now attempting to correct.
If you know the auto start is for litespeed then you don’t have to test it.
I cannot test as I do not use litespeed
Please remember IW is seperate to your hosting php, so IW will use IW php and Apache or litespeed as you now use, will use the php version you installed
The answer SEEMS to be that even after you enable the LSWS plugin, those two autostart options are still for apache. You can however manually replace httpd with a script for LSWS. I haven’t gotten that far yet but it’s possible. For now I just have the LSWS service installed and apache disabled via: systemctl disable apache. LSWS comes with an install script for its service… /usr/local/lsws/admin/misc/rc-inst.sh