Installing OpenACS 4.6.3

If you have gone through all of the previous steps, the OpenACS 4.3.6 code will already be in /web/openacs-4. If not, download it:

  1. su -
  2. mkdir -p /usr/web
  3. ln -s /usr/local/web /web
  4. cd /web
  5. wget http://openacs.org/projects/openacs/download/download/openacs-4.6.3.tgz
  6. tar xzvf openacs-4.6.3.tgz
  7. mv openacs-4.6.3 openacs-4
  8. chown -R nsadmin:nsadmin /web/openacs-4
  9. exit

Visit your site: http://site-address:80/

  1. Click the Next-> button on the "OpenACS Installation: Welcome" page
  2. Click the Next-> button on the "OpenACS Installation: Installing Kernel Data Model" page
  3. Click the Next-> button on the "OpenACS Installation: Installing OpenACS Core Services" page
  4. Enter your information on the "OpenACS Installation: Create Administrator" page, then click the Create User-> button
  5. Enter your system information on the "OpenACS Installation: Set System Information" page and click the Set System Information-> button
  6. The "OpenACS Installation: OpenACS Installation Complete" tells you that the server has been restarted. Wait a bit and refresh this page.

Now we need to install the openfts driver

  1. Login as yourself
  2. cd /web/openacs-4/packages/openfts-driver/
  3. cd ~/sources
  4. wget http://unc.dl.sourceforge.net/sourceforge/openfts/Search-OpenFTS-tcl-0.3.2.tar.gz
    or visit http://prdownloads.sourceforge.net/openfts/Search-OpenFTS-tcl-0.3.2.tar.gz?download for a list of mirrors.
  5. tar xzvf Search-OpenFTS-tcl-0.3.2.tar.gz
  6. cd Search-OpenFTS-tcl-0.3.2
  7. Read the AOLSERVER.INSTALL file, the next few instructions are from that file
    The next few instructions pertain to the Search-OpenFTS driver
  8. su -
  9. cd /usr/ports/databases/postgresql72/work/postgresql-7.2.4/contrib/tsearch/
  10. gmake install
  11. exit
  12. ./configure --with-aolserver-src=/home/your_login/sources/aolserver-4.0 --with-tcl=/usr/local/lib/tcl8.4 --with-pgsql=/usr/local/include/postgresql/server
  13. cd aolserver
  14. Edit Makefile
    Change:
    INC       = -I../include -I$(NS_HOME)/include -I$(NS_HOME)/nsd

    To:
    INC       = -I../include -I$(NS_HOME)/include -I$(NS_HOME)/nsd -I/usr/local/include/tcl8.4
  15. gmake
  16. su - nsadmin
  17. cp /home/your_login/sources/Search-OpenFTS-tcl-0.3.2/aolserver/nsfts.so /usr/local/aolserver/bin/.
  18. cd /usr/ports/databases/postgresql72/work/postgresql-7.2.4/contrib/tsearch/
  19. psql -f tsearch.sql template1
  20. su -
  21. cd /usr/ports/databases/postgresql72/work/postgresql-7.2.4/contrib
  22. cp /home/your_login/sources/Search-OpenFTS-tcl-0.3.2/pgsql_contrib_openfts .
  23. cd pgsql_contrib_openfts
  24. gmake
  25. gmake install
  26. su nsadmin
  27. psql -f openfts.sql template1
  28. exit
  29. exit
  30. Add the following line to /usr/local/aolserver/openacs-4.tcl in the "ns_section ns/server/${servername}/modules" section:
            ns_param   nsfts           ${bindir}/nsfts.so 
    

    Open a browser and go to you /acs-admin/apm and install the OpenFTS Driver 4.2 package. Restart AOLServer by typing restart-aolserver openacs-4 as nsadmin.

    1. Go to /admin/site-map and set the parameters for the OpenFTS Driver. Change the src_path to: /home/nsadmin/Search-OpenFTS-tcl-0.2
    2. In /admin/site-map, create a new sub-folder (openfts) and mount the OpenFTS Driver.
    3. In /admin/site-map, create a new sub-folder (search) and click on the new application link to add the Search application to that URL
    4. Restart AOLServer
    5. Visit /openfts/admin/ in your browser and click on the Initialize OpenFTS Engine
    6. Click on the Initialize Button
    7. Visit /acs-service-contract/
    8. Click on the Install link for: 754 FtsEngineDriver, 2200 openfts-driver
      The numbers might be different.

    That's it. You can install the notes package from the CVS repository to test out the search function

    1. Install and mount the notes package
    2. restart-aolserver openacs-4
    3. Visit /acs-service-contract/
    4. Click on the Install link for: 773 FtsContentProvider, 2233 note
    5. restart-aolserver openacs-4 (Is this necessary?)
Internet: vtec.net
IC Design: view list
2002-08-07: Orchard Labs, Inc. introduces Internet Consulting and IC Consulting services.

2002-08-07: Read the OpenACS 4.5 FreeBSD Installation Guide.

2002-08-07: Read about the Orchard Labs Community System (OLCS).

© 2000-2002 Orchard Labs, Inc.