Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

Sample Linux installation

Administrators.InstallationLinux History

Hide minor edits - Show changes to markup

April 20, 2010, at 03:03 AM by 92.37.143.174 - Dev versions info have been updated.
Changed lines 5-16 from:

1. Install WSGIUtils (it's required for WSGI-connector):

Get the latest version of the library from the WSGIUtils download page:
$ wget http://www.owlfish.com/software/wsgiutils/downloads/WSGIUtils-0.7.tar.gz
Extract the library:
$ tar -zvxf WSGIUtils-0.7.tar.gz
Set up the symlink (however, it's possible just to install the library if you have administrative rights):
$ ln -s `pwd`/WSGIUtils-0.7/lib/wsgiutils/ .

2. Download WSGI connector:

Get the latest version of the WSGI connector (see WebConnectors):
$ wget http://downloads.sourceforge.net/porcupineserver/WSGIConnector-0.2.0.zip
$ unzip WSGIConnector-0.2.0.zip

3. Download Porcupine:

to:
Python 3 note: Since the bsddb module is deprecated, an extra dependency to pybsddb is added. It should be installed prior working with Porcupine server. For Debian-based distributions look for python3-bsddb3 package.

1. Download WSGI connector:

Get the development version of the WSGI connector (see WebConnectors):
$ git clone git://github.com/tkouts/porcupine-web-connectors

2. Download Porcupine:

Changed line 16 from:

4. Start required servers:

to:

3. Start required servers:

Changed lines 20-21 from:
$ python ../wsgiServer.py
to:
$ python ../porcupine-web-connectors/wsgi/wsgiServer.py
Changed line 25 from:

To stop the system use Ctrl-C to break the web connector and user the next command to stop Porcupine server:

to:

To stop the system use Ctrl-C to break the web connector and use the next command to stop Porcupine server:

March 30, 2010, at 09:43 AM by nuald - The title has been fixed.
Changed lines 1-2 from:

Sample Linux installation

to:

(:title Sample Linux installation :)

March 30, 2010, at 09:41 AM by nuald - The instruction is complete.
Changed line 5 from:

1. Install wsgiutils (it's required for WSGI-connector):

to:

1. Install WSGIUtils (it's required for WSGI-connector):

Changed lines 7-8 from:
$ wget http://www.owlfish.com/software/wsgiutils/downloads/WSGIUtils-0.7.tar.gz
Extract and install the library:
to:
$ wget http://www.owlfish.com/software/wsgiutils/downloads/WSGIUtils-0.7.tar.gz
Extract the library:
Changed lines 10-11 from:
$ cd WSGIUtils-0.7
$ sudo python setup.py install
to:
Set up the symlink (however, it's possible just to install the library if you have administrative rights):
$ ln -s `pwd`/WSGIUtils-0.7/lib/wsgiutils/ .
Added line 15:
$ unzip WSGIConnector-0.2.0.zip
Added line 20:
$ cd porcupine
Changed lines 26-32 from:
$ python wsgiServer.py
to:
$ python ../wsgiServer.py

Now you can open a browser and enjoy Porcupine accessible by the URL (the administrator account by default is admin/admin): http://localhost:1088

To stop the system use Ctrl-C to break the web connector and user the next command to stop Porcupine server:

  $ python ./porcupineserver.py stop 
March 30, 2010, at 09:17 AM by nuald - Basic instructions have been added.
Changed lines 5-7 from:
  1. Install wsgiutils (it's required for WSGI-connector):
Get the latest version of the library from the download page:
$ wget http://www.owlfish.com/software/wsgiutils/downloads/WSGIUtils-0.7.tar.gz
to:

1. Install wsgiutils (it's required for WSGI-connector):

Get the latest version of the library from the WSGIUtils download page:
$ wget http://www.owlfish.com/software/wsgiutils/downloads/WSGIUtils-0.7.tar.gz
Changed lines 9-14 from:
$ tar -zvxf WSGIUtils?-0.7.tar.gz
$ cd WSGIUtils?-0.7
$ sudo python setup.py install
  1. Download WSGI connector
  2. Download Porcupine
  3. Start required servers
to:
$ tar -zvxf WSGIUtils-0.7.tar.gz
$ cd WSGIUtils-0.7
$ sudo python setup.py install

2. Download WSGI connector:

Get the latest version of the WSGI connector (see WebConnectors):
$ wget http://downloads.sourceforge.net/porcupineserver/WSGIConnector-0.2.0.zip

3. Download Porcupine:

Get the development version of the Porcupine server (see Downloads):
$ git clone git://github.com/tkouts/porcupine.git
Install the database:
$ python ./db_init.py

4. Start required servers:

Start the Porcupine server:
$ python ./porcupineserver.py daemon
Start the web connector:
$ python wsgiServer.py
March 30, 2010, at 05:56 AM by nuald - Begin to write sample installation instructions.
Added lines 1-14:

Sample Linux installation

As a refer guide, the page describes how to run the development version of Porcupine server with the WSGI web-connector.

  1. Install wsgiutils (it's required for WSGI-connector):
Get the latest version of the library from the download page:
$ wget http://www.owlfish.com/software/wsgiutils/downloads/WSGIUtils-0.7.tar.gz
Extract and install the library:
$ tar -zvxf WSGIUtils?-0.7.tar.gz
$ cd WSGIUtils?-0.7
$ sudo python setup.py install
  1. Download WSGI connector
  2. Download Porcupine
  3. Start required servers
Page last modified on April 20, 2010, at 03:03 AM