Forum OpenACS Q&A: Getting file Storage to work

Collapse
Posted by Rajesh Singh on
I installed openacs-3.2.5 and aolserver-3.2 using Jonathan's
instructions... Now I need help to change the port number from 8000
to 80, change the default host name.
I want to set this server for file storage.
Can somebody let me know how to configure all of the above....
Collapse
Posted by Stan Kaufman on
From the sample config file for OpenACS

particularly this bit:

----------------

# 
# If httpport is set to 80, you'll have to start AOLserver as root and pass the user 
# AOLserver will run as in the command line. (e.g. ./nsd -u nsadmin -g nsadmin -t ../nsd.tcl)
# (assuming you're starting AOLserver from the {aolserverdir}/bin directory.

set httpport               80 
set httpsport             443 


#
# Make sure your /etc/hostname is setup right, with your full domain. If you want AOLserver 
# to listen to www.foobar.com instead of foobar.com then hard code the appropriate domain  
# in the line below (e.g. set hostname www.foobar.com).
#
set hostname              [ns_info hostname]  
set address               [ns_info address] 

# 
# You can name your server whatever you want, but you'll need a directory with that
# name under {aolserverdir}/servers/ writable by you AOLserver user.
#
# For example: if your AOLserver is in /usr/local/aolserver and your server is "server1"
# you will need a /usr/local/aolserver/servers/server1 directory.
#
set server                 "server1" 
set servername             "openacs" 
-------------------------

Sounds like you need to check here generally: https://openacs.org/doc/openacs/

HTH!

Collapse
Posted by Jonathan Marsden on
There is a link to the documentation on the default OpenACS front page -- reading the docs is definitely a good idea before trying to set up a 'real' OpenACS site. Your post doesn't indicate whether or not you have done this.

The two changes you mention can be made in the config file /etc/aolserver/nsd.tcl which is reasonably clear and well commented. The README-rpm.txt file which is installed when you install from my OpenACS RPMs contains specific instructions on altering the port used.

You might find some of the ideas in Eric Raymond's "How to Ask Questions the Smart Way" at http://www.tuxedo.org/~esr/faqs/smart-questions.html helpful in the general area of asking and resolving technical questions.