How to install and configure web2py on CentOS 7

Web2Py is a simple yet powerful Python framework for developing web applications. In this tutorial we will show how to install the Web2Py framework on a CentOS 7 VPS. First things first. Once you have the VPS make sure that you update it so that you can have the latest software. # yum update Create your application directory. In this example, we will be working in the /opt directory but you can use a directory of your choice. # mkdir /opt/web2pyapp # git clone –recursive https://github.com/web2py/web2py.git /opt/web2pyapp We will need an SSL key and a certificate so that we can later access the administrative interface. For safety reasons, it is best if we put them in a different directory.