 |
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:
su -
mkdir -p /usr/web
ln -s /usr/local/web /web
cd /web
wget http://openacs.org/projects/openacs/download/download/openacs-4.6.3.tgz
tar xzvf openacs-4.6.3.tgz
mv openacs-4.6.3 openacs-4
chown -R nsadmin:nsadmin /web/openacs-4
exit
Visit your site: http://site-address:80/
- Click the Next-> button on the "OpenACS Installation: Welcome" page
- Click the Next-> button on the "OpenACS Installation: Installing Kernel Data Model" page
- Click the Next-> button on the "OpenACS Installation: Installing OpenACS Core Services" page
- Enter your information on the "OpenACS Installation: Create Administrator" page, then click the Create User-> button
- Enter your system information on the "OpenACS Installation: Set System Information" page and click the Set System Information-> button
- 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
- Login as yourself
cd /web/openacs-4/packages/openfts-driver/
cd ~/sources
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.
tar xzvf Search-OpenFTS-tcl-0.3.2.tar.gz
cd Search-OpenFTS-tcl-0.3.2
- Read the AOLSERVER.INSTALL file, the next few instructions are from that file
The next few instructions pertain to the Search-OpenFTS driver
su -
cd /usr/ports/databases/postgresql72/work/postgresql-7.2.4/contrib/tsearch/
gmake install
exit
./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
cd aolserver
- 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
gmake
su - nsadmin
cp /home/your_login/sources/Search-OpenFTS-tcl-0.3.2/aolserver/nsfts.so /usr/local/aolserver/bin/.
cd /usr/ports/databases/postgresql72/work/postgresql-7.2.4/contrib/tsearch/
psql -f tsearch.sql template1
su -
cd /usr/ports/databases/postgresql72/work/postgresql-7.2.4/contrib
cp /home/your_login/sources/Search-OpenFTS-tcl-0.3.2/pgsql_contrib_openfts .
cd pgsql_contrib_openfts
gmake
gmake install
su nsadmin
psql -f openfts.sql template1
exit
exit
- 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.
- 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
- In /admin/site-map, create a new sub-folder (openfts) and mount the OpenFTS Driver.
- 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
- Restart AOLServer
- Visit /openfts/admin/ in your browser and click on the Initialize OpenFTS Engine
- Click on the Initialize Button
- Visit /acs-service-contract/
- 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
- Install and mount the notes package
restart-aolserver openacs-4
- Visit /acs-service-contract/
- Click on the Install link for:
773 FtsContentProvider, 2233 note
restart-aolserver openacs-4 (Is this necessary?)
|
 |
|