Revision 73ff1d54 docs/quick-install-admin-guide.rst

b/docs/quick-install-admin-guide.rst
80 80

  
81 81
.. code-block:: console
82 82

  
83
   # apt-get install apache2 gunicorn postgresql
83
   # apt-get install apache2 postgresql
84 84

  
85
Make sure you have installed gunicorn >= v0.12.2. On node1, we will create our
86
databases, so you will also need the python-psycopg2 package:
85
Make sure to install gunicorn >= v0.12.2. You can do this by installing from
86
the official debian backports:
87

  
88
.. code-block:: console
89

  
90
   # apt-get -t squeeze-backports install gunicorn
91

  
92
On node1, we will create our databases, so you will also need the
93
python-psycopg2 package:
87 94

  
88 95
.. code-block:: console
89 96

  
......
111 118

  
112 119
.. code-block:: console
113 120

  
114
   postgres=# CREATE DATABASE snf_pithos WITH ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C'
121
   postgres=# CREATE DATABASE snf_pithos WITH ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' TEMPLATE=template0;
115 122
   postgres=# GRANT ALL PRIVILEGES ON DATABASE snf_pithos TO synnefo;
116 123

  
117 124
Configure the database to listen to all network interfaces. You can do this by
......
273 280

  
274 281
.. code-block:: console
275 282

  
276
   # apt-get install apache2 gunicorn postgresql
283
   # apt-get install apache2 postgresql
284

  
285
Make sure to install gunicorn >= v0.12.2. You can do this by installing from
286
the official debian backports:
287

  
288
.. code-block:: console
289

  
290
   # apt-get -t squeeze-backports install gunicorn
277 291

  
278
Make sure you have installed the same package versions as in node1. Node2 will
279
connect to the databases on node1, so you will also need the python-psycopg2
280
package:
292
Node2 will connect to the databases on node1, so you will also need the
293
python-psycopg2 package:
281 294

  
282 295
.. code-block:: console
283 296

  
......
475 488
   SECRET_KEY = 'sy6)mw6a7x%n)-example_secret_key#zzk4jo6f2=uqu!1o%)'
476 489

  
477 490
For astakos specific configuration, edit the following options in
478
``/etc/synnefo/20-snf-astakos-setting.conf`` :
491
``/etc/synnefo/20-snf-astakos-app-settings.conf`` :
479 492

  
480 493
.. code-block:: console
481 494

  

Also available in: Unified diff