Changeset 302


Ignore:
Timestamp:
02/22/06 00:04:37 (7 years ago)
Author:
anarcat
Message:

[project @ alternc: changeset 2004-05-31 04:55:19 by anonymous]
oups! enlever des références à alternc/1.0/install que j'avais oublié

Original author: anonymous
Date: 2004-05-31 04:55:19

Location:
install/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • install/scripts/alternc.install

    r285 r302  
    99 
    1010# this script needs and calls: 
    11 # /usr/share/alternc/1.0/install/initrep.sh 
    12 # /usr/share/alternc/1.0/install/mysql.sh 
    13 # su www-data -c /usr/share/alternc/1.0/install/newone.php 
     11# /usr/share/alternc/install/initrep.sh 
     12# /usr/share/alternc/install/mysql.sh 
     13# su www-data -c /usr/share/alternc/install/newone.php 
    1414 
    1515# These are the steps followed by alternc.install 
     
    2929# 9. Stop services 
    3030# 10. Create dir structure and copy panel files 
    31 # see /usr/share/alternc/1.0/install/initrep.sh 
     31# see /usr/share/alternc/install/initrep.sh 
    3232# 11. Send etc files to /etc :) 
    3333# 11.1 copy all the files setup in 7 in /etc, plus other places 
     
    3939# 13. DELETED 
    4040# 14. Create MySQL database, restart mysql and add default users 
    41 # see /usr/share/alternc/1.0/install/mysql.sh 
     41# see /usr/share/alternc/install/mysql.sh 
    4242# 15. Start services 
    4343# 16. Create the first user 
    44 # see su www-data -c /usr/share/alternc/1.0/install/newone.php 
     44# see su www-data -c /usr/share/alternc/install/newone.php 
    4545# 17. Job's done ! Ready to serve... 
    4646 
     
    237237while (($key,$val) = each(%conf_vars)) { 
    238238    print "parsing configuration file /$key    $val  "; 
    239     open F,"</usr/share/alternc/1.0/install/$key" || die "Erreur Ouverture R"; 
     239    open F,"</usr/share/alternc/install/$key" || die "Erreur Ouverture R"; 
    240240    open G,">/tmp/alternc.install.tmp/$key" || die "Erreur Ouverture W"; 
    241241    while ($buffer = <F>) { 
     
    281281system("tar -czf /usr/lib/alternc/backups/system.$TS.tgz $TMP >/dev/null 2>&1"); 
    282282system("rm -rf $TMP >/dev/null 2>&1"); 
    283 system("/usr/share/alternc/1.0/install/dopo.sh"); 
     283system("/usr/share/alternc/install/dopo.sh"); 
    284284 
    285285######################################################################### 
     
    317317 
    318318print "Creating directory structure in /var/alternc\n"; 
    319 system("/usr/share/alternc/1.0/install/initrep.sh"); 
     319system("/usr/share/alternc/install/initrep.sh"); 
    320320 
    321321 
     
    352352 
    353353print "Creating MySQL db, restarting mysql.\n"; 
    354 system("/usr/share/alternc/1.0/install/mysql.sh '".$conf{dbuser}."' '".$conf{dbpwd}."' '".$conf{dbname}."' '".$conf{myrandom}."'"); 
     354system("/usr/share/alternc/install/mysql.sh '".$conf{dbuser}."' '".$conf{dbpwd}."' '".$conf{dbname}."' '".$conf{myrandom}."'"); 
    355355 
    356356 
     
    387387print "Creating user root, with password root (change it as soon as possible)\n"; 
    388388 
    389 system("su www-data -c /usr/share/alternc/1.0/install/newone.php"); 
     389system("su www-data -c /usr/share/alternc/install/newone.php"); 
    390390 
    391391######################################################################### 
  • install/scripts/dopo.sh

    r118 r302  
    2626        cd $B 
    2727        rm -f alternc alternc.mo 
    28         /usr/share/alternc/1.0/install/po.pl 
     28        /usr/share/alternc/install/po.pl 
    2929        msgfmt alternc -o alternc.mo 
    3030        read A 
Note: See TracChangeset for help on using the changeset viewer.