source: locker/deploy/bin/joomla @ 240

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
Line 
1#!/usr/bin/perl
2use strict;
3use lib '/mit/scripts/deploy/bin';
4use onserver;
5
6setup();
7
8print "\nPlease decide upon a title for your site and enter it below.\n";
9print "Desired title: ";
10my $title = <STDIN>;
11chomp($title);
12
13totmp("-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
16my $pwd = `pwd`;
17chomp($pwd);
18totmp("-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.