Showing 491 - 500 of 693 Postings (
summary)
Created by Ryan Gallimore, last modified by Monika Andergassen 05 Oct 2015, at 12:32 PM
# PostgreSQL
apt-get install postgresql postgresql-dev postgresql-doc
ln -s /usr/include/postgresql/ /usr/include/pgsql
ln -s /var/lib/postgres /usr/local/pgsql
ln -s /usr/include/pgsql /usr/local/pgsql/include
su postgres -c "/usr/lib/postgresql/bin/createlang plpgsql template1"
su postgres -c "createuser -a -d service1"
su postgres -c "createdb -E UNICODE service1"
# AOLServer
apt-get install aolserver4 aolserver4-nspostgres aolserver4-nssha1 aolserver4-nscache tdom
# OpenACS
groupadd web
useradd -g web service1
mkdir /var/lib/aolserver
chown -R service1 /var/lib/aolserver
chgrp -R web /var/lib/aolserver
chmod -R 770 /var/lib/aolserver
exit
su - service1
cd /tmp
wget https://openacs.org/projects/openacs/download/download/openacs-5.1.5.tar.gz
cd /var/lib/aolserver
tar xzf /tmp/openacs-5.1.5.tar.gz
mv /tmp/openacs-5.1.5 service1
chmod -R 755 service1
chown -R service1.web service1
exit
# Copy Files (where / is root of OpenACS instance):
# [edit hostname and address]
config.tcl => /etc/
set homedir /usr/lib/aolserver4
set bindir /usr/lib/aolserver4/bin
# init/d script:
#!/bin/sh
#
# Start the AOLServer HTTP server.
#
NAME="OpenACS on service1"
SERVICEPATH=/var/lib/aolserver/service1
PATH=$PATH:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/pgsql/bin
trap "" 1
start()
{
echo -n "Starting web server: $NAME"
echo -e -n "\r"
#!/bin/sh
#we need to export the library stuff first
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib
export PATH=$PATH:/usr/local/pgsql/bin
# give time for Postgres to come up
sleep 1
exec /usr/sbin/aolserver4-nsd -it $SERVICEPATH/etc/config.tcl -u service1 -g web &
# For AOLserver 4 using privileged ports (usually < 1024), add the flag
# -b youraddress:yourport
echo ""
}
stop()
{
echo -n "Stopping web server: $NAME"
killall aolserver4-nsd
echo ""
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 2
start
;;
*)
echo "Usage: /etc/init.d/$NAME {start|stop|restart}"
exit 1
;;
esac
echo -n -e "\c\r\n"
exit 0
# End of script
# avoid pid not found errors in the log
mkdir /usr/lib/aolserver4/log
chown root:web /usr/lib/aolserver4/log
chmod 775 /usr/lib/aolserver4/log
# Set openacs to start on boot
update-rc.d openacs-service1 defaults
chmod u+x openacs-service1
ln -s /var/lib/aolserver/service1
Created by Malte Sussdorff, last modified by Monika Andergassen 05 Oct 2015, at 12:12 PM
If you want to install AOLserver 4.5 you could follow the instructions for AOLserver en:aolserver-install and replace 40r10 with 4.5 (more or less ...).
Alternatively follow the instructions or download it as a shell script (recommended) or download a full archive aolserver45-oacs.tar.bz2.
If on "OS X" the install fails for nspostgres with undefined symbols, execute the following command:
gcc -pipe -dynamiclib -install_name /usr/local/aolserver45/lib/libnspostgres.dylib -o libnspostgres.dylib nspostgres.o -L/usr/local/aolserver45/lib -lnsd -lnsthread -L/usr/local/aolserver45/lib -ltcl8.4 -lpthread -framework CoreFoundation -lnsdb -L/usr/local/pgsql/lib -lpq
Created by OpenACS community, last modified by Gustaf Neumann 01 May 2015, at 09:43 AM
To try OpenACS, you might lease a hosted system with OpenACS installed on it:
Created by OpenACS community, last modified by Gustaf Neumann 14 Nov 2014, at 07:39 PM
Package Specification Summary for Package: accounts-finance
Summary: |
Finance package provides limited set of tools for long-term debts, fixed assets, forecasting. |
Description: |
Finance package provides some tools for long-term debts, fixed assets, capital, stock holding, dividends, forecasting and reporting. Integrates with general-ledger etc. |
Maturity: |
Immature |
This package depends on: |
acs-datetime q-forms spreadsheet |
Packages that depend on accounts-finance: |
None |
Package parameters: |
- auxiliary: AuxiliaryColumnNames
- A space delimited list of column names allowed for alternate resource costs or system inputs and outputs in PRETTI P2 and P3 tables. Column 'name' and 'type' are reserved. (default ghg ggwp co2e cde coal oil ng gt nuke hydro solar wind cement eru cers rec km airkm, type string, scope instance)
- auxiliary: AuxiliaryColumnsNameMaxLength
- Limits the maximum column name length of auxiliary resource cost calculations used in PRETTI P2 and P3 tables. 0 means no auxiliary columns calculated (except any declared in AuxiliaryColumnNames parameter. Column 'name' and 'type' are reserved. (default 4, type number, scope instance)
- constraints: TableRowsMax
- Limits the maximum row size of any table. 0 is no limit. (default 0, type number, scope instance)
- processes: ScheduledProcsAllowed
- A space delimited list of procs allowed to be scheduled in package instance (default acc_fin::pie_file_create_from_table acc_fin::cobbler_file_create_from_table, type string, scope instance)
|
Bug Tracker Summary for Package: accounts-finance
There is no package with the name "accounts-finance" known to bug-tracker.
Code Metrics Summary for Package: accounts-finance
# Tcl Procs |
0 |
# Tcl Lines |
0 |
# Tcl Blank Lines |
1 |
# Tcl Comment Lines |
0 |
# Automated Tests |
0 |
# Stored Procedures |
PG: 0 ORA: 0 |
# SQL Lines |
PG: 0 (blank 1 comments 0)
ORA: 0 (blank 1 comments 0) |
# ADP pages |
0 |
# ADP lines |
0 |
# Include pages (accounts-finance/lib/) |
0 |
# Documentation pages |
0
|
# Documentation lines |
0 |
Browse Source |
Not installed |
Github Repository: |
https://github.com/openacs/accounts-finance/tree/oacs-5-10
|
Status
pre-release
Introduction
Part of the ecommerce-g2 project
Feature requests
add requests here
Created by OpenACS community, last modified by Gustaf Neumann 04 Sep 2014, at 07:33 PM
OpenACS and .LRN are available via FreeBSD ports. See en:openacs-system-install-freebsd-ports.
The following notes are useful if you decide to follow the OpenACS manual installation process using FreeBSD. These notes include points where a manual FreeBSD install differes from the slow, manual en:openacs-system-install.
The following information is pulled from: https://openacs.org/forums/message-view?message_id=312823 and https://openacs.org/forums/message-view?message_id=136910 and https://openacs.org/forums/message-view?message_id=312823
The OpenACS Reference Platform uses shell scripts written for bash, which is the standard Linux shell. If you are using a different shell, you will need to substitute your shell's conventions for setting environment variables when appropriate, and install bash to work with the scripts. Substitute fetch when the instructions suggest you use wget to download software.
Note that on most linux distributions, GNU Make is simply named make and there is no gmake, whereas on BSD distributions, make and gmake are different --use gmake.
Change the period separating user.group in chown commands to use a colon ":" instead. For example,
chown -R $OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME
becomes:
chown -R $OPENACS_SERVICE_NAME:$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME
Should you decide to install OpenACS from source using general en:openacs-system-install instructions, refer to these notes for changes:
Installing tdom
FreeBSD can use the standard tdom from ports when installing manually, without going the extra step of installing tdom within the aolserver src tree.
Creating postgres user
To set defaults for new users or special service users you may create, edit the file /etc/share/skel/dot.profile instead of /etc/profile
To create the user, we need to add more parameters to match what is expected from creating a user in linux.
[root src]# mkdir -p /usr/local/pgsql
[root src]# pw groupadd -n web
[root src]# pw useradd -n postgres -g web -d /usr/local/pgsql -s /bin/bash
[root src]# chown -R postgres:web /usr/local/pgsql /usr/local/src/postgresql-7.4.7
[root src]# chmod -R 750 /usr/local/pgsql
[root src]#
mkdir -p /usr/local/pgsql
pw groupadd -n web
pw useradd -n postgres -g web -d /usr/local/pgsql -s /bin/bash
chown -R postgres:web /usr/local/pgsql /usr/local/src/postgresql-7.4.7
chmod -R 750 /usr/local/pgsql
Set PostgreSQL to start on boot
[root ~]# cp /tmp/openacs-5.2.0d1/packages/acs-core-docs/www/files/postgresql.txt /usr/local/etc/rc.d/postgresql.sh
[root ~]# chown root:wheel /usr/local/etc/rc.d/postgresql.sh
[root ~]# chmod 755 /usr/local/etc/rc.d/postgresql.sh
[root ~]#
cp /tmp/openacs-5.2.0d1/packages/acs-core-docs/www/files/postgresql.txt /usr/local/etc/rc.d/postgresql.sh
chown root:wheel /usr/local/etc/rc.d/postgresql.sh
chmod 755 /usr/local/etc/rc.d/postgresql.sh
Test the script
[root ~]# /usr/local/etc/rc.d/postgresql.sh stop
Stopping PostgreSQL: ok
[root ~]#
If PostgreSQL successfully stopped, then turn it back on because we'll use it later.
[root root]# /usr/local/etc/rc.d/postgresql.sh start
Starting PostgreSQL: ok
[root root]#
/usr/local/etc/rc.d/postgresql.sh start
PostgreSQL performance tuning
See man syctl, man 5 sysctl and man 5 loader.conf.
Installing Libthreads 2.6.5
cd /usr/local/src/aolserver/
fetch http://mesh.dl.sourceforge.net/sourceforge/tcl/thread2.6.5.tar.gz
tar xzpf thread2.6.5.tar.gz
cd thread2.6.5/unix
less ../README
../configure --help
../configure --enable-threads --prefix=/usr/local/aolserver --exec-prefix=/usr/local/aolserver --with-aolserver=/usr/local/aolserver --with-tcl=/usr/local/lib/tcl8.4-threads
gmake
gmake install
Creating users
We need to add more parameters to have user environments match the linux ones expected by the en:openacs-reference-platform.
Create users this way:
[root root]# mkdir -p /home/$OPENACS_SERVICE_NAME
[root root]# pw useradd -n $OPENACS_SERVICE_NAME -g web -d /home/$OPENACS_SERVICE_NAME -s /bin/bash
[root root]#
mkdir -p /home/$OPENACS_SERVICE_NAME
pw useradd -n $OPENACS_SERVICE_NAME -g web -d /home/$OPENACS_SERVICE_NAME -s /bin/bash
Created by Gustaf Neumann, last modified by Unregistered Visitor 03 Nov 2013, at 05:17 PM
@event@
Abstract: @_text@
@detail_link@
Created by Gustaf Neumann, last modified by Unregistered Visitor 03 Nov 2013, at 05:17 PM
@event@
Abstract: @_text@
@detail_link@
Created by , last modified by Unregistered Visitor 03 Nov 2013, at 05:17 PM
@image_url@ @_text@
@detail_link@
Created by Gustaf Neumann, last modified by Gustaf Neumann 10 Oct 2013, at 08:34 PM
By Categories
Cookbook
External Resources
Subsystems Documentation
OpenACS Projects
Package Documentation
Events
Created by Gustaf Neumann, last modified by Gustaf Neumann 16 Sep 2013, at 09:33 PM
Package Specification Summary for Package: dotlrn-messages
Summary: |
|
Description: |
|
Maturity: |
New Submission or Maturity Unknown |
This package depends on: |
dotlrn messages-portlet |
Packages that depend on dotlrn-messages: |
None |
Package parameters: |
None
|
Bug Tracker Summary for Package: dotlrn-messages
There is no package with the name "dotlrn-messages" known to bug-tracker.
Code Metrics Summary for Package: dotlrn-messages
# Tcl Procs |
0 |
# Tcl Lines |
0 |
# Tcl Blank Lines |
1 |
# Tcl Comment Lines |
0 |
# Automated Tests |
0 |
# Stored Procedures |
PG: 0 ORA: 0 |
# SQL Lines |
PG: 0 (blank 1 comments 0)
ORA: 0 (blank 1 comments 0) |
# ADP pages |
0 |
# ADP lines |
0 |
# Include pages (dotlrn-messages/lib/) |
0 |
# Documentation pages |
0
|
# Documentation lines |
0 |
Browse Source |
Not installed |
Github Repository: |
https://github.com/openacs/dotlrn-messages/tree/oacs-5-10
|