Last change
on this file since 240 was
127,
checked in by jbarnold, 18 years ago
|
old copies of locker software
|
-
Property svn:executable set to
*
|
File size:
841 bytes
|
Rev | Line | |
---|
[127] | 1 | #!/usr/bin/perl |
---|
| 2 | use strict; |
---|
| 3 | use lib '/mit/scripts/deploy/bin'; |
---|
| 4 | use onserver; |
---|
| 5 | |
---|
| 6 | setup(); |
---|
| 7 | |
---|
| 8 | print "\nPlease decide upon a title for your site and enter it below.\n"; |
---|
| 9 | print "Desired title: "; |
---|
| 10 | my $title = <STDIN>; |
---|
| 11 | chomp($title); |
---|
| 12 | |
---|
| 13 | totmp("-d \"DBhostname=$sqlhost&DBuserName=$sqluser&DBpassword=$sqlpass&DBDel=0&DBname=$sqldbcurl&DBPrefix=jos_&DBSample=1\""); |
---|
| 14 | `curl -K $tmp http://$server/~$USER/$addrend/installation/install2.php 2>/dev/null`; |
---|
| 15 | |
---|
| 16 | my $pwd = `pwd`; |
---|
| 17 | chomp($pwd); |
---|
| 18 | totmp("-d \"DBhostname=$sqlhost&DBuserName=$sqluser&DBpassword=$sqlpass&DBname=$sqldbcurl&DBPrefix=jos_&sitename=$title&siteUrl=http://$server/~$USER/$addrend&absolutePath=$pwd&adminEmail=$human%40mit.edu&adminPassword=$admin_password&filePerms=0&dirPerms=0\""); |
---|
| 19 | `curl -K $tmp http://$server/~$USER/$addrend/installation/install4.php 2>/dev/null`; |
---|
| 20 | |
---|
| 21 | `rm -rf installation`; |
---|
Note: See
TracBrowser
for help on using the repository browser.