Python Web Applications in cPanel on CloudLinux


Hello, My name is John from Liquid Web. Today, I am going to show you how to run Python Web application with cPanel on CloudLinux using the Python Selector To get started, there are some prerequisites You need a cPanel/WHM server running on CloudLinux and access to a terminal to install the packages. I highly recommend taking a full backup prior to any major software installation Let’s get started SSH into the server as the root user and run the following command yum install lvemanager alt-python-virtualenv ea-apache24-mod-alt-passenger Now run the following command to install all available Python versions yum groupinstall alt-python Now that packages and dependencies have been installed, I will now show you how to use the Python Selector First, login to WHM and click on the CloudLinux LVE Manager. The Setup Python App button is hidden by default from the user interface. We will begin by making that visible. Click on Options then click on User interface settings to expand it Uncheck the box Hide python app in web interface and click save Now login to cPanel Scroll down to the Software section and click Setup Python App Select the desired Python Version Then enter the name for the App directory And select the App Domain and click Setup Thanks for watching our video on the Python Selector in cPanel To get more information, check out our other Knowledgebase articles at liquidweb.com/kb

Danny Hutson

Leave a Reply

Your email address will not be published. Required fields are marked *