Changeset 5871


Ignore:
Timestamp:
04/03/12 16:36:29 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2557 - adicionado os scripts do crontab e correção no delivey do postfix

Location:
trunk/INSTALL
Files:
2 added
8 edited

Legend:

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

    r5838 r5871  
    2727} 
    2828 
    29 bd_ubuntu-11.10 () { 
     29bd_ubuntu1110 () { 
    3030        DIR_PG=$1 
    3131        PG_CONF=$2 
  • trunk/INSTALL/arquivos/scripts/http.sh

    r5840 r5871  
    2828        cat /etc/hosts >> $NOVOHOSTS 
    2929        mv -f $NOVOHOSTS /etc/hosts 
     30         
     31        #Script para o alarme 
     32        sed -e "s|EXPRESSO_DIR|$DIR_EXPRESSO|g" $ARQS/alarme > /etc/cron.d/alarme 
     33                 
     34        #Script de agendamento de tarefa, para limpeza das tabelas 
     35        sed -e "s|EXPRESSO_DIR|$DIR_EXPRESSO|g" $ARQS/limpa_tabela > /etc/cron.d/limpa_tabela 
     36 
     37                 
    3038} 
    3139 
     
    6068        # Copia a configuração do PHP 
    6169        #cp -a debian/squeeze/etc/php5/apache2/php.ini /etc/php5/apache2/ 
    62  
     70        /etc/init.d/cron restart 
    6371        /etc/init.d/apache2 restart 
    6472} 
     
    6977        cp -a ubuntu/11.10/.htaccess $DIR_EXPRESSO 
    7078        cp -a ubuntu/11.10/etc/apache2/apache2.conf /etc/apache2/ 
    71  
     79        /etc/init.d/cron restart 
    7280        /etc/init.d/apache2 restart 
    7381} 
     
    95103        sed -e "s/DOMAIN/$DOMAIN/g" rhel/6/etc/httpd/conf.d/expresso.conf > /etc/httpd/conf.d/expresso.conf 
    96104        cp -a rhel/6/etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ 
    97  
     105        /etc/init.d/crond restart 
    98106        service httpd restart 
    99107} 
  • trunk/INSTALL/arquivos/scripts/imap.sh

    r5838 r5871  
    5151imap_rhel () 
    5252{ 
    53         yum -y install cyrus-imapd cyrus-imapd-perl cyrus-imapd-utils cyrus-sasl cyrus-sasl-ldap cyrus-sasl-plain perl-IO-Socket-SSL     
     53        yum -y install cyrus-imapd cyrus-imapd-utils cyrus-sasl cyrus-sasl-ldap cyrus-sasl-plain perl-IO-Socket-SSL      
    5454         
    5555        imap 
  • trunk/INSTALL/arquivos/scripts/php.sh

    r5797 r5871  
    88                # Utiliza o repositorio do Remi, que possui (em 10/09/09) o php-5.3.0 
    99                # http://blog.famillecollet.com/pages/Config-en 
    10                 rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm 
     10                rpm -Uvh http://download.fedoraproject.com/pub/epel/6/x86_64/epel-release-5-3.noarch.rpm 
    1111                wget http://rpms.famillecollet.com/remi-enterprise.repo -O /etc/yum.repos.d/remi-enterprise.repo 
    1212                # Atualiza os pacotes... 
  • trunk/INSTALL/arquivos/scripts/smtp.sh

    r5836 r5871  
    1010        sed -e "s/DOMAIN/$DOMAIN/g" $DIR_POSTFIX/expresso-dominios > /etc/postfix/expresso-dominios 
    1111        sed -e "s/DOMAIN/$DOMAIN/g" $DIR_POSTFIX/transport > /etc/postfix/transport 
    12         #cp $DIR_POSTFIX/master.cf /etc/postfix/ 
     12        cp $DIR_POSTFIX/master.cf /etc/postfix/ 
    1313 
    1414        postmap /etc/postfix/expresso-dominios 
    1515        postmap /etc/postfix/transport 
     16        adduser postfix mail 
    1617} 
    1718 
     
    3435smtp_debian () 
    3536{ 
    36         apt-get -y install postfix 
     37        apt-get -y install postfix postfix-ldap 
    3738 
    3839        smtp $1 
  • trunk/INSTALL/debian/squeeze/etc/postfix/main.cf

    r5797 r5871  
    1717inet_interfaces = all 
    1818disable_dns_lookups = no  
    19 #mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp 
    20 transport_maps = hash:/etc/postfix/transport 
     19mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp 
     20#transport_maps = hash:/etc/postfix/transport 
    2121 
    2222 
  • trunk/INSTALL/rhel/6/etc/postfix/main.cf

    r5797 r5871  
    682682inet_interfaces = all 
    683683disable_dns_lookups = no  
    684 mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp 
     684#mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp 
    685685 
    686686#smtpd_use_tls = no  
  • trunk/INSTALL/rhel/6/etc/postfix/transport

    r5797 r5871  
    1 DOMAIN lmtp:unix:/var/run/cyrus/socket/lmtp 
     1DOMAIN lmtp:unix:/var/lib/imap/socket/lmtp 
Note: See TracChangeset for help on using the changeset viewer.