Hey LightDot, Thats correct I have manually installed Apache2. However I also have python2.7.11(I guess that is the latest one) installed in other directory . Both python 2.6.6 and 2.7.11 co-exist separately. I have followed instructions to make sure I dont mess up the original distribution. Now for #3 - What instructions do I have to follow to achieve it. That is just what I can go but dont know my options. I am the root user so I can install other packages. Please suggest
Thanks Rahul On Friday, May 20, 2016 at 3:19:14 PM UTC+5:30, LightDot wrote: > > Go for 3. > > Two caveats: > - apache installed in /usr/local/apache2 is not a part of CentOS > distribution. It must have been installed manually at some point > - if you're using python provided by the OS, you'll be stuck on this last > version of web2py. Web2py > 2.14.6 isn't python 2.6 compatible anymore. > > Regards > > > On Friday, May 20, 2016 at 8:29:50 AM UTC+2, Rahul wrote: >> >> Thanks! Dave. That section deals with centOS7, I will check nginx >> section and try to make it work for me. Starting the web2py manually with >> nohup command over my public IP works but that would have a port where I >> would need to access it. I want a cleaner way to make it work >> automatically. >> 1. Start web2py automatically as a service ? and >> 2. know where to have the file for my project (or sym link) placed so it >> either redirects to it or >> 3. Have apache2 (site-packages\web2py) file where it can pick up web2py >> project and launch it automatically. >> >> Any idea on above points? >> >> Rahul >> >> On Friday, May 20, 2016 at 5:59:30 AM UTC+5:30, Dave S wrote: >>> >>> >>> >>> On Thursday, May 19, 2016 at 6:03:18 AM UTC-7, Rahul wrote: >>>> >>>> Hi All, >>>> I have root access for the VPS server which is on centOS6.7 I >>>> have installed web2py in /home/www/ directory and Apache2 is by default >>>> installed in /usr/local/apache2. Now accessing my website shows me the >>>> Apache welcome screen which says - >>>> You may now add content to the directory /var/www/html/. Note that >>>> until you do so, people visiting your website will see this page and not >>>> your content. To prevent this page from ever being used, follow the >>>> instructions in the file /etc/httpd/conf.d/welcome.conf. >>>> Now my question is how do I proceed with deployment further from here ? >>>> I am a bit stuck . Please suggest >>>> >>>> Rahul >>>> >>> >>> You've looked through this? >>> <URL: >>> http://web2py.com/books/default/chapter/29/13/deployment-recipes#Apache-setup >>> > >>> >>> There is also web2py/scripts/set-web2py-centos7.sh. I took a glance at >>> it, and didn't see what needed to be backrevved for Centos 6. Maybe daemon >>> startup. >>> >>> Finally, if you have a choice, the official web2py position is to >>> recommend nginx over apache. Chapter 13 has an nginx section, and there >>> are scripts for it, in the same place as above. >>> >>> /dps >>> >>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.