source: locker/deploy/bin/wordpress @ 184

Last change on this file since 184 was 127, checked in by jbarnold, 17 years ago
old copies of locker software
  • Property svn:executable set to *
File size: 643 bytes
Line 
1#!/usr/bin/perl
2use strict;
3use lib '/mit/scripts/deploy/bin';
4use onserver;
5
6setup();
7
8totmp("-d \"dbhost=$sqlhost&uname=$sqluser&dbname=$sqldbcurl&pwd=$sqlpass&prefix=&submit=Submit&step=2\"");
9`curl -K $tmp http://$server/~$USER/$addrend/wp-admin/setup-config.php?step=2 2>/dev/null`;
10
11$admin_password=`curl -d "weblog_title=My+Blog&admin_email=$human\@mit.edu&submit=Continue&step=2" http://$server/~$USER/$addrend/wp-admin/install.php?step=2 2>/dev/null | grep '<dd><code>' | tail -n1 | cut -d\\> -f3 | cut -d\\< -f1`;
12
13print_login_info();
14print "You will also receive this login information at your MIT email address.\n";
15press_enter();
Note: See TracBrowser for help on using the repository browser.