Alright Awesome, We are running Ubuntu version 14.04. We installed apache and modwsgi using the instructions for installation into python here:
*https://pypi.python.org/pypi/mod_wsgi <https://pypi.python.org/pypi/mod_wsgi>* More specifically with the commands: python setup.py install pip install mod_wsgi As for your question about my wording "uses mod_wsgi to run an apache server" That is most likely a wording mistake demonstrating my inexperience. On Monday, April 6, 2015 at 11:16:14 AM UTC-7, Jason Garber wrote: > > Linux is a word that is used to describe hundreds of different operating > systems running on the linux kernel. Specifically I am looking for > something like Debian, Ubuntu, Redhat, Centos, Fedora, etc.. > > And what version. > > And how you installed apache and mod_wsgi. > > From everything I am seeing in your message, you are doing work that > should already be done for you by a decent operating system. > > Centos, for example, is free, and has fully updated mod_wsgi + apache + > mysql + postgresql + nginx packages available for free, including full > integration with the operating system's start/stop/restart routines. > > One other thing that is confusing is "uses mod_wsgi to run an apache > server". Either that was a wording mistake or you are doing some really > out-of-the-box stuff. mod_wsgi is an apache module that runs within the > apache server. > > On RHEL/Centos, here is what it looks like (using IUS packages): > > yum install python33 > yum install httpd > yum install mod_wsgi > ... > ... configure your wsgi site in /etc/httpd/conf.d/yoursite.conf ... > ... > chkconfig httpd on > service httpd start > > Then it will just stay on and always come back on when the server restarts. > > Hope this helps a bit. > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Apr 6, 2015 at 2:08 PM, Trent Miller <[email protected] > <javascript:>> wrote: > >> Linux, and are you asking for my version of modwsgi or apache? >> >> On Sunday, April 5, 2015 at 2:59:50 PM UTC-7, Jason Garber wrote: >>> >>> What os and version? >>> On Apr 5, 2015 5:18 PM, "Trent Miller" <[email protected]> wrote: >>> >>>> My group and I are running a server that is based upon Django and uses >>>> mod_wsgi to run an Apache server. We will not be working on this project >>>> after it is over, so I am attempting to set up cronjob similar >>>> functionality to check if the apache server has shut down(system restart >>>> or >>>> power failure), and if it has, will restart the server for me. I've found >>>> documentation on how to check if an apache server is down and restart the >>>> server if it is, but our server uses https and thus our start command is >>>> pretty verbose. >>>> >>>> The command we use to initially start the server is >>>> >>>> python manage.py runmodwsgi --host 0.0.0.0 --port 8001 --https-port >>>> 8000 --ssl-certificate (certificate Location) --server-name (Domain Name) >>>> I asked this question on stack overflow and got some good feedback that >>>> I should use the --setup-only command and a system service manager to set >>>> up a configuration to restart my server if this happens. I am pretty new >>>> to Linux and I'm not really sure what the system service manager is and >>>> how >>>> I would prepare one for my server in particular. >>>> >>>> The stack overflow post also mentioned I should use the --server-root >>>> command to setup a persistent location for the generated configuration. >>>> Should I use this command in the same command that i am using --setup-only >>>> or is the --server-root command something I do after the configuration is >>>> generated? >>>> >>>> I'm pretty new to Linux and using both Mod-wsgi as well as Apache so >>>> any help is greatly appreciated. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "modwsgi" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/modwsgi. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/modwsgi. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
