Tags:
create new tag
, view all tags

Unix Installer

Sample Run Under SuSE Linux

Should be representative of various linuxes however...
TWiki Bootstrap Installer
=========================

This program is completely without warranty, whilst care has been taken
that it should 'do the right thing' it hasn't had much airtime, and should
therefore be viewed as being *alpha* quality.
If you don't know what that means STOP RIGHT NOW.

OK, please signify that you understand what this means by typing
'I understand I may lose all my data' to signify you wish to continue.

Assumptions:
   * You are running as root
   * You don't mind me modifying your apache config
   * You don't mind me restarting your apache server
   * That /etc/init.d/apache restart will achieve this
   * You're running a system this version is known good on.
     (Linux at present)
   * That you have a C pre-processor installed on your system

   * You downloaded the *.tar.gz release

If you wish to continue, type the message above
> I understand I may lose all my data

you typed I understand I may lose all my data

OK, attempting install
Building release : TWiki20030201
Installation directory: /home/zathras/Workspace/tmp/TWiki/alpha200306300133/twiki
Unpacking TWiki
Unpacking Second Stage Installer
Performing DataAndCodeSeparation
\n\nAbout to run Twiki/Apache Config maker
In many places pressing return to every question is what you want to do
3210
TWiki on Apache Configurator
============================

 This script will ask you for local installation settings,
 and has a wide number of defaults. (some of which are empty
 strings!) If you are happy with the default presented, just press
 return. To change the setting, simply enter the new value.

 If you're not sure what an option means, type help for a description
 if one is available.
This is the following configuration.

AUTHSCHEME=HTPASSWD_AUTH
FQDN=127.0.0.1
HTTPDCONF=/etc/httpd/httpd.conf
HTTPDLOCATION=/srv/www
LDAPBASE=dc=example,dc=com
LDAPPORT=389
LDAPSERVER=ldap.example.com
LDAPUIDATTR=uid
LOCALTEMPLATETARBALL=etc/LocalTemplates.tar
MAINWEBNAME=People
TOOLNAME=TWiki
TWIKIAUX=aux
TWIKIBASELOCATION=/home/zathras/Workspace/tmp/TWiki/alpha200306300134
TWIKIBIN=bin
TWIKISTEM=twiki
# TWIKIURL=
TWIKIWEBNAME=System
WEBHOME=HomePage
WIKIUSERS=TWikiUsers
Are you happy with this configuration ?
 - options:
   1. YES
   2. NO (current choice)
Enter chosen option number (or return for current selected) :

Section 1 - These values normally *need* changing
=================================================


Type 'help' on each option for help!
To accept the suggested value, press return

HTTPDLOCATION (/srv/www) :
TWIKIBASELOCATION (/Workspace/tmp/TWiki/alpha200306300134) :
FQDN (127.0.0.1) :
HTTPDCONF (/etc/httpd/httpd.conf) :
AUTHSCHEME - options:
   1. NONE
   2. HTPASSWD_AUTH (current choice)
   3. MOD_LDAP
   4. AUTH_LDAP
Enter chosen option number (or return for current selected) :

Section 2 - These options are normally left to defaults
=======================================================


Type 'help' on each option for help!
To accept the suggested value, press return

TWIKISTEM (twiki) :
TWIKIBIN (bin) :
TWIKIAUX (aux) :
TWIKIURL (none) :

Section 3 - Configure Some Commonly Requested 'Better' Defaults
===============================================================


Type 'help' on each option for help!
To accept the suggested value, press return

You may or may not want to change these

MAINWEBNAME (People) :
TWIKIWEBNAME (System) :
WEBHOME (HomePage) :
TOOLNAME (TWiki) :
WIKIUSERS (TWikiUsers) :


Configuration Changed.
This is the following configuration.

AUTHSCHEME=HTPASSWD_AUTH
FQDN=127.0.0.1
HTTPDCONF=/etc/httpd/httpd.conf
HTTPDLOCATION=/srv/www
LDAPBASE=dc=example,dc=com
LDAPPORT=389
LDAPSERVER=ldap.example.com
LDAPUIDATTR=uid
LOCALTEMPLATETARBALL=etc/LocalTemplates.tar
MAINWEBNAME=People
TOOLNAME=TWiki
TWIKIAUX=aux
TWIKIBASELOCATION=/home/zathras/Workspace/tmp/TWiki/alpha200306300134
TWIKIBIN=bin
TWIKISTEM=twiki
# TWIKIURL=
TWIKIWEBNAME=System
WEBHOME=HomePage
WIKIUSERS=TWikiUsers
Are you happy with this configuration ?
 - options:
   1. YES (current choice)
   2. NO
Enter chosen option number (or return for current selected) :
**********************************!
Configuration Complete - thank you!
**********************************!
You chose the following configuration:

