O'Reilly logo

Practical PostgreSQL by John C. Worsley, Joshua D. Drake

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing and Configuring LXP

To install LXP, you must have the Apache web server installed and configured to support mod_so. This is the Apache Shared Object module. If you have not built Apache with this module, you will need to reconfigure it, making sure to include the --enable-module=so configuration option before compiling.

Note

Installing and Configuring LXP

If you choose to manually compile Apache, be sure that you remove any existing Apache RPMs first. You can usually identify these with the rpm -qa |grep apache command.

If Apache is installed, and the Shared Object module is enabled, you may insert the CD included with this book, mount it, and proceed with the installation. You will need to be logged in as root in order to successfully install LXP, since it requires access to system-level files and directories.

Installing LXP

There are two ways to install LXP as of Version 0.8; you may use the lxpinstall.sh script, found in the lxp directory on the CD, or you may install it manually. The lxpinstall.sh script is intended to both install the required LXP files and to configure your httpd.conf file to load and enable the LXP module.

If you encounter any errors during the installation from lxpinstall.sh, see the following section about manual configuration.

Using lxpinstall.sh

The lxpinstall.sh script is extremely straightforward. On a fresh system, the only option you should be prompted to respond to is at the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required