Difference between revisions of "User:Bootiack/AOLserver"

From ArchWiki
Jump to: navigation, search
(aolserver install notes tcl)
Line 9: Line 9:
 
notes on Installation: (read README)  
 
notes on Installation: (read README)  
  
compile your own tcl: (example)
+
compile your own tcl: (example)
./configure --prefix=/opt/tcl --enable-threads --enable-shared
+
./configure --prefix=/opt/tcl --enable-threads --enable-shared
make
+
make
make install
+
make install
  
 
I pop it in my path:
 
I pop it in my path:
ln -s /opt/tcl/bin/tclsh8.4 /usr/bin/tclsh
+
ln -s /opt/tcl/bin/tclsh8.4 /usr/bin/tclsh
  
 
was a real bitch for me on archlinux this time around after it was easy before; until a guy named frankie on irc chat #aolserver (freenode server) gave me the following:
 
was a real bitch for me on archlinux this time around after it was easy before; until a guy named frankie on irc chat #aolserver (freenode server) gave me the following:
Line 28: Line 28:
 
  LDLIB="$LDLIB -nostartfiles"
 
  LDLIB="$LDLIB -nostartfiles"
  
this now works:
+
this now works:
/path/to/tclsh8.4 nsconfig.tcl -install /aolservers_new_dir
+
/path/to/tclsh8.4 nsconfig.tcl -install /aolservers_new_dir
make
+
make
make install
+
make install
  
 
In /etc/hosts you must have the ip of your nic matching `uname -n`
 
In /etc/hosts you must have the ip of your nic matching `uname -n`
  
after you cp base.tcl to nsd.tcl; you must chown -R your_user: /aolservers_new_dir before bin/nsd -ft nsd.tcl -u your_user will start the server on port 8000.
+
after you cp base.tcl to nsd.tcl; you must  
 +
chown -R your_user: /aolservers_new_dir  
 +
before  
 +
bin/nsd -ft nsd.tcl -u your_user  
 +
will start the server on port 8000.
  
 
then tune into http://your_ip:8000 and blam! your in bizness
 
then tune into http://your_ip:8000 and blam! your in bizness

Revision as of 23:20, 30 October 2007

MORE INFO what are the advantages over any other web server?

faster and massively scalable, and has all the features of an appserver builtin.

Phil Greenspun said it best: http://philip.greenspun.com/wtr/aolserver/introduction-1.html

notes on Installation: (read README)

compile your own tcl: (example)
./configure --prefix=/opt/tcl --enable-threads --enable-shared
make
make install

I pop it in my path:

ln -s /opt/tcl/bin/tclsh8.4 /usr/bin/tclsh

was a real bitch for me on archlinux this time around after it was easy before; until a guy named frankie on irc chat #aolserver (freenode server) gave me the following:

In aolserver-4.5/configure, comment out the below lines, and add right below them:

# case "$LDLIB" in
# *gcc*)
# LDLIB="$LDLIB -nostartfiles"
# ;;
# esac
LDLIB="$LDLIB -nostartfiles"
this now works:
/path/to/tclsh8.4 nsconfig.tcl -install /aolservers_new_dir
make
make install

In /etc/hosts you must have the ip of your nic matching `uname -n`

after you cp base.tcl to nsd.tcl; you must 
chown -R your_user: /aolservers_new_dir 
before 
bin/nsd -ft nsd.tcl -u your_user    
will start the server on port 8000.

then tune into http://your_ip:8000 and blam! your in bizness