AUTHSCHEME=HTPASSWD_AUTH
FQDN=127.0.0.1
HTTPDCONF=/etc/httpd/httpd.conf
HTTPDLOCATION=/srv/www
LDAPBASE=dc=example,dc=com
LDAPPORT=389
LDAPSERVER=ldap.example.com
LDAPUIDATTR=uid
LOCALTEMPLATETARBALL=etc/LocalTemplates.tar
MAINWEBNAME=People
TOOLNAME=TWiki
TWIKIAUX=aux
TWIKIBASELOCATION=/home/zathras/Workspace/tmp/TWiki/alpha200306300134
TWIKIBIN=bin
TWIKISTEM=twiki
# TWIKIURL=
TWIKIWEBNAME=System
WEBHOME=HomePage
WIKIUSERS=TWikiUsers
Would you like to write this configuration to disk ? - options:
   1. YES (current choice)
   2. NO
Enter chosen option number (or return for current selected) :
Enter chosen option number (or return for current selected) :
If this is a fresh installation, rather than a modification of an
existing one, accept the suggested filename - the bootstrap installer
expects this
Twiki system-config filename (twiki.system-config.new) :
Writing configuration to twiki.system-config.new
Moving the newly created config into the general/runtime location
Making the twiki.conf file for integration into TWiki
Integrating TWiki with your apache config
Restarting Apache
Shutting down httpd                                                                                 done
Starting httpd [ PERL Python ]                                                                      done
Reconfiguring TWiki setup to match configuration
Reading config
Removing lock files. The reason for this is:
   * TWiki relocks the files anyway
   * It's simpler than modifying the RCS files to match your webserver username
   * Less prone to error!
Create viewauth
Renaming default/existing webs to match the ones you've provided
Changing the WIKIWEBLIST preference to match your names for weblists
You changed WebHome - renaming files, and changing references to match
Changing all references to WebHome to %HOMETOPIC%
Patching TWiki.cfg to allow TWiki to use the configuration you provided
patching file TWiki.cfg
Fixing permissions, ownership and updating symlinks

TWiki installed, and ready to go
You should now be able to point your browser at:
   * http://127.0.0.1/twiki/bin/view/People/HomePage

If you have configured LDAP or no auth, you can start editting pages
right away. If you didn't, you will need to register first. If you chose
the wrong LDAP module, you may have to rerun either this installer or
twikiApacheConfig.pl (your choice!)

Happy Collaborating!
-- MichaelSparks - 18 Jul 2003

Sample Run Under Cygwin Under Windows

