Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cloudlinux:enable_passenger [2017/07/27 13:17] Jackson Zhang [Support Ruby/Python selector] |
litespeed_wiki:cloudlinux:enable_passenger [2018/09/17 19:46] George Wang [Trouble shooting] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== How to enable CloudLinux Ruby/Python selector for LSWS ===== | + | ===== How to Enable CloudLinux Python and Ruby Selector (alt-mod_passenger) for LSWS ===== |
+ | To enable Python or Ruby on a shared hosting environment instead of a dedicated VPS environment, CloudLinux Python and Ruby Selector is recommended. If it is not for a shared hosting environment, you can refer to [[litespeed_wiki:other-ext-apps#archive|our archive section]] for LSWS native setup. | ||
+ | |||
+ | The Python and Ruby Selector allows end users to select the specific version of Python or Ruby they need. | ||
===== Requirements ===== | ===== Requirements ===== | ||
* LiteSpeed Web Server 5.2+ | * LiteSpeed Web Server 5.2+ | ||
* CloudLinux | * CloudLinux | ||
- | ===== Steps to enable ruby/python selector ===== | + | ===== Steps to Enable Python and Ruby Selector ===== |
- | - Make sure ruby/python selector works properly under Apache (follow CloudLinux instruction to install required packages) | + | - Make sure Python and Ruby Selector works properly under Apache (follow [[https://docs.cloudlinux.com/index.html?python_and_ruby_selector.html|CloudLinux instructions]] to install and configure). |
- | - Run script to install required ruby/python lsapi modules <code>/usr/local/lsws/admin/misc/enable_ruby_python_selector.sh</code> | + | - Test a Ruby or Python application with Apache and ensure it is running OK. |
+ | - Run script to install required ruby/python lsapi modules: <code>/usr/local/lsws/admin/misc/enable_ruby_python_selector.sh</code> | ||
- Switch to LiteSpeed and try a ruby/python app | - Switch to LiteSpeed and try a ruby/python app | ||
+ | |||
+ | ===== Trouble shooting ===== | ||
+ | If you application does not work properly, you can try two simple steps to check if application has been setup properly. | ||
+ | - If possible, switch back to Apache temporarily to verify if the application works properly or not. | ||
+ | - check if any error logged into <APP_ROOT_DIR>/stderr.log, fix the error and try again. |