root / pykota / trunk / docs / installation.sgml @ 858

Revision 858, 6.4 kB (checked in by jalet, 21 years ago)

More information wrt PostgreSQL tcp/ip configuration.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<!-- $Id$ -->
2
3<chapter>
4  <title>Installation</title>
5  <para>
6    Before being able to use <application>PyKota</application>, you have of course to
7    install it first. But before installing, you must carefully plan your installation.
8  </para>
9 
10  <para>
11    First you have to determine which machine will be the <application>PyKota</application>
12    <glossaryterm>Storage Server</glossaryterm>. The Storage Server is the host responsible
13    for keeping a centralized database of print usage for all your printers, users and groups.
14  </para>
15 
16  <para>
17    Then you have to list all the <glossaryterm>Print Servers</glossaryterm> for which
18    you plan to use <glossaryterm>print quota</glossaryterm> facilities.
19  </para>
20 
21  <para>
22    Now we will see what has to be done on all those servers.
23    <note>
24      <title>Note</title>
25      <para>
26        Of course, depending on the size of your network, you may very well
27        use the same machine as both a Print Server and a Storage Server.
28        This is especially the case if you've got only one server.
29      </para>
30    </note> 
31  </para>
32 
33  <sect1>
34    <title>Storage Server Installation</title>
35   
36    <para>
37      Depending on <application>PyKota</application>'s version number, different
38      types of storage backends may be supported, so we will see for each one of
39      them how to configure it.
40    </para>
41   
42    <sect2>
43      <title>PostgreSQL</title>
44     
45      <para>
46        <application>PostgreSQL</application> is an <glossaryterm>Object Relationnal DataBase
47        Management System</glossaryterm> distributed under a <glossaryterm>Free Software</glossaryterm>
48        license from the
49        <ulink url="http://www.postgresql.org">http://www.postgresql.org</ulink>
50        web site. It certainely is the free <acronym>RDBMS</acronym> which has the most advanced
51        features, and is widely used all over the world.
52      </para>
53     
54      <para>
55        To configure your Storage Server, you must have PostgreSQL already working.
56        The complete installation of <application>PostgreSQL</application> is not covered by
57        the present manual, please refer to your system's documentation or to
58        <ulink url="http://www.postgresql.org">http://www.postgresql.org</ulink> for
59        details.
60      </para>
61     
62      <para>
63        One thing you have to check, though, is that every Print Server on which you
64        want to install the print quota mechanism, i.e. the print servers, must be able to connect to the
65        <application>PostgreSQL</application> server. In the default installation of
66        <application>PostgreSQL</application> this may not be the case for security reasons, except if both
67        servers are in fact the same machine. In any case, it is recommended that you
68        check the <filename>/etc/postgresql/pg_hba.conf</filename> and modify it if
69        needed. This file is self documented and its modification is straightforward.
70        You also have to make sure that <application>PostgreSQL</application> accepts <acronym>TCP/IP</acronym> connections.
71        To do so you either have to launch it with the <option>-i</option> option or
72        modify the <filename>/etc/postgresql/postgresql.conf</filename>, which is
73        self documented and easy to modify too.
74        <tip>
75          <title>Tip</title>
76          <para>
77            Don't forget to restart <application>PostgreSQL</application> if you modify
78            any of its configuration files, in order for the changes to take effect.
79          </para>
80        </tip> 
81      </para>
82     
83      <para>
84        Be careful, you may be unable to connect from a Print Server to the <application>PostgreSQL</application>
85        server even if the configuration is correct. Sometimes your connections may be blocked by
86        one or more network firewalls along the route from one machine to the other. If this
87        is the case, then the best thing you can do is to ask your <glossaryterm>Network Administrator</glossaryterm>
88        to not filter the IP port used by <application>PostgreSQL</application>, which is
89        usually port 5432/tcp.
90        <tip>
91          <title>Tip</title>
92          <para>
93            The TCP/IP network port used by PostgreSQL may be different. When in doubt, ask your
94            <glossaryterm>System Administrator</glossaryterm> for the correct value. Actually
95            <application>PyKota</application> does not work if the port used is not the default one,
96            but this limitation will be removed in a future version.
97          </para>
98        </tip> 
99      </para>
100     
101      <para>
102        TODO.
103      </para>
104    </sect2> 
105   
106    <sect2>
107      <title>MySQL</title>
108     
109      <para>
110        A <application>MySQL</application> Storage Backend is planned, but it actually
111        doesn't exist.
112      </para>
113    </sect2> 
114   
115    <sect2>
116      <title>LDAP</title>
117     
118      <para>
119        An <application>LDAP</application> Storage Backend is planned, but it actually
120        doesn't exist. Some people may already be working on this, though.
121      </para>
122    </sect2> 
123   
124    <sect2>
125      <title>Berkeley DB</title>
126     
127      <para>
128        A <application>Berkeley DB</application> Storage Backend is planned, but it actually
129        doesn't exist. It seems that remote storage won't be possible with such a backend,
130        so in other terms this means that you will have a different quota database on
131        each print server. This may still prove to be useful for small configurations.
132      </para>
133    </sect2> 
134  </sect1> 
135 
136  <sect1>
137    <title>Print Server Installation</title>
138   
139    <para>
140      For each Print Server on which you plan to implement the print quota
141      mechanism, you have, of course, to have an already working printing environment.
142      Currently <application>PyKota</application> only works with the
143      <ulink url="http://www.cups.org"><application>CUPS</application></ulink> environment,
144      but more may be added in the future.
145    </para>
146   
147    <para>
148      TODO
149    </para>
150  </sect1> 
151</chapter>
152
153<!--
154
155$Log$
156Revision 1.4  2003/03/22 07:20:38  jalet
157More information wrt PostgreSQL tcp/ip configuration.
158
159Revision 1.3  2003/03/18 22:18:25  jalet
160The documentation will only be a sequence of chapters in a single part, not
161multiple parts each including chapters.
162
163Revision 1.2  2003/03/18 22:10:54  jalet
164Documentation improvements.
165
166Revision 1.1  2003/02/08 00:03:35  jalet
167Documentation skeleton added
168
169
170-->
Note: See TracBrowser for help on using the browser.