8
4

Hi All,

Can we install OSQA on IIS7 on WIndows 2008 Server ? DO we need to install Django on windows ? (If yes please provide a step by step) Can you please provide a step by step ?

I will post another question related to linux as I am trying to follow / understand the install file.

Kind Regards

asked 14 Apr '10, 09:57

rihatum's gravatar image

rihatum
181457
accept rate: 0%

1

I am also looking for instructions (or just some tips) on installing OSQA on Windows Server 2008. I think this would be a great addition to the Wiki!

(14 Apr '10, 10:31) schilm

Update: They've now made this a "one click" install

Hi everyone,

I thought I should point out that this might offer the solution for some of you:

http://www.helicontech.com/zoo/

I've not looked at it in detail but it seems like a straight forward process; incorporating all the dependencies etc etc

Thomas

link

answered 09 Aug '11, 04:01

Thomas%20King's gravatar image

Thomas King
49651623
accept rate: 26%

edited 21 Sep '11, 06:34

1

Yes, Helicon Zoo is repository web frameworks and web apps for IIS 7. It contains Python+Django, Ruby+Rails plus dependencies processing. OSQA app added in Helicon Zoo as a example django app and it ready for production use.

Screenshot: http://www.helicontech.com/zoo/images/zoo-03-webpi-apps.png

(13 Sep '11, 08:12) rukeba

OMFG!!!! ARE YOU SERIOUS! YOU ARE A CHAMPION!

(13 Sep '11, 18:26) Thomas King

This should be marked the answer. You are awesome!

(02 Dec '11, 01:09) Jonathan Perl
1

Does the example OSQA application take the latest sources?

(02 Dec '11, 01:09) Jonathan Perl

Currently it is version 0.9.0 according to Zoo gallery: http://www.helicontech.com/zoo/gallery/#osqa Seems it is latest for now.

(20 Jan '12, 14:22) govorunov

Jonathan The revision packaged in the helicon installer has been updated to 1224 now.

(01 Feb '12, 14:09) HAL9000

I joined this site simply to upvote this response. Though, if it helps others most of my IIS steps failed, but they were easily accomplished using the Server Manager.

(08 Feb '12, 23:40) Matt
showing 5 of 7 show 2 more comments

Hey there, we have people working on the documentation as we speak. But answering to your question, is possible to run osqa on any os that runs python and django which includes windows.

To install python on windows, you would be better using an installer file, you can get it from http://www.python.org/download/. Pick the latest release from version 2.x, don't use 3.x.

After installing python you must edit your PATH environment variable to point to the python install folder, usually something like c:\\python26, and also the scripts folder, usually under c:\\python26\\scripts . This is not a requirement but it would make the next steps easier.

Then you need to download django http://www.djangoproject.com/, unpack it somewhere and then run python setup.py install.

After that, you have python and django installed. Hope it helps :-)

EDIT:

Just noticed the IIS part of the question. There's a great tutorial here: http://code.djangoproject.com/wiki/DjangoOnWindowsWithIISAndSQLServer

link

answered 14 Apr '10, 10:40

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
17.6k76784
accept rate: 53%

edited 14 Apr '10, 12:07

I tried following http://code.djangoproject.com/wiki/DjangoOnWindowsWithIISAndSQLServer but in the current PyISAPIe (1.1.0) Examples/Django it says "Currently, only the WSGI version is up to date, so don't bother with pyisapie.py until it can be ported to the newest version of Django." ... and it just doesn't work for me with the given instructions (getting 500 errors when trying to access the page).

(06 Jan '11, 17:11) jashan

there is step-by-step instalation OSQA to Windows 2008 R2 x64 in points. I'm just testing OSQA now. I like to make this notes more detailed in future.

* TortoiseSVN
     http://sourceforge.net/projects/tortoisesvn/files/
          http://sourceforge.net/projects/tortoisesvn/files/Application/1.6.8/TortoiseSVN-1.6.8.19260-win32-svn-1.6.11.msi/download

* Python 2.6.5
     http://www.python.org/download/
          http://www.python.org/ftp/python/2.6.5/python-2.6.5.msi

* setuptools (EasyInstall)
     http://pypi.python.org/pypi/setuptools#windows
          http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11.win32-py2.6.exe#md5=1509752c3c2e64b5d0f9589aafe053dc

* PyISAPIe 1.0.4
     http://sourceforge.net/projects/pyisapie/files/
          http://sourceforge.net/projects/pyisapie/files/pyisapie/1.1.0-rc4/PyISAPIe-1.1.0-rc4-Py2.6.zip/download

* - isapi-wsgi (it's working without it)
-      http://code.google.com/p/isapi-wsgi/

* Django
     http://code.djangoproject.com/wiki/DjangoOnWindowsWithIISAndSQLServer
          python easy_install Django==1.1

* - django-mssql (i like to move in future from mysql to mssql. not
tested yet)
-      http://code.google.com/p/django-mssql/source/checkout
-           svn checkout http://django-mssql.googlecode.com/svn/trunk/
django-mssql-read-only

* MySQL-python
     http://sourceforge.net/projects/mysql-python/files/
     http://stackoverflow.com/questions/2019827/error-when-install-python-mysql-module-on-windows
          http://soemin.googlecode.com/files/MySQL-python-1.2.3c1.win32-py2.6.exe

* OSQA
     svn checkout http://svn.osqa.net/svnroot/osqa/trunk

* ElementTree 
     http://effbot.org/downloads/
          http://effbot.org/media/downloads/elementtree-1.2.6-20050316.win32.exe
               python setup.py install Markdown
     http://www.freewisdom.org/projects/python-markdown/Installation
          http://pypi.python.org/packages/any/M/Markdown/Markdown-2.0.win32.exe
               python setup.py install
               easy_install Markdown

* html5lib
     http://pypi.python.org/pypi/html5lib/0.90
          http://html5lib.googlecode.com/files/html5lib-0.90.zip
               html5lib-0.90>python setup.py install

* south
     http://www.aeracode.org/releases/south/
          http://www.aeracode.org/releases/south/south-0.7.tar.gz

* sphinx
     http://www.sphinxsearch.com/downloads.html
          http://www.sphinxsearch.com/downloads/sphinx-0.9.9-win32.zip
          C:\\Python26\\sphinx-0.9.9-win32\\bin\\searchd
--install --config C:\\Python26\\sphinx-0.9.9-win32\\sphinx.conf
--servicename SphinxSearch
               http://www.sphinxsearch.com/forum/view.html?id=1813
               1. it could't find the config file ---> so i specified
it with full path

* django-sphinx
     http://github.com/dcramer/django-sphinx/downloads
          http://github.com/dcramer/django-sphinx/zipball/2.0.0

* openID
     http://pypi.python.org/pypi/python-openid/
          http://openidenabled.com/files/python-openid/packages/python-openid-2.2.4.tar.gz
          easy_install python-openid

* MySQL
     http://dev.mysql.com/downloads/mysql/
     mysql-5.1.35-win32.msi
     create database osqa DEFAULT CHARACTER SET UTF8 COLLATE
utf8_general_ci;
     grant all on osqa.* to 'osqa'@'localhost';

* Openid tables not created 
     http://meta.osqa.net/question/147/openid-tables-not-created
          python manage.py syncdb --all
          python manage.py migrate --fake

* - Python as Service (i like run OSQA like service in future)
-     http://agiletesting.blogspot.com/2005/09/running-python-script-as-windows.html
-     http://social.technet.microsoft.com/Forums/en-US/winserverMigration/thread/98a97aee-c62b-4683-94ab-3777899cf7de

* C:\\Python26\\OSQA>python manage.py runserver osq.test-domain.com:8000

* http://osq.test-domain.com:8000

* I made sucessfully import of SE-Dump with OSQA-importer and Matthew Schmidt and Hernâni Cerqueira help
link

answered 14 May '10, 03:14

VasekB's gravatar image

VasekB
31
accept rate: 0%

edited 14 May '10, 03:20

1

There is problem with PyISAPIe and Logon to OSQA using "login providers" (OpenID, Facebook, ...). There is 500 Error in IIS. If same site is running using Django internal server, it's runing fine, so it's not problem in configuration. We found no solution and changed IIS to Apache on Windows 2008. There is same configuration runing fine too.

(06 Apr '11, 08:24) VasekB

I've got OSQA running fine on Windows 2008 and IIS 7.5, so long as you use MySQL rather than SQL Server

(06 Apr '11, 10:37) James Crowley

James Crowley> I've got OSQA running fine on Windows 2008 and IIS 7.5 and MySQL and PyISAPIe, except logon using Facebook, OpenID,...

(07 Apr '11, 07:22) VasekB
1

I'd be interested to see the more detailed instructions, I've found it to be very thorny and have still not managed to set this up.

(07 Apr '11, 21:57) RobP
1

I'd second RobP request!

(09 Apr '11, 07:42) Thomas King

It is clear that many users will want to run on Windows servers, so we will try to make a point of figuring out and documenting what is needed to succeed with OSQA in a Windows hosting environment.
http://jira.osqa.net/browse/OSQA-94

link

answered 14 Apr '10, 10:51

rickross's gravatar image

rickross ♦♦
13.4k3819180
accept rate: 47%

Hi all

Sorry for the delay in replying :

So to sum up :

we would have to have Django, python and mysql installed on a windows box to go ahead and install OSQA ?

***To install python on windows, you would be better using an installer file, you can get it from http://www.python.org/download/. Pick the latest release from version 2.x, don't use 3.x.


So if I have the above two and a MySQL, would that be it to run OSQA on my server ?

Thanks

PS : I am also willing to contribute to documenting this process as this is going to be very famous amongst small business using OSQA locally on there internal windows web servers for company Q&A.

link

answered 04 Jun '10, 06:57

rihatum's gravatar image

rihatum
181457
accept rate: 0%

edited 04 Jun '10, 07:00

hi there, could you please look at the above comment from rukeba and see if this good to go!

(13 Sep '11, 18:27) Thomas King

http://bitnami.org/stack/osqa is another option.

link

answered 02 Dec '11, 09:50

Jonathan%20Perl's gravatar image

Jonathan Perl
113
accept rate: 0%

1
(02 Dec '11, 16:58) Vincent Buck
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×350
×21
×6

Asked: 14 Apr '10, 09:57

Seen: 5,876 times

Last updated: 08 Feb '12, 23:40

powered by OSQA