IRedMail com Nginx: mudanças entre as edições
De MochilaWiki
Ir para navegaçãoIr para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 5: | Linha 5: | ||
/etc/init.d/apache2 stop | /etc/init.d/apache2 stop | ||
sed -i 's/post_max_size\ =\ 8M/post_max_size\ =\ 10M/g' /etc/php5/cgi/php.ini | sed -i 's/post_max_size\ =\ 8M/post_max_size\ =\ 10M/g' /etc/php5/cgi/php.ini | ||
sed -i 's/upload_max_filesize\ =\ 2M/upload_max_filesize\ =\ 10M/g' /etc/php5/ | sed -i 's/upload_max_filesize\ =\ 2M/upload_max_filesize\ =\ 10M/g' /etc/php5/cgi/php.ini | ||
ln -s /usr/share/apache2/roundcubemail-0.3.1/ /usr/share/apache2/webmail | ln -s /usr/share/apache2/roundcubemail-0.3.1/ /usr/share/apache2/webmail | ||
ln -s /usr/share/apache2/phpldapadmin-1.2.0.5 /usr/share/apache2/ldap | ln -s /usr/share/apache2/phpldapadmin-1.2.0.5 /usr/share/apache2/ldap | ||
Edição das 14h35min de 5 de fevereiro de 2011
Depois de instalar o Iredmail e o Nginx faça:
update-rc.d -f apache2 remove
/etc/init.d/apache2 stop
sed -i 's/post_max_size\ =\ 8M/post_max_size\ =\ 10M/g' /etc/php5/cgi/php.ini
sed -i 's/upload_max_filesize\ =\ 2M/upload_max_filesize\ =\ 10M/g' /etc/php5/cgi/php.ini
ln -s /usr/share/apache2/roundcubemail-0.3.1/ /usr/share/apache2/webmail
ln -s /usr/share/apache2/phpldapadmin-1.2.0.5 /usr/share/apache2/ldap
ln -s /usr/share/apache2/roundcubemail-0.3.1/ /usr/share/apache2/mail
wget http://pub.nkosi.org/iredmail/nginx.conf-iredmail
mv nginx.conf-iredmail /etc/nginx/sites-enabled/iredmail
funciona
- https://mail.elegbara.net/webmail/
- https://mail.elegbara.net/phpmyadmin
- https://mail.elegbara.net/postfixadmin/
falta ainda
IRedMail with Nginx