Mudanças entre as edições de "IRedMail com Nginx"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Linha 1: Linha 1:
 
Depois de instalar o [[Iredmail]] e o [[Nginx]] faça:
 
Depois de instalar o [[Iredmail]] e o [[Nginx]] faça:
  
 +
<source lang="bash">
 
  update-rc.d -f apache2 remove
 
  update-rc.d -f apache2 remove
 
  /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/cgi/php.ini
+
  sed -i 's/upload_max_filesize\ =\ 2M/upload_max_filesize\ =\ 10M/g' /etc/php5/cgih/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/roundcubemail-0.3.1/ /usr/share/apache2/mail
 
  wget http://pub.nkosi.org/iredmail/nginx.conf-iredmail
 
  wget http://pub.nkosi.org/iredmail/nginx.conf-iredmail
 
  mv nginx.conf-iredmail /etc/nginx/sites-enabled/iredmail
 
  mv nginx.conf-iredmail /etc/nginx/sites-enabled/iredmail
 +
</source>
  
 
funciona
 
funciona

Edição das 19h25min de 20 de janeiro 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/cgih/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

falta ainda

IRedMail with Nginx