Changeset 860 for pykota/trunk
- Timestamp:
- 03/22/03 15:06:02 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/docs/installation.sgml
r859 r860 3 3 <chapter> 4 4 <title>Installation</title> 5 6 <para>Last modified on $Date$</para> 7 5 8 <para> 6 9 Before being able to use <application>PyKota</application>, you have of course to … … 10 13 <para> 11 14 First you have to determine which machine will be the <application>PyKota</application> 12 < glossaryterm>Storage Server</glossaryterm>. The Storage Server is the host responsible15 <firstterm>Storage Server</firstterm>. The Storage Server is the host responsible 13 16 for keeping a centralized database of print usage for all your printers, users and groups. 14 17 </para> 15 18 16 19 <para> 17 Then you have to list all the < glossaryterm>Print Servers</glossaryterm> for which18 you plan to use < glossaryterm>print quota</glossaryterm> facilities.20 Then you have to list all the <firstterm>Print Servers</firstterm> for which 21 you plan to use <firstterm>print quota</firstterm> facilities. 19 22 </para> 20 23 … … 44 47 45 48 <para> 46 <application>PostgreSQL</application> is an < glossaryterm>Object Relationnal DataBase47 Management System</ glossaryterm> distributed under a <glossaryterm>Free Software</glossaryterm>49 <application>PostgreSQL</application> is an <firstterm>Object Relationnal DataBase 50 Management System</firstterm> distributed under a <firstterm>Free Software</firstterm> 48 51 license from the 49 52 <ulink url="http://www.postgresql.org">http://www.postgresql.org</ulink> … … 85 88 server even if the configuration is correct. Sometimes your connections may be blocked by 86 89 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>90 is the case, then the best thing you can do is to ask your <firstterm>Network Administrator</firstterm> 88 91 to not filter the IP port used by <application>PostgreSQL</application>, which is 89 92 usually port 5432/tcp. 93 <note> 94 <title>Note</title> 95 <para> 96 The TCP/IP network port used by PostgreSQL may be different. When in doubt, ask your 97 <firstterm>System Administrator</firstterm> for the correct value. 98 </para> 99 </note> 100 </para> 101 102 <para> 103 Now that your <application>PostgreSQL</application> server is up and running, and 104 is waiting for your connections, you have to create the Quota Storage DataBase. 105 To do so, you'll have to feed <application>PostgreSQL</application> with the 106 <filename>pykota-x.xx/initscripts/pykota-postgresql.sql</filename> file. 107 This file will create a Quota DataBase administrator and a Quota DataBase user 108 in the <application>PostgreSQL</application> system, then create an empty 109 Quota DataBase and set some permissions on it. 110 </para> 111 112 <para> 113 To run this script, you can use the <application>psql</application> frontend to 114 <application>PostgreSQL</application>, but your priviledges must be sufficient 115 to be allowed to create users and databases. You can launch <application>psql</application> 116 as the <literal>postgres</literal> user which is <application>PostgreSQL</application>'s 117 default administrator, and connect to the default database named <literal>template1</literal>. 118 From a command line interpreter (i.e. shell), type the following commands : 119 <screen> 120 jerome@nordine:~$ cd pykota-1.02-official/initscripts/ 121 jerome@nordine:~/pykota-1.02-official/initscripts$ psql -h localhost -U postgres template1 122 Welcome to psql, the PostgreSQL interactive terminal. 123 124 Type: \copyright for distribution terms 125 \h for help with SQL commands 126 \? for help on internal slash commands 127 \g or terminate with semicolon to execute query 128 \q to quit 129 130 template1=# \i pykota-postgresql.sql 131 ... a lot of output lines 132 template1=# \q 133 </screen> 134 </para> 135 136 <para> 137 If no error occured, then your Quota DataBase is ready to be used. 138 Now you can let the Quota Storage Server alone, the remaining work 139 will have to be done on each one of the print servers which will 140 use this particular Quota Storage Server. 90 141 <tip> 91 142 <title>Tip</title> 92 143 <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. 144 If an error occured, maybe your PostgreSQL version is too old, or 145 an unexpected problem (like a bug) happened. Please send me an email so that I 146 can try to solve the problem. Thanks in advance. 95 147 </para> 96 148 </tip> 97 </para>98 99 <para>100 TODO.101 149 </para> 102 150 </sect2> … … 152 200 153 201 $Log$ 202 Revision 1.6 2003/03/22 14:06:02 jalet 203 Quota Storage Server installation is OK for PostgreSQL. 204 154 205 Revision 1.5 2003/03/22 13:11:33 jalet 155 206 The port on which the Quota Storage Sever is listening can now