Changeset 7503


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
Files:
4 added
1 deleted
10 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/INSTALL/arquivos/header.inc.php

    r5797 r7503  
    131131        $GLOBALS['phpgw_info']['server']['versions']['current_header'] = $setup_info['phpgwapi']['versions']['current_header']; 
    132132        unset($setup_info); 
    133         $GLOBALS['phpgw_info']['server']['versions']['header'] = '2.4.0'; 
     133        $GLOBALS['phpgw_info']['server']['versions']['header'] = '2.5.0'; 
    134134        /* This is a fix for NT */ 
    135135        if(!isset($GLOBALS['phpgw_info']['flags']['noapi']) || !$GLOBALS['phpgw_info']['flags']['noapi'] == True) 
  • 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 
  • trunk/INSTALL/expressoInstall.sh

    r7277 r7503  
    1717# 27/03/2012 - v1.0 
    1818#       Termino do instalador basico, para Debian Squeeze, CentOS 6 e Ubuntu Server 11.10 
     19# 12/11/2012 - v1.1 
     20#       Adicionado suporte ao Ubuntu LTS 12.04 
    1921 
    2022################################################################################################# 
     
    5355then 
    5456        INSTALL="debian_6" 
    55 elif ( validaSO "Ubuntu" "11.10" ) 
     57elif ( validaSO "Ubuntu" "12.04" ) 
    5658then 
    57         INSTALL="ubuntu_1110" 
     59        INSTALL="ubuntu_1204" 
    5860elif ( validaSO "CentOS" "6." || validaSO "RedHat" "6." ) 
    5961then 
     
    6264        echo "Sistema operacional desconhecido ou incompativel com o instalador do Expresso Livre!" 
    6365        echo "$OSSTR" 
    64         echo "Por favor, utilize uma distribuicao GNU/Linux compativel: Debian 6.x, Ubuntu 11.10 ou CentOS/RedHat 6.x"  
     66        echo "Por favor, utilize uma distribuicao GNU/Linux compativel: Debian 6.x, Ubuntu LTS 12.04 ou CentOS/RedHat 6.x"  
    6567        exit 1 
    6668fi 
     
    8587 
    8688# Se o usuario escolher "nao", sera retornado 1 e consequentemente o script sera encerrado.  
    87 dialog --backtitle "$BACKTITLE" --cr-wrap --yesno "$INTRO" 18 80 || exit 0 
     89dialog --backtitle "$BACKTITLE" --cr-wrap --yesno "$INTRO" 20 80 || exit 0 
    8890 
    8991# Inicia a escolha/instalacao e configuracao dos servicos nessarios ao ExpressoLivre 
  • trunk/INSTALL/rhel/6/etc/cyrus.conf

    r5797 r7503  
    1919  pop3          cmd="pop3d" listen="pop3" prefork=1 
    2020  pop3s         cmd="pop3d -s" listen="pop3s" prefork=1 
    21   sieve         cmd="timsieved" listen="sieve" prefork=1 
     21  sieve         cmd="timsieved" listen="sieve-filter" prefork=1 
    2222 
    2323  # these are only necessary if receiving/exporting usenet via NNTP 
  • trunk/header.inc.php.template

    • Property svn:mime-type changed from application/octet-stream to txt/php
Note: See TracChangeset for help on using the changeset viewer.