Ignore:
Timestamp:
11/12/12 22:57:19 (11 years ago)
Author:
wmerlotto
Message:

Ticket #3191 - Alteracoes no instalador, para suportar novo SO e para realizar pequenos ajustes.

Location:
trunk/INSTALL/arquivos/scripts
Files:
6 edited

Legend:

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

    r7278 r7503  
    9797} 
    9898 
    99 bd_ubuntu_1110 () 
     99bd_ubuntu_1204 () 
    100100{ 
    101101        DIR_PG="/var/lib/postgresql/9.1/main" 
    102102        DIR_CONF="/etc/postgresql/9.1/main" 
    103         UBUNTU=ubuntu/11.10/$DIR_CONF 
     103        UBUNTU=ubuntu/12.04/$DIR_CONF 
    104104        bd_ubuntu $DIR_PG $UBUNTU/postgresql.conf $UBUNTU/pg_hba.conf $DIR_CONF 
    105105} 
  • trunk/INSTALL/arquivos/scripts/http.sh

    r7278 r7503  
    1010 
    1111        DIR_EXPRESSO="$1/expresso" 
     12        # Caso ja exista o diretorio destino, altera o nome 
     13        [ -e $DIR_EXPRESSO ] && mv $DIR_EXPRESSO $DIR_EXPRESSO-`date +"%F"` 
    1214        # Copia o Expresso para o diretório indicado como parâmetro 
    1315        echo "Copiando arquivos do Expresso Livre..." 
     
    8486        /etc/init.d/cron restart 
    8587        /etc/init.d/apache2 restart 
     88 
     89        ## Alteracao para compatibilizar o diretorio de sessao do PHP 
     90        # o diretorio padrao da sessao do PHP eh do Centos. 
     91        sed -e "s|/dev/shm|/var/lib/php5|g" ../.htaccess > $DIR_EXPRESSO/.htaccess 
    8692} 
    8793 
    88 http_ubuntu_1110 () 
     94http_ubuntu_1204 () 
    8995{ 
    9096        http_debian_6 
    91         # O nome do pacote do memcache no Debian é diferente do Ubuntu 
     97        # O nome do pacote do memcache no Ubuntu é diferente do Debian 
    9298        apt-get -y install libmemcached6 
    93         cp -a ubuntu/11.10/.htaccess $DIR_EXPRESSO 
    94         cp -a ubuntu/11.10/etc/apache2/apache2.conf /etc/apache2/ 
     99 
     100        cp -a ubuntu/12.04/etc/apache2/apache2.conf /etc/apache2/ 
    95101        /etc/init.d/cron restart 
    96102        /etc/init.d/apache2 restart 
  • trunk/INSTALL/arquivos/scripts/imap.sh

    r6261 r7503  
    2929 
    3030        SQUEEZE=debian/squeeze/etc 
    31         cp $SQUEEZE/imapd.conf /etc/ 
    32         cp $SQUEEZE/cyrus.conf /etc/ 
    33         cp $SQUEEZE/default/saslauthd /etc/default/ 
     31        cp -f $SQUEEZE/imapd.conf /etc/ 
     32        cp -f $SQUEEZE/cyrus.conf /etc/ 
     33        cp -f $SQUEEZE/default/saslauthd /etc/default/ 
    3434 
    3535        imap_debian 
     
    4343} 
    4444 
    45 imap_ubuntu_1110 () 
     45imap_ubuntu_1204 () 
    4646{ 
    47         imap_debian_6 
     47        apt-get -y install cyrus-admin-2.4 cyrus-clients-2.4 cyrus-common-2.4 cyrus-doc-2.4 cyrus-imapd-2.4 \ 
     48                        libcyrus-imap-perl24 libsasl2-modules sasl2-bin libmail-imapclient-perl \ 
     49                        libparse-recdescent-perl libterm-readkey-perl libterm-readline-perl-perl 
     50 
     51        UBUNTU=ubuntu/12.04/etc 
     52        cp -f $UBUNTU/imapd.conf /etc/ 
     53        cp -f $UBUNTU/cyrus.conf /etc/ 
     54        cp -f $UBUNTU/default/saslauthd /etc/default/ 
     55 
     56        imap_debian 
     57 
     58        /etc/init.d/saslauthd restart 
     59        # TODO: e necessario colocar para inicializar automaticamente? 
     60        sleep 4 
     61        /etc/init.d/cyrus-imapd restart 
     62 
     63        create_mbox 
    4864} 
    4965 
  • trunk/INSTALL/arquivos/scripts/ini.sh

    r6261 r7503  
    2525} 
    2626 
    27 ini_ubuntu_1110 () 
     27ini_ubuntu_1204 () 
    2828{ 
    2929        ini_debian_6     
  • trunk/INSTALL/arquivos/scripts/ldap.sh

    r6261 r7503  
    5555} 
    5656 
    57 ldap_ubuntu_1110 () 
     57ldap_ubuntu_1204 () 
    5858{ 
    5959        ldap_debian_6 
  • trunk/INSTALL/arquivos/scripts/smtp.sh

    r6261 r7503  
    4949} 
    5050 
    51 smtp_ubuntu_1110 () 
     51smtp_ubuntu_1204 () 
    5252{ 
    5353        smtp_debian_6 
Note: See TracChangeset for help on using the changeset viewer.