Last change
on this file since 463 was
456,
checked in by quentin, 17 years ago
|
mediawiki 1.11 installer + improvements to installer system
|
-
Property svn:executable set to
*
|
File size:
753 bytes
|
Rev | Line | |
---|
[127] | 1 | #!/usr/bin/perl |
---|
| 2 | use strict; |
---|
[456] | 3 | use lib '/mit/scripts/deploydev/bin'; |
---|
[127] | 4 | use onserver; |
---|
| 5 | |
---|
| 6 | setup(); |
---|
| 7 | |
---|
| 8 | `cp skins/common/images/mediawiki.png skins/common/images/wiki.png`; |
---|
| 9 | |
---|
| 10 | print "\nPlease decide upon a title for your wiki and enter it below.\n"; |
---|
| 11 | print "Desired title: "; |
---|
| 12 | my $title=<STDIN>; |
---|
| 13 | chomp($title); |
---|
| 14 | totmp("-d \"Sitename=$title&EmergencyContact=$USER\@mit.edu&LanguageCode=en&DBserver=$sqlhost&DBname=$sqldbcurl&DBuser=$sqluser&DBpassword=$sqlpass&DBpassword2=$sqlpass&defaultEmail=$USER\@mit.edu&SysopName=$admin_username&SysopPass=$admin_password&SysopPass2=$admin_password\""); |
---|
| 15 | `curl -K $tmp http://$server/~$USER/$addrend/config/index.php`; |
---|
[456] | 16 | `patch -p1 < /mit/scripts/deploy/mediawiki.patch >/dev/null`; |
---|
[127] | 17 | `cp config/LocalSettings.php .`; |
---|
| 18 | `rm -rf contrib`; |
---|
Note: See
TracBrowser
for help on using the repository browser.