/etc/openacs/install/install.tcl is in openacs 5.9.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 | # This is the configuration file for the install.sh script
# for installing OpenACS services
#
#######################################################################
#
# Things you will probably want to inspect and change
#
#######################################################################
#---------------------------------------------------------------------
# New Service Configuration
# Values in this section will be written into the config.tcl of the
# the new site if do_checkout=yes or do_checkout=up
#---------------------------------------------------------------------
#---------------------------------------------------------------------
# the name of your service (site).
# It will be used as the name of directories, the name of database
# users and/or tablespaces, etc.
set server "service0"
#---------------------------------------------------------------------
# Server root directory. This is where all of the files for your server
# will live.
set serverroot "/var/lib/aolserver/${server}"
#---------------------------------------------------------------------
# The host name (DNS) the server will be listening on
set server_host yourserver.test
#---------------------------------------------------------------------
# The IP address the server will be listening on
set server_ip 127.0.0.1
#---------------------------------------------------------------------
# The port number the server will be listening on
set server_port 8000
#---------------------------------------------------------------------
# The URL where your server will be accessible.
# This is used by the installation scripts to complete the installation.
# Don't forget to include the port number above
set server_url "http://${server_ip}:${server_port}"
#---------------------------------------------------------------------
# OS user and group that AOLserver runs as. We recommend that you
# create a new user for your server.
# If you do not want to do that, change the user name below
set aolserver_user ${server}
set aolserver_group "web"
#---------------------------------------------------------------------
# End of settings for config.tcl
#---------------------------------------------------------------------
#---------------------------------------------------------------------
# OpenACS configuration
# These settings will be used when the install script walks the
# installation setup web page
set admin_email "admin@${server_host}"
set admin_username "admin"
set admin_first_names "Admin"
set admin_last_name "User"
set admin_password "1"
set system_name "An OpenACS Development Server"
set publisher_name "An OpenACS Developer"
#---------------------------------------------------------------------
# Should we automatically grab the OpenACS code from CVS?
# If this is yes, we will build a new server from CVS and also set up
# daemontools directories if appropriate
# If not, you must have already unpacked a tar-ball or done a cvs checkout
# of acs-core or more (not just the checkout of /install you used to get
# this file) in the server root# directory specified above. A third option
# is to set this parameter to "up" in which case a full cvs update of the
# tree will be done instead of the checkout. The cvs update will fully update
# existing packages without checkout out new ones.
set do_checkout "yes"
#---------------------------------------------------------------------
# Which branch or symbolic tag should we use for the checkout. Use:
# "HEAD" to get the latest code,
# openacs-5-0-0-final to get version 5.0.0.
# oacs-5-0 to get the 5.0 branch.
set oacs_branch "HEAD"
#---------------------------------------------------------------------
# Which additional packages should be checked out.
# A space separated list of OpenACS packages to checkout in addition
# to the OpenACS core packages (acs-core).
# These packages must be modules as defined in the cvs repository
# file :openacs.org:/cvsroot/CVSROOT/modules.
set packages_list ""
# example: cvs checkout of simulation and all pre-reqs
# We don't use dotLRN, which is the obvious example, because it's still
# a special case - see elsewhere in this doc.
#set packages_list "bcms notifications simulation acs-mail-lite workflow file-storage"
#---------------------------------------------------------------------
# Optional install.xml file
# An absolute path to an install.xml file which controls the OpenACS
# installation
set install_xml_file ""
# example: install simulation during server setup
#set install_xml_file "${serverroot}/packages/simulation/install.xml"
#---------------------------------------------------------------------
# Choose which database you will use - Say 'oracle' or 'postgres'
set database "postgres"
#----------------------------------------------------------------------
# Database configuration - PostgreSQL
#----------------------------------------------------------------------
#---------------------------------------------------------------------
# Name of the postgres admin user
set pg_db_admin postgres
#---------------------------------------------------------------------
# Name of the postgres user for web service access
set pg_db_user ${server}
#---------------------------------------------------------------------
# Name of the PostgreSQL database. Will be created.
set db_name ${server}
#---------------------------------------------------------------------
# The host running PostgreSQL
set pg_host localhost
#---------------------------------------------------------------------
# The port PostgreSQL is running on. Default PostgreSQL port is 5432.
set pg_port 5432
#---------------------------------------------------------------------
# The home directory of your PostgreSQL server. Type 'which psql' to find this.
set pg_bindir "/usr/local/pgsql/bin"
#----------------------------------------------------------------------
# Database configuration - Oracle
#----------------------------------------------------------------------
# The name of the Oracle user and tablespace. Will get created.
set db_name ${server}
# Password for the Oracle user
set oracle_password ${db_name}
# The system user account and password. We need this to create the tablespace and user above.
set system_user "system"
set system_user_password "manager"
#----------------------------------------------------------------------
# XML Report settings.
#----------------------------------------------------------------------
# An XML report file will be generated by the installation scripts. Such
# a file may be used by a master install server to report on the install
# results of one or more other servers.
# A text describing the purpose of the server. Must be XML quoted (for example may not contain any
# <, or > signs).
set server_description ""
#######################################################################
# System settings
#
# The remaining settings should not change for different servers, but
# might be different for different servers
#
#######################################################################
# Path to AOLserver config.tcl file to use. If you don't specify any file here, we will use the default config file.
set aolserver_config_file ""
# The path to the server's error log file, so we can look for errors during installation
set error_log_file "${serverroot}/log/error.log"
# TCLWebTest home directory
set tclwebtest_dir "/usr/local/tclwebtest"
# AOLserver's home directory
set aolserver_home "/usr/local/aolserver"
# The directory the xml report of the installation should be copied to with scp. Use
# a local absolute path if you want a local copy. Leave empty if you don't want the xml
# report copied anywhere. Example values:
# /var/log/openacs-install
# me@test.mycompany.com:/var/log/openacs-install
set report_scp_target "/var/log/openacs-install"
#----------------------------------------------------------------------
# Settings for starting and stopping the server
#----------------------------------------------------------------------
# The default server control parameters use daemontools
set use_daemontools "true"
# Do 'which svc' to find where the svc binary is installed
set svc_bindir "/usr/local/bin"
# This is the directory which daemontools scans for services to supervies.
# Normally it's /service, though there has been talk about moving it to /var/lib/svacan.
# Do not use trailing slash.
set svscanroot "/service/${server}"
# This is the directory under your server's root dir which we should link to from the
# svscanroot directory.
set svscan_sourcedir "$serverroot/etc/daemontools"
# alternate server startup commands
# enable these commands to run without daemontools
set start_server_command "exec /usr/local/aolserver/bin/nsd-postgres -it $serverroot/etc/config.tcl -u $aolserver_user -g $aolserver_group"
set stop_server_command "killall nsd"
set restart_server_command "${stop_server_command}; ${start_server_command}"
# Number of loops and seconds per loop while waiting for the server to start
# or restart
set startup_seconds 10
set startup_loop_count 30
set restart_loop_count 50
# Number of loops and seconds per loop while waiting for the server to stop
set shutdown_seconds 5
set shutdown_loop_count 10
#----------------------------------------------------------------------
# OpenACS configuration options
#----------------------------------------------------------------------
# More OpenACS configuration options
set system_owner_email "$admin_email"
set admin_owner_email "$admin_email"
set host_administrator_email "$admin_email"
set outgoing_sender_email "$admin_email"
set new_registrations_email "$admin_email"
#----------------------------------------------------------------------
# Checking out code from CVS
#----------------------------------------------------------------------
# To use for example for moving away (saving) certain files under serverroot (see README)
set pre_checkout_script ""
# To use for example for moving back certain (saved) files under serverroot (see README)
set post_checkout_script ""
#----------------------------------------------------------------------
# Install log and email alerting
#----------------------------------------------------------------------
# The keyword output by the install script to indicate
# that an email alert should be sent
set alert_keyword "INSTALLATION ALERT"
set send_alert_script "send-alert"
set install_output_file "${serverroot}/log/install-output.html"
# Where all errors in the log file during installation are collected
set install_error_file "${serverroot}/log/install-log-errors"
#----------------------------------------------------------------------
# Installing .LRN
#----------------------------------------------------------------------
# dotLRN configuration
# should we install dotlrn?
set dotlrn "no"
# Should basic demo setup of departments, classes, users, etc. be done?
set dotlrn_demo_data "no"
set dotlrn_users_data_file "users-data.csv"
set demo_users_password "guest"
#----------------------------------------------------------------------
# Tcl API testing. Not recommended for production servers.
#----------------------------------------------------------------------
set do_tclapi_testing "no"
#----------------------------------------------------------------------
# HTTP level testing and demo data setup with tclwebtest
#----------------------------------------------------------------------
# A list of full paths for any additional tclwebtest scripts that should
# be executed after install
set tclwebtest_scripts ""
# Should links be crawled to search for broken pages? If so, specify the path
# to start from here. To crawl the whole site, set this parameter to "/". To
# not do any crawling, leave empty.
set crawl_links_start_path ""
|