View · Index

Weblog

Showing 491 - 500 of 693 Postings (summary)

OpenACS Debian Install quicksheet

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

Install AOLserver 4.5

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

Try Openacs

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:

Accounts Finance

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

Installing OpenACS on FreeBSD

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.

Installing en:postgresql

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

Workshop Announcement

Created by Gustaf Neumann, last modified by Unregistered Visitor 03 Nov 2013, at 05:17 PM

@event@

Abstract: @_text@
@detail_link@

Talk Announcement

Created by Gustaf Neumann, last modified by Unregistered Visitor 03 Nov 2013, at 05:17 PM

@event@

Abstract: @_text@
@detail_link@

News Item

Created by , last modified by Unregistered Visitor 03 Nov 2013, at 05:17 PM

@image_url@ @_text@
@detail_link@

Recently Changed Pages

Created by Gustaf Neumann, last modified by Gustaf Neumann 10 Oct 2013, at 08:34 PM

By Categories

Cookbook

External Resources

2024-09-04 11:41:27 Installing OpenACS on Windows

Subsystems Documentation

2024-09-04 11:41:27 Installing OpenACS on Windows
2024-08-18 08:41:12 OpenACS compatibility matrix

OpenACS Projects

2024-09-03 17:55:23 OpenACS Release Status
2024-09-03 17:53:07 OpenACS TODO List

Package Documentation

Events

2024-07-16 13:17:15 OpenACS conferences
All Pages
Last ModifiedTitle
2024-10-02 14:33:44NaviServer and OpenACS with Docker
2024-09-04 11:41:27Installing OpenACS on Windows
2024-09-03 17:55:23OpenACS Release Status
2024-09-03 17:53:07OpenACS TODO List
2024-09-01 14:45:27Packages available in the oacs-5-10 channel
2024-08-18 08:41:12OpenACS compatibility matrix
2024-08-06 11:54:52Managing Versions of External JavaScript Libraries
2024-07-16 13:17:15OpenACS conferences
2024-05-29 11:19:54Running OpenACS behind a proxy
2023-11-27 17:48:05Fresh install of OpenACS 5.10 on Oracle 19c
2023-11-24 18:48:26OpenACS Monitoring
2023-11-24 18:41:36Chat
2023-11-24 18:36:28XoWiki
2023-11-24 18:31:50XOTcl Core
2023-11-03 11:55:33 for beginning developers
2023-10-24 13:45:57Installing OpenACS
2023-10-24 10:04:28OpenACS 5.10.1 Change Summary
2023-10-07 17:43:29OpenACS 5.10.0 Change Summary
2023-08-18 15:00:04Install OpenACS with NaviServer from Scratch
2023-07-24 17:19:59Security Guidelines
2023-07-24 14:45:17Using OpenACS with External Identity Providers
2023-07-24 14:09:52xooauth
2023-07-24 10:45:09 Coding Standards - Index
2023-06-10 14:34:08Privacy Policy
2023-05-01 13:02:25rl_json
2023-02-06 16:48:03E-Mail: Outgoing E-Mail
2022-11-02 18:06:55Double Click Handling
2022-10-27 10:32:30Get the OpenACS Source Code
2022-09-28 11:32:39Tcl Procs
2022-09-22 23:20:54Setup with docker-s6

Messages Applet

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

Next Page
previous November 2024
Sun Mon Tue Wed Thu Fri Sat
27 28 29 30 31 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Popular tags

17 , 5.10 , 5.10.0 , 5.10.1 , 5.9.0 , 5.9.1 , ad_form , ADP , ajax , aolserver , asynchronous , bgdelivery , bootstrap , bugtracker , CentOS , COMET , compatibility , CSP , CSRF , cvs , debian , docker , docker-compose , emacs , engineering-standards , exec , fedora , FreeBSD , guidelines , host-node-map
No registered users in community xowiki
in last 30 minutes
Contributors

OpenACS.org