Changeset 5838


Ignore:
Timestamp:
03/27/12 17:37:42 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2557 - Corrigido problema no script do BD e HTTP

Location:
trunk/INSTALL/arquivos/scripts
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/INSTALL/arquivos/scripts/bd.sh

    r5836 r5838  
    2323         
    2424 
    25 <<<<<<< .mine 
    26  
    2725        cp -f $PG_CONF $DIR_CONF/ 
    2826        cp -f $PG_HBA $DIR_CONF/ 
    29 #       service postgresql start 
    30 ======= 
    31  
    32         cp -f $PG_CONF $DIR_CONF/ 
    33         cp -f $PG_HBA $DIR_CONF/ 
    34  
    35 >>>>>>> .r5824 
    3627} 
    3728 
    38 <<<<<<< .mine 
    39 bd_ubuntu1110 () { 
     29bd_ubuntu-11.10 () { 
    4030        DIR_PG=$1 
    4131        PG_CONF=$2 
     
    4939        sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s/LDAP_PWD/$LDAP_PWD/g" -e "s/ORG/$ORG/g" -e "s/DOMAIN/$DOMAIN/g" $ARQS/expresso.dump > /tmp/expresso.dump 
    5040 
    51  
    52  
    5341        cp -f $PG_CONF $DIR_CONF/ 
    5442        cp -f $PG_HBA $DIR_CONF/ 
    5543} 
    5644 
    57  
    58  
    5945# Cria a base de dados e importa os SQLs padroes 
    60 ======= 
    61 # Cria a base de dados e importa os SQLs padroes 
    62 >>>>>>> .r5824 
    6346create_db () 
    6447{ 
     
    8669        chmod -R 770 $DIR_PG 
    8770 
    88 <<<<<<< .mine 
    89         bd $DIR_PG $PG_CONF $PG_HBA $DIR_CONF 
    90         rm -f $DIR_PG/postgresql.conf 
    91         rm -f $DIR_PG/pg_hba.conf 
    92 ======= 
    9371        bd $DIR_PG $PG_CONF $PG_HBA $DIR_CONF 
    9472        rm -f $DIR_PG/postgresql.conf 
    9573        rm -f $DIR_PG/pg_hba.conf 
    9674 
    97 >>>>>>> .r5824 
    9875        /etc/init.d/postgresql start 
    9976 
     
    136113        create_db 
    137114} 
    138  
    139115 
    140116bd_ubuntu-11.10 () 
     
    180156        bd_rhel $DIR_PG $RHEL6/postgresql.conf $RHEL6/pg_hba.conf $DIR_CONF 
    181157} 
    182  
  • trunk/INSTALL/arquivos/scripts/http.sh

    r5836 r5838  
    1818        HEADER_PWD=`php $ARQS/scripts/pass.php $LDAP_PWD` 
    1919        sed -e "s/HEADER_PWD/$HEADER_PWD/g" -e "s|EXPRESSO_DIR|$DIR_EXPRESSO|g" $ARQS/header.inc.php > $DIR_EXPRESSO/header.inc.php 
    20 <<<<<<< .mine 
    21         chmod 640 $DIR_EXPRESSO/header.inc.php 
     20        #chmod 640 $DIR_EXPRESSO/header.inc.php 
    2221         
    23 ======= 
    24         chmod 640 $DIR_EXPRESSO/header.inc.php 
    25          
    26         /etc/init.d/apache2 restart 
    27 >>>>>>> .r5824 
    2822        # Requisita o domino para corrigir o hosts do servidor, utilizado pelo apache 
    2923        get_org 
     
    7064} 
    7165 
    72 http_ubuntu-11.10() 
     66http_ubuntu-11.10 () 
    7367{ 
    7468        http_debian-squeeze 
    7569        cp -a ubuntu/11.10/.htaccess $DIR_EXPRESSO 
    7670        cp -a ubuntu/11.10/etc/apache2/apache2.conf /etc/apache2/ 
     71 
    7772        /etc/init.d/apache2 restart 
    7873} 
  • trunk/INSTALL/arquivos/scripts/imap.sh

    r5836 r5838  
    1  
    21# Servico IMAP (Cyrus-IMAP) 
    32 
  • trunk/INSTALL/arquivos/scripts/ldap.sh

    r5836 r5838  
    1  
    21# Servico LDAP (OpenLDAP) 
    32 
     
    8483} 
    8584 
    86 # 
    87 # TODO: Preciso de alguem que ajude a testar o SLES! Nao garanto que este codigo funcione 
    88 # 
    89 ldap_sles () 
    90 { 
    91         yast -i install openldap2 openldap2-client openldap2-devel openldap2-back-meta openldap2-back-perl db42 
    92         rcldap stop 
    93         rm -rf /var/lib/ldap/* 
    94         ldap sles10/etc/openldap/slapd.conf /etc/openldap/slapd.conf /etc/openldap/schema 
    95         # Qual o usuário no SLES?? 
    96         chown -R ldap:ldap /var/lib/ldap 
    97         rcldap ldap start 
    98 } 
    99  
    100 ldap_sles10 () 
    101 { 
    102         ldap_sles 
    103 } 
Note: See TracChangeset for help on using the changeset viewer.