- Timestamp:
- 09/26/12 10:36:21 (12 years ago)
- Location:
- sandbox/2.4.3-expresso-rest
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.3-expresso-rest
- Property svn:mergeinfo changed
/trunk merged: 7274-7278,7285-7286,7297-7299,7303
- Property svn:mergeinfo changed
-
sandbox/2.4.3-expresso-rest/INSTALL/arquivos/scripts/http.sh
r7058 r7304 26 26 get_org 27 27 # Faz backup do hosts 28 cp -f /etc/hosts /etc/hosts.`date "+%s"` 28 cp -f /etc/hosts /etc/hosts.`date "+%s"` || log_erro "Erro ao copiar o /etc/hosts!" 29 29 NOVOHOSTS=`mktemp` 30 30 echo "127.0.0.1 $DOMAIN localhost `hostname`" > $NOVOHOSTS 31 cat /etc/hosts >> $NOVOHOSTS 31 cat /etc/hosts >> $NOVOHOSTS || log_erro "Erro ao agregar o /etc/hosts!" 32 32 mv -f $NOVOHOSTS /etc/hosts 33 33 … … 52 52 apt-get install -y apache2-mpm-prefork libapache2-mod-php5 apache2-utils \ 53 53 php5 php5-common php5-dev php5-gd php5-imap php5-ldap php5-pgsql php5-cgi php5-cli php5-curl php5-xmlrpc php5-memcache php5-pspell \ 54 libgv-php5 zip unzip memcached libmemcached554 libgv-php5 zip unzip memcached 55 55 # Copia os arquivos do Expresso Livre 56 56 cpexpresso "/var/www" … … 69 69 { 70 70 http_debian 71 # O nome do pacote do memcache no Debian é diferente do Ubuntu 72 apt-get -y install libmemcached5 || log_erro "Pacote nao encontrado" 71 73 # Copia a configuração do servidor apache2 72 74 cp -a debian/squeeze/etc/apache2/apache2.conf /etc/apache2/ … … 87 89 { 88 90 http_debian_6 91 # O nome do pacote do memcache no Debian é diferente do Ubuntu 92 apt-get -y install libmemcached6 89 93 cp -a ubuntu/11.10/.htaccess $DIR_EXPRESSO 90 94 cp -a ubuntu/11.10/etc/apache2/apache2.conf /etc/apache2/
Note: See TracChangeset
for help on using the changeset viewer.