Changeset 7503 for trunk/INSTALL/arquivos/scripts
- Timestamp:
- 11/12/12 22:57:19 (11 years ago)
- Location:
- trunk/INSTALL/arquivos/scripts
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/INSTALL/arquivos/scripts/bd.sh
r7278 r7503 97 97 } 98 98 99 bd_ubuntu_1 110()99 bd_ubuntu_1204 () 100 100 { 101 101 DIR_PG="/var/lib/postgresql/9.1/main" 102 102 DIR_CONF="/etc/postgresql/9.1/main" 103 UBUNTU=ubuntu/1 1.10/$DIR_CONF103 UBUNTU=ubuntu/12.04/$DIR_CONF 104 104 bd_ubuntu $DIR_PG $UBUNTU/postgresql.conf $UBUNTU/pg_hba.conf $DIR_CONF 105 105 } -
trunk/INSTALL/arquivos/scripts/http.sh
r7278 r7503 10 10 11 11 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"` 12 14 # Copia o Expresso para o diretório indicado como parâmetro 13 15 echo "Copiando arquivos do Expresso Livre..." … … 84 86 /etc/init.d/cron restart 85 87 /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 86 92 } 87 93 88 http_ubuntu_1 110()94 http_ubuntu_1204 () 89 95 { 90 96 http_debian_6 91 # O nome do pacote do memcache no Debian é diferente do Ubuntu97 # O nome do pacote do memcache no Ubuntu é diferente do Debian 92 98 apt-get -y install libmemcached6 93 cp -a ubuntu/11.10/.htaccess $DIR_EXPRESSO 94 cp -a ubuntu/1 1.10/etc/apache2/apache2.conf /etc/apache2/99 100 cp -a ubuntu/12.04/etc/apache2/apache2.conf /etc/apache2/ 95 101 /etc/init.d/cron restart 96 102 /etc/init.d/apache2 restart -
trunk/INSTALL/arquivos/scripts/imap.sh
r6261 r7503 29 29 30 30 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/ 34 34 35 35 imap_debian … … 43 43 } 44 44 45 imap_ubuntu_1 110()45 imap_ubuntu_1204 () 46 46 { 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 48 64 } 49 65 -
trunk/INSTALL/arquivos/scripts/ini.sh
r6261 r7503 25 25 } 26 26 27 ini_ubuntu_1 110()27 ini_ubuntu_1204 () 28 28 { 29 29 ini_debian_6 -
trunk/INSTALL/arquivos/scripts/ldap.sh
r6261 r7503 55 55 } 56 56 57 ldap_ubuntu_1 110()57 ldap_ubuntu_1204 () 58 58 { 59 59 ldap_debian_6 -
trunk/INSTALL/arquivos/scripts/smtp.sh
r6261 r7503 49 49 } 50 50 51 smtp_ubuntu_1 110()51 smtp_ubuntu_1204 () 52 52 { 53 53 smtp_debian_6
Note: See TracChangeset
for help on using the changeset viewer.