Home : About
a tiny url system, provided as a service to the entire
Internet by Alternative Linux Architecture Labs.
Installation Instructions
- You must have AOLserver, Postgres, and nspostgres modules installed.
You can find AOLserver installation documentation from AOLserver or OpenACS.
- Grab the turl distribution http://myturl.com/software/dist/
- Decieded where you want to install the software, I use /web, create the
directory and extract the tar ball.
# mkdir /web (as root)
# chown nsadmin:web /web
# chmod 700 /web
# su - nsadmin
nsadmin@myturl: cd /tmp
nsadmin@myturl: wget http://myturl.com/software/dist/turl-current.tar.gz
nsadmin@myturl: cd /web
nsadmin@myturl: gzip -dc /tmp/turl-current.tar.gz| tar xvf -
- Edit the following files:
- /web/turl/etc/turl.tcl
- /web/turl/tcl/backup.tcl
- /web/turl/tcl/tcl-defs.tcl
- Create the postgres database
# su - postgres
postgres@myturl: createuser nsadmin (answer yes to both questions)
postgres@myturl: exit
# su - nsadmin
nsadmin@myturl: createdb turl
nsadmin@myturl: psql -f /web/turl/www/software/sql/turl.sql turl
Start the AOLserver for turl and everything should be running.
|
|