Changes between Version 25 and Version 26 of sysadminPostgreSQLConfiguration
- Timestamp:
- Jun 24, 2009, 10:33:00 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
sysadminPostgreSQLConfiguration
v25 v26 273 273 == Connecting the Database Server To The Rest Of Evergreen == 274 274 275 === Installing JSON::XS ===276 277 Again, assuming a two server setup with Open-ils on one and postgres on the other, you need to ensure that the database server can actually communicate with the oils server.278 279 To begin with, you need to install the JSON::XS perl module on the database server. This allows the database server to exchange JSON messages with the oils server.280 281 Make sure you've got a compiler installed first:282 283 {{{284 which gcc285 }}}286 287 If you don't, install one:288 289 {{{290 apt-get update291 apt-get install gcc292 }}}293 294 Next install the mod from CPAN:295 296 {{{297 perl -MCPAN -e 'CPAN::Shell→install(“JSON::XS”)'298 }}}299 300 Accept the defaults.301 302 Once again, you should run autogen.sh on the oils server to update opac and Staff Client files. Do this on the oils server as the opensrf user with oils up and running.303 304 === Configuring Ports And Remote Access ===305 306 275 For a complete discussion of iptables see [wiki:sysadminiptables iptables and network configuration]. For the specific ports needed by the postgres server see [wiki:sysadminiptables#NecessaryPorts-DatabaseServer Necessary Ports - Database Server] for other Postgres specific networking issues see [wiki:sysadminiptables#SpecialPostgresqlIssues Special Postgresql Issues]. 276 277 ||'''NOTE:''' The Postgres server needs ''' JSON::XS ''' perl mod installed in order to be able to communicate with the oils server. See [wiki:sysadminiptables#SpecialPostgresqlIssues Special Postgresql Issues] for more information. || 307 278 308 279 ----