Mudanças entre as edições de "DadaMail"
De MochilaWiki
Ir para navegaçãoIr para pesquisar(8 revisões intermediárias por 2 usuários não estão sendo mostradas) | |||
Linha 8: | Linha 8: | ||
apt-get update | apt-get update | ||
− | + | apt-get install libxml-rss-perl libio-socket-ssl-perl libgd-gd2-perl libmime-perl \ | |
− | apt-get install libxml-rss-perl libio-socket-ssl-perl libgd-perl libmime-perl \ | ||
libmime-lite-perl libhtml-scrubber-perl libnet-dns-perl libio-socket-ssl-perl \ | libmime-lite-perl libhtml-scrubber-perl libnet-dns-perl libio-socket-ssl-perl \ | ||
fckeditor | fckeditor | ||
== instalando == | == instalando == | ||
− | wget -c http:// | + | wget -c http://github.com/downloads/justingit/dada-mail/dada-4_2_0.tar.gz |
− | tar zxvf dada- | + | tar zxvf dada-4_2_0.tar.gz -C /usr/lib/cgi-bin/ |
chmod 750 /usr/lib/cgi-bin/dada/mail.cgi | chmod 750 /usr/lib/cgi-bin/dada/mail.cgi | ||
mkdir -p /home/dada/dada_files | mkdir -p /home/dada/dada_files | ||
Linha 21: | Linha 20: | ||
mkdir -p /var/www/quijaua.com.br/boletim/userfiles | mkdir -p /var/www/quijaua.com.br/boletim/userfiles | ||
chown www-data /var/www/quijaua.com.br/boletim/userfiles | chown www-data /var/www/quijaua.com.br/boletim/userfiles | ||
+ | chown www-data\: /usr/lib/cgi-bin/dada/mail.cgi | ||
+ | ln -s /etc/fckeditor/config.php /usr/share/fckeditor/editor/filemanager/connectors/php/ | ||
+ | sed -i 's/false/true/g' /etc/fckeditor/config.php | ||
+ | echo 'Alias /fckeditor/ "/usr/share/fckeditor/"' >> /etc/apache2/mods-enabled/alias.conf | ||
== customizações == | == customizações == | ||
− | em DADA/Config.pm | + | em /usr/lib/cgi-bin/dada/DADA/Config.pm |
− | |||
− | |||
− | |||
$PROGRAM_ROOT_PASSWORD = 'suasenha'; | $PROGRAM_ROOT_PASSWORD = 'suasenha'; | ||
− | |||
− | |||
− | |||
− | |||
$FILES = '/home/dada/dada_files'; | $FILES = '/home/dada/dada_files'; | ||
− | |||
− | |||
− | |||
− | |||
$PROGRAM_URL ='http://boletim.quijaua.com.br/cgi-bin/dada/mail.cgi'; | $PROGRAM_URL ='http://boletim.quijaua.com.br/cgi-bin/dada/mail.cgi'; | ||
− | |||
− | |||
$FCKEDITOR_URL ||= 'http://boletim.quijaua.com.br/fckeditor'; | $FCKEDITOR_URL ||= 'http://boletim.quijaua.com.br/fckeditor'; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== no apache == | == no apache == | ||
Linha 66: | Linha 46: | ||
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ | ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ | ||
− | |||
− | |||
<Directory "/usr/share/fckeditor/"> | <Directory "/usr/share/fckeditor/"> | ||
Linha 75: | Linha 53: | ||
</Directory> | </Directory> | ||
− | + | <Directory "/cgi-bin/"> | |
− | + | Options +ExecCGI | |
− | + | AddHandler cgi-script .cgi | |
− | + | </Directory> | |
</VirtualHost> | </VirtualHost> | ||
Linha 101: | Linha 79: | ||
* http://dadamailproject.com/installation/installation_advanced.html | * http://dadamailproject.com/installation/installation_advanced.html | ||
* http://dadamailproject.com/installation/installation_adv_semi_auto.html | * http://dadamailproject.com/installation/installation_adv_semi_auto.html | ||
− | |||
− | |||
* http://www.animaloutfitters.com/mailing_list/extras/documentation/html_version/dada2_to_dada3.pod.html | * http://www.animaloutfitters.com/mailing_list/extras/documentation/html_version/dada2_to_dada3.pod.html | ||
* http://dadamailproject.com/support/documentation-dada-3_0_2/change_root_password.cgi.html | * http://dadamailproject.com/support/documentation-dada-3_0_2/change_root_password.cgi.html | ||
+ | |||
+ | [[Categoria:Servidor]] |
Edição atual tal como às 06h07min de 10 de novembro de 2012
Página do Projeto
dependências
echo "deb http://www.backports.org/debian lenny-backports main" >> /etc/apt/sources.list wget -O - http://backports.org/debian/archive.key | apt-key add - apt-get update
apt-get install libxml-rss-perl libio-socket-ssl-perl libgd-gd2-perl libmime-perl \ libmime-lite-perl libhtml-scrubber-perl libnet-dns-perl libio-socket-ssl-perl \ fckeditor
instalando
wget -c http://github.com/downloads/justingit/dada-mail/dada-4_2_0.tar.gz tar zxvf dada-4_2_0.tar.gz -C /usr/lib/cgi-bin/ chmod 750 /usr/lib/cgi-bin/dada/mail.cgi mkdir -p /home/dada/dada_files chown -R www-data /home/dada/dada_files mkdir -p /var/www/quijaua.com.br/boletim/userfiles chown www-data /var/www/quijaua.com.br/boletim/userfiles chown www-data\: /usr/lib/cgi-bin/dada/mail.cgi ln -s /etc/fckeditor/config.php /usr/share/fckeditor/editor/filemanager/connectors/php/ sed -i 's/false/true/g' /etc/fckeditor/config.php echo 'Alias /fckeditor/ "/usr/share/fckeditor/"' >> /etc/apache2/mods-enabled/alias.conf
customizações
em /usr/lib/cgi-bin/dada/DADA/Config.pm
$PROGRAM_ROOT_PASSWORD = 'suasenha'; $FILES = '/home/dada/dada_files'; $PROGRAM_URL ='http://boletim.quijaua.com.br/cgi-bin/dada/mail.cgi'; $FCKEDITOR_URL ||= 'http://boletim.quijaua.com.br/fckeditor';
no apache
<VirtualHost 127.0.0.1:80> ServerName boletim.quijaua.com.br ServerAlias www.boletim.quijaua.com.br DocumentRoot /var/www/quijaua.com.br/boletim/ ErrorLog /var/log/apache2/boletim.quijaua.com.br-error.log CustomLog /var/log/apache2/boletim.quijaua.com.br-access.log common ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/share/fckeditor/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny </Directory> <Directory "/cgi-bin/"> Options +ExecCGI AddHandler cgi-script .cgi </Directory> </VirtualHost>
acessando interface web
Agora acesse:
Irá pedir para que você use a senha encriptografada e apresenta um sistema que gera.. insira a senha no local acima e altere:
788
$ROOT_PASS_IS_ENCRYPTED ||= 0; por $ROOT_PASS_IS_ENCRYPTED ||= 1;
Referências
- cat /usr/share/doc/fckeditor/README.Debian
- https://labs.truelite.it/truedoc/wiki/DadaMailSetup
- http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide
- http://dadamailproject.com/installation/installation_advanced.html
- http://dadamailproject.com/installation/installation_adv_semi_auto.html
- http://www.animaloutfitters.com/mailing_list/extras/documentation/html_version/dada2_to_dada3.pod.html
- http://dadamailproject.com/support/documentation-dada-3_0_2/change_root_password.cgi.html