SurveySolutions®
XP Enterprise Server
Installation Instructions for Unix |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
IntroductionThis document describes the process of installing and configuring the SurveySolutions Enterprise Server for use on your Unix Web server. Please contact techsupport@perseus.com if you have any trouble with the configuration process. RequirementsThe SurveySolutions XP Enterprise Server scripts are CGI programs written for Perl 5.
Additional Requirements
For more detailed help on configuring Perl click here. StepsThere are three main steps to setting up the Enterprise Portal:
Installing the software on your server
You will need to change the ownership of the configure program to the user that your web server runs as using the chown command. For example: shell> chown webuser:webgroup pdcconfigure5.pl You will also need to change permissions to make the configure program executable using the chmod command. For example: shell> chmod 755 pdcconfigure5.pl Alias ConfigurationThe Enterprise Portal uses directories outside of the webroot to cache images and save files for download. You will need to configure your web server to be aware of these directories.Apache
Running the configuration utilityAfter all of the scripts have been installed you should be able to access
the install script through a web browser. The first page of the install script allows you to configure parameters that the rest of the scripts need. The script pre-fills with common default values but you should override with your servers setting. The second page will allow you to set parameters to connect to your database. When you click the Test Connection button it will test the connection and write the default tables Perseus' uses to track surveys in your database. You should now be able to access the front door to the Portal: Appendix A: Perl Configuration HelpYou can obtain the latest release of the Perl modules from:
Normally, if you already have Perl installed, you can use the command line interface to CPAN to
install the modules. You can launch an interface to CPAN by typing the following: To install CGI: You will need to install the graphing libraries zlib, libpng, and libgd if they are not aleady installed. These libraries must be installed correctly before the GD perl module is installed. For more information on this process, click here. To install the graphics module: To install the database interface: Then install the appropriate driver for your database: Appendix B: Relational DatabasesIf your database product resides on a separate machine than that of your web server, you may need additional, vendor specific networking libraries. In this case your web server will in essence become a "client" to the database server. The DBD driver modules assume that these libraries are in place and have been tested for remote connection. The DBD module installation process will likely fail if these libraries are missing or improperly installed. Please consult your database administrator or database vendor for more information about these networking libraries. For your convenience, we have listed the commom requirements for the various DBD modules to install correctly. Oracle - SQL*Net or Net8. DB2 - DB2 Application Development Client. Appendix C: Installing the Graphics LibraryThe Enterprise Portal requires the libgd graphics library, version 1.8.3 or higher, for dynamic image generation. Package InstallationIf your operating system supports package installation, we highly recommend using that service. The following packages are known to exist. If you find a package for your flavor of Unix, you will want to make sure it is a least version 1.8 as the Enterprise Portal generates PNG graphics.Solaris - There are libgd packages for most sparc versions of Solaris
Installation from SourceIf one of the above packages does not work for you, then you can procede with the standard install procedure described below to install libgd from the source.
$ ./configure $ make # make install (as root) | +- zlib | +- libpng $ mv zlib* zlib $ mv libpng* libpng $ cd libpng $ cp scripts/makefile.stf Makefile $ make # make install (as root) $ make # make install (as root) Appendix D: Finding PerlWe ship the scripts with the first line set to the following: The system uses this information to look for the Perl interpreter.
If your copy of Perl is installed to a different location you will need
to change this before proceeding to the next step. On Unix you can find
where Perl is installed in your system by typing: After determining the path, open the script named pdcconfigure5.pl in an editor and change the first line to reflect this value. Then you should be able to run the configure script in a browser. Appendix E: Helpful Links
|