Changeset 5838
- Timestamp:
- 03/27/12 17:37:42 (12 years ago)
- Location:
- trunk/INSTALL/arquivos/scripts
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/INSTALL/arquivos/scripts/bd.sh
r5836 r5838 23 23 24 24 25 <<<<<<< .mine26 27 25 cp -f $PG_CONF $DIR_CONF/ 28 26 cp -f $PG_HBA $DIR_CONF/ 29 # service postgresql start30 =======31 32 cp -f $PG_CONF $DIR_CONF/33 cp -f $PG_HBA $DIR_CONF/34 35 >>>>>>> .r582436 27 } 37 28 38 <<<<<<< .mine 39 bd_ubuntu1110 () { 29 bd_ubuntu-11.10 () { 40 30 DIR_PG=$1 41 31 PG_CONF=$2 … … 49 39 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 50 40 51 52 53 41 cp -f $PG_CONF $DIR_CONF/ 54 42 cp -f $PG_HBA $DIR_CONF/ 55 43 } 56 44 57 58 59 45 # Cria a base de dados e importa os SQLs padroes 60 =======61 # Cria a base de dados e importa os SQLs padroes62 >>>>>>> .r582463 46 create_db () 64 47 { … … 86 69 chmod -R 770 $DIR_PG 87 70 88 <<<<<<< .mine89 bd $DIR_PG $PG_CONF $PG_HBA $DIR_CONF90 rm -f $DIR_PG/postgresql.conf91 rm -f $DIR_PG/pg_hba.conf92 =======93 71 bd $DIR_PG $PG_CONF $PG_HBA $DIR_CONF 94 72 rm -f $DIR_PG/postgresql.conf 95 73 rm -f $DIR_PG/pg_hba.conf 96 74 97 >>>>>>> .r582498 75 /etc/init.d/postgresql start 99 76 … … 136 113 create_db 137 114 } 138 139 115 140 116 bd_ubuntu-11.10 () … … 180 156 bd_rhel $DIR_PG $RHEL6/postgresql.conf $RHEL6/pg_hba.conf $DIR_CONF 181 157 } 182 -
trunk/INSTALL/arquivos/scripts/http.sh
r5836 r5838 18 18 HEADER_PWD=`php $ARQS/scripts/pass.php $LDAP_PWD` 19 19 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 22 21 23 =======24 chmod 640 $DIR_EXPRESSO/header.inc.php25 26 /etc/init.d/apache2 restart27 >>>>>>> .r582428 22 # Requisita o domino para corrigir o hosts do servidor, utilizado pelo apache 29 23 get_org … … 70 64 } 71 65 72 http_ubuntu-11.10 ()66 http_ubuntu-11.10 () 73 67 { 74 68 http_debian-squeeze 75 69 cp -a ubuntu/11.10/.htaccess $DIR_EXPRESSO 76 70 cp -a ubuntu/11.10/etc/apache2/apache2.conf /etc/apache2/ 71 77 72 /etc/init.d/apache2 restart 78 73 } -
trunk/INSTALL/arquivos/scripts/imap.sh
r5836 r5838 1 2 1 # Servico IMAP (Cyrus-IMAP) 3 2 -
trunk/INSTALL/arquivos/scripts/ldap.sh
r5836 r5838 1 2 1 # Servico LDAP (OpenLDAP) 3 2 … … 84 83 } 85 84 86 #87 # TODO: Preciso de alguem que ajude a testar o SLES! Nao garanto que este codigo funcione88 #89 ldap_sles ()90 {91 yast -i install openldap2 openldap2-client openldap2-devel openldap2-back-meta openldap2-back-perl db4292 rcldap stop93 rm -rf /var/lib/ldap/*94 ldap sles10/etc/openldap/slapd.conf /etc/openldap/slapd.conf /etc/openldap/schema95 # Qual o usuário no SLES??96 chown -R ldap:ldap /var/lib/ldap97 rcldap ldap start98 }99 100 ldap_sles10 ()101 {102 ldap_sles103 }
Note: See TracChangeset
for help on using the changeset viewer.