Changeset 696 for locker


Ignore:
Timestamp:
Mar 24, 2008, 11:22:07 PM (17 years ago)
Author:
price
Message:
trac autoinstaller: deploy/bin/trac
Location:
locker/deploy/bin
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • locker/deploy/bin/joomla

    r476 r696  
    55use Cwd;
    66use File::Path;
     7
     8$ua->cookie_jar({file => '.cookies'});
    79
    810setup();
     
    1416
    1517fetch_uri(
    16     'installation/install2.php',
    17     {},
    18     {DBhostname => $sqlhost,
    19      DBuserName => $sqluser,
    20      DBpassword => $sqlpass,
    21      DBDel => 0,
    22      DBname => $sqldb,
    23      DBPrefix => 'jos_',
    24      DBSample => 1});
     18    'installation/index.php',
     19    {});
    2520
    2621fetch_uri(
    27     'installation/install4.php',
     22    'installation/index.php',
    2823    {},
    29     {DBhostname => $sqlhost,
    30      DBuserName => $sqluser,
    31      DBpassword => $sqlpass,
    32      DBname => $sqldb,
    33      DBPrefix => 'jos_',
    34      sitename => $title,
    35      siteUrl => $base_uri,
    36      absolutePath => getcwd(),
    37      adminEmail => $email,
    38      adminPassword => $admin_password,
    39      filePerms => 0,
    40      dirPerms => 0});
     24    {"vars[lang]" => "en-GB",
     25     task => "preinstall"});
    4126
    42 rmtree('installation');
     27fetch_uri(
     28    'installation/index.php',
     29    {},
     30    {task => "license"});
     31
     32fetch_uri(
     33    'installation/index.php',
     34    {},
     35    {task => "dbconfig"});
     36
     37fetch_uri(
     38    'installation/index.php',
     39    {},
     40     {"vars[DBtype]" => "mysql",
     41      "vars[DBhostname]" => $sqlhost,
     42      "vars[DBuserName]" => $sqluser,
     43      "vars[DBpassword]" => $sqlpass,
     44      "vars[DBname]" => $sqldb,
     45      "vars[DBOld]" => "rm",
     46      "vars[DBPrefix]" => "jos_",
     47      "vars[lang]" => "en-GB",
     48      "vars[ftpEnable]" => 0,
     49      task => "makedb"});
     50
     51fetch_uri(
     52    'installation/index.php',
     53    {},
     54     {"vars[ftpEnable]" => 0,
     55      "vars[ftpUser]" => "",
     56      "vars[ftpPassword]" => "",
     57      "vars[ftpRoot]" => "",
     58      "vars[ftpHost]" => "",
     59      "vars[ftpPort]" => "",
     60      "vars[ftpSavePass]" => 0,
     61      lang => "en-GB",
     62      task => "mainconfig"});
     63
     64fetch_uri(
     65    'installation/index.php',
     66    {},
     67    {"vars[siteName]" => 'OHAI',
     68      "vars[adminEmail]" => $email,
     69      "vars[adminPassword]" => $admin_password,
     70      "vars[confirmAdminPassowrd]" => $admin_password,
     71      #"instDefault" => "Install Sample Data",
     72      "vars[oldPrefix]" => "",
     73      "vars[srcEncoding]" => "",
     74      sqlFile => "",
     75      sqlUploaded => "",
     76      migration => "",
     77      sqlupload => 0,
     78      migrationupload => 0,
     79      loadchecked => 0,
     80      dataLoaded => "",
     81      DBtype => "mysql",
     82      DBhostname => $sqlhost,
     83      DBuserName => $sqluser,
     84      DBpassword => $sqlpass,
     85      DBname => $sqldb,
     86      DBPrefix => "jos_",
     87      ftpRoot => "",
     88      ftpEnable => 0,
     89      ftpHost => 127.0.0.1,
     90      ftpPort => 21,
     91      ftpUser => "",
     92      ftpPassword => "",
     93      lang => "en-GB",
     94      migstatus => "",
     95     task => "saveconfig"});
     96
     97`mv installation installation-old`;
     98
     99exit 0;
Note: See TracChangeset for help on using the changeset viewer.