Forum OpenACS Q&A: Re: OpenACS/.LRN installer in FreeBSD ports collection

Collapse
Posted by xx xx on
For development purpose you could use VMware.

Download VMware player and Freebsd 6.0 (minimal or developers) image:
http://www.vmware.com/download/player/
http://www.vmware.com/vmtn/vm/community.html

Unpack image and configure the image (= 10 minutes): sysinstall --> configure -->
- root password. Default "thoughtpolice"
- networking add: sshd and interfaces (choose DHCP, remember your IP address: probably 192.168.254.128)

Make sure your firewall is off or accepts all connections from vmware

Add and configure Freebsd port (= 10 minutes):
- (!) create user service0: pw useradd service0 -d /usr/local/pgsql
- add all packages needed: pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/openacs.tbz (5 minutes depending on your download connection)
- make sure postgresql and aolserver start at reboot:
ee /etc/rc.conf (add one a new line: postgresql_enabled="YES" ; exit with esc)
cp /usr/local/share/examples/aolserver/aolserver.sh.sample /usr/local/etc/rc.d/aolserver.sh
- configure openacs: sh /usr/local/share/examples/service0/post-config.sh XX POST-INSTALL
- restart server: shutdown -r now

- optional add browser: pkg_add -r lynx

Succes (= lifetime, hopefully ):
from terminal: lynx http://127.0.0.1:8000
from external browser: http://192.168.254.128:8000