Cygwin provides a fake Unix-like environment for Windows hence why this is here. (Rather than in the Windows Installer Section - after all there isn't a native windows installer)


$ ./bootstrap.sh
TWiki Bootstrap Installer
=========================

This program is completely without warranty, whilst care has been taken
that it should 'do the right thing' it hasn't had much airtime, and should
therefore be viewed as being *alpha* quality.
If you don't know what that means STOP RIGHT NOW.

OK, please signify that you understand what this means by typing
'I understand I may lose all my data' to signify you wish to continue.

Assumptions:
   * You are running as root
   * You don't mind me modifying your apache config
   * You don't mind me restarting your apache server
   * That /etc/init.d/apache restart will achieve this
   * You're running a system this version is known good on.
     (Linux at present)
   * That you have a C pre-processor installed on your system

   * You downloaded the *.tar.gz release

If you wish to continue, type the message above
> I understand I may lose all my data

you typed I understand I may lose all my data

OK, attempting install
Building release : TWiki20030201
Installation directory: /twiki/TWiki/alpha2003-07-19-1012/twiki
Unpacking TWiki
Unpacking Second Stage Installer
Performing DataAndCodeSeparation
\n\nAbout to run Twiki/Apache Config maker
In many places pressing return to every question is what you want to do
321TWiki on Apache Configurator
============================

 This script will ask you for local installation settings,
 and has a wide number of defaults. (some of which are empty
 strings!) If you are happy with the default presented, just press
 return. To change the setting, simply enter the new value.

 If you're not sure what an option means, type help for a description
 if one is available.
This is the following configuration.

AUTHSCHEME=HTPASSWD_AUTH
FQDN=127.0.0.1
HTTPDCONF=/etc/httpd/httpd.conf
HTTPDLOCATION=/srv/www
LDAPBASE=dc=example,dc=com
LDAPPORT=389
LDAPSERVER=ldap.example.com
LDAPUIDATTR=uid
LOCALTEMPLATETARBALL=etc/LocalTemplates.tar
MAINWEBNAME=People
TOOLNAME=TWiki
TWIKIAUX=aux
TWIKIBASELOCATION=/twiki/TWiki/alpha2003-07-19-1012
TWIKIBIN=bin
TWIKISTEM=twiki
# TWIKIURL=
TWIKIWEBNAME=System
WEBHOME=HomePage
WIKIUSERS=TWikiUsers
Are you happy with this configuration ?
 - options:
   1. YES
   2. NO (current choice)
Enter chosen option number (or return for current selected) : 2

Section 1 - These values normally *need* changing
=================================================


Type 'help' on each option for help!
To accept the suggested value, press return

HTTPDLOCATION (/srv/www) : /var/www
TWIKIBASELOCATION (/twiki/TWiki/alpha2003-07-19-1012) :
FQDN (127.0.0.1) :
HTTPDCONF (/etc/httpd/httpd.conf) : /etc/apache/httpd.conf
AUTHSCHEME - options:
   1. NONE
   2. HTPASSWD_AUTH (current choice)
   3. MOD_LDAP
   4. AUTH_LDAP
Enter chosen option number (or return for current selected) :

Section 2 - These options are normally left to defaults
=======================================================


Type 'help' on each option for help!
To accept the suggested value, press return

TWIKISTEM (twiki) :
TWIKIBIN (bin) :
TWIKIAUX (aux) :
TWIKIURL (none) :

Section 3 - Configure Some Commonly Requested 'Better' Defaults
===============================================================


Type 'help' on each option for help!
To accept the suggested value, press return

You may or may not want to change these

MAINWEBNAME (People) :
TWIKIWEBNAME (System) :
WEBHOME (HomePage) :
TOOLNAME (TWiki) :
WIKIUSERS (TWikiUsers) :


Configuration Changed.
This is the following configuration.

AUTHSCHEME=HTPASSWD_AUTH
FQDN=127.0.0.1
HTTPDCONF=/etc/apache/httpd.conf
HTTPDLOCATION=/var/www
LDAPBASE=dc=example,dc=com
LDAPPORT=389
LDAPSERVER=ldap.example.com
LDAPUIDATTR=uid
LOCALTEMPLATETARBALL=etc/LocalTemplates.tar
MAINWEBNAME=People
TOOLNAME=TWiki
TWIKIAUX=aux
TWIKIBASELOCATION=/twiki/TWiki/alpha2003-07-19-1012
TWIKIBIN=bin
TWIKISTEM=twiki
# TWIKIURL=
TWIKIWEBNAME=System
WEBHOME=HomePage
WIKIUSERS=TWikiUsers
Are you happy with this configuration ?
 - options:
   1. YES (current choice)
   2. NO
Enter chosen option number (or return for current selected) :
**********************************!
Configuration Complete - thank you!
**********************************!
Configuration complete.

You chose the following configuration:

AUTHSCHEME=HTPASSWD_AUTH
FQDN=127.0.0.1
HTTPDCONF=/etc/apache/httpd.conf
HTTPDLOCATION=/var/www
LDAPBASE=dc=example,dc=com
LDAPPORT=389
LDAPSERVER=ldap.example.com
LDAPUIDATTR=uid
LOCALTEMPLATETARBALL=etc/LocalTemplates.tar
MAINWEBNAME=People
TOOLNAME=TWiki
TWIKIAUX=aux
TWIKIBASELOCATION=/twiki/TWiki/alpha2003-07-19-1012
TWIKIBIN=bin
TWIKISTEM=twiki
# TWIKIURL=
TWIKIWEBNAME=System
WEBHOME=HomePage
WIKIUSERS=TWikiUsers
Would you like to write this configuration to disk ? - options:
   1. YES (current choice)
   2. NO
Enter chosen option number (or return for current selected) :
If this is a fresh installation, rather than a modification of an
existing one, accept the suggested filename - the bootstrap installer
expects this
Twiki system-config filename (twiki.system-config.new) :
Writing configuration to twiki.system-config.new
Moving the newly created config into the general/runtime location
Making the twiki.conf file for integration into TWiki
Integrating TWiki with your apache config
chown: `.': cannot omit both user and group
Restarting Apache
/etc/init.d/apache: not found
Reconfiguring TWiki setup to match configuration
Reading config
Removing lock files. The reason for this is:
   * TWiki relocks the files anyway
   * It's simpler than modifying the RCS files to match your webserver username
   * Less prone to error!
Create viewauth
Renaming default/existing webs to match the ones you've provided
Changing the WIKIWEBLIST preference to match your names for weblists
You changed WebHome - renaming files, and changing references to match
Changing all references to WebHome to %HOMETOPIC%
Patching TWiki.cfg to allow TWiki to use the configuration you provided
(Stripping trailing CRs from patch.)
patching file TWiki.cfg
Fixing permissions, ownership and updating symlinks
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
rm: cannot remove `19': No such file or directory
chown: `.': cannot omit both user and group

TWiki installed, and ready to go
You should now be able to point your browser at:
   * http://127.0.0.1/twiki/bin/view/People/HomePage

If you have configured LDAP or no auth, you can start editting pages
right away. If you didn't, you will need to register first. If you chose
the wrong LDAP module, you may have to rerun either this installer or
twikiApacheConfig.pl (your choice!)

Happy Collaborating!

Windows Installer

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2004-01-01 - SvenDowideit
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.