Revision 2245,
1.0 KB
checked in by wmerlotto, 14 years ago
(diff) |
Ticket #965 - Arquivos duplicados e referencias foram removiadas.
|
Line | |
---|
1 | |
---|
2 | # APACHE |
---|
3 | |
---|
4 | http-debian-etch () |
---|
5 | { |
---|
6 | http-debian-lenny |
---|
7 | } |
---|
8 | |
---|
9 | http-debian-lenny () |
---|
10 | { |
---|
11 | apt-get install -y apache2-mpm-prefork libapache2-mod-php5 apache2-utils php5 php5-common php5-dev php5-gd php5-imap php5-ldap php5-pgsql php5-cgi php5-cli |
---|
12 | # Copia os arquivos do Expresso Livre |
---|
13 | expresso |
---|
14 | chown -R www-data:www-data /var/www/expresso /home/expressolivre |
---|
15 | |
---|
16 | # Copia a configuração do servidor http |
---|
17 | cp ./arqs-conf-rhel5/etc/httpd/conf/httpd.conf /etc/httpd/conf/ |
---|
18 | cp ./arqs-conf-rhel5/etc/httpd/conf.d/expresso.conf /etc/httpd/conf.d/ |
---|
19 | cp ./arqs-conf-rhel5/etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ |
---|
20 | cp ./arqs-conf-rhel5/etc/php.ini /etc/ |
---|
21 | |
---|
22 | |
---|
23 | #mkdir /php_sessions/ || { echo "Diretório já existe. [OK]"; } |
---|
24 | #chmod -R 777 /php_sessions/ |
---|
25 | |
---|
26 | service httpd restart |
---|
27 | chkconfig httpd on |
---|
28 | } |
---|
29 | |
---|
30 | expresso () |
---|
31 | { |
---|
32 | cp -a `dirname `pwd`` /var/www/ |
---|
33 | |
---|
34 | #TODO: Verificar erro: |
---|
35 | sed -e "s/HEADER_PWD/$HEADER_PWD/g" ./generico/header.inc.php > /var/www/expresso/header.inc.php |
---|
36 | |
---|
37 | mkdir /home/expressolivre |
---|
38 | cp ./generico/home/expressolivre/* /home/expressolivre/ |
---|
39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.