If you want full text search, and you are running PostgreSQL, install this module to support FTS. Do this step after you have installed both PostgreSQL and
+
If you want full text search, and you are running PostgreSQL, install this module to support FTS. Do this step after you have installed both PostgreSQL and
AOLserver. You will need the openfts
- tarball in /tmp.
Install Tsearch. This is a PostgreSQL module that
+ tarball in /var/tmp.
Install Tsearch. This is a PostgreSQL module that
OpenFTS requires.
[root root]# su - postgres
[postgres pgsql]$ cd /usr/local/src/postgresql-7.3.4/contrib/tsearch/
[postgres tsearch]$ make
@@ -26,7 +26,7 @@
make install
exit
Unpack the OpenFTS tarball and compile and install
the driver.
[root root]# cd /usr/local/src
-[root src]# tar xzf /tmp/Search-OpenFTS-tcl-0.3.2.tar.gz
+[root src]# tar xzf /var/tmp/Search-OpenFTS-tcl-0.3.2.tar.gz
[root src]# cd /usr/local/src/Search-OpenFTS-tcl-0.3.2/
[root Search-OpenFTS-tcl-0.3.2]# ./configure --with-aolserver-src=/usr/local/src/aolserver/aolserver --with-tcl=/usr/lib/
checking prefix... /usr/local
@@ -48,7 +48,7 @@
[root aolserver]# cp nsfts.so /usr/local/aolserver/bin/
[root aolserver]#
cd /usr/local/src
-tar xzf /tmp/Search-OpenFTS-tcl-0.3.2.tar.gz
+tar xzf /var/tmp/Search-OpenFTS-tcl-0.3.2.tar.gz
cd /usr/local/src/Search-OpenFTS-tcl-0.3.2/
./configure --with-aolserver-src=/usr/local/src/aolserver/aolserver --with-tcl=/usr/lib/
make
@@ -76,7 +76,7 @@
make
su postgres
make install
-exit
Install OpenFTS prerequisites in PostgreSQL instance
If you are installing Full Text Search, add required
+exit
Install OpenFTS prerequisites in PostgreSQL instance
If you are installing Full Text Search, add required
packages to the new database. (In order for full text search
to work, you must also install the PostgreSQL
OpenFTS module and prerequisites.)
[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ /usr/local/pgsql/bin/psql $OPENACS_SERVICE_NAME -f /usr/local/src/postgresql-7.3.4/contrib/tsearch/tsearch.sql