Changes between Version 23 and Version 24 of sysadminiptables


Ignore:
Timestamp:
Jun 24, 2009, 10:30:21 AM (13 years ago)
Author:
risard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sysadminiptables

    v23 v24  
    88[#TestingYourConfig Testing Your Config][[BR]]
    99[#SpecialPostgresqlIssues Special Postgresql Issues][[BR]]
     10 [#AllowingRemoteConnections Allowing Remote Connections] [[BR]]
     11 [#InstallingJSON::XS Installing JSON::XS] [[BR]]
    1012[#NecessaryPorts-DatabaseServer Necessary Ports - Database Server][[BR]]
    1113[#NecessaryPorts-Open-ilsServer Necessary Ports - Open-ils Server][[BR]]
     
    180182== Special Postgresql Issues ==
    181183
    182 with postgres, you also need to specifically allow remote hosts to access the server.
     184=== Allowing Remote Connections ===
     185
     186With postgres, you also need to specifically allow remote hosts to access the server.
    183187
    184188To begin with, you need to tell postgres to listen for connections from other hosts rather then just the localhost (the default).
     
    231235After editing and saving both files, you need to restart postgres.
    232236
     237=== Installing JSON::XS ===
     238
     239Again, 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.
     240
     241To 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.
     242
     243Make sure you've got a compiler installed first:
     244
     245{{{
     246    which gcc
     247}}}
     248
     249If you don't, install one:
     250
     251{{{
     252    apt-get update
     253    apt-get install gcc
     254}}}
     255
     256Next install the mod from CPAN:
     257
     258{{{
     259    perl -MCPAN -e 'CPAN::Shell→install(“JSON::XS”)'
     260}}}
     261
     262Accept the defaults.   
     263
     264Once 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.
    233265
    234266----