HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Multi-server Setup: package for mail,sql and web/ftp (http://www.howtoforge.com/forums/showthread.php?t=38872)

itanium 5th September 2009 19:47

Multi-server Setup: package for mail,sql and web/ftp
 
Hi,

I want to setup ispconfig3 with 3 servers (mail/ns2 , sql, web/ftp/ns1).

1) Shall i setup the 3 servers following the entire INSTALL_DEBIAN_5.0.txt?

2) Or shall i setup every server separately with:

-----------------------------------------------------------------------
Mail / NS2:
apt-get install postfix postfix-mysql postfix-doc courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl courier-maildrop getmail4 rkhunter binutils

apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl

Setup mydns


SQl:
apt-get install mysql-client mysql-server


Web/FTP/NS1:
apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp libopenssl-ruby

apt-get install pure-ftpd-common pure-ftpd-mysql quota quotatool

apt-get install vlogger webalizer

Setup mydns

-----------------------------------------------------------------------

Option 1 or 2? :)

Thanks

itanium 7th September 2009 20:00

I found packages for each server.

skoena 10th September 2009 21:48

I also would like to setup one server for web and one server for mail.

Server 1 is allready up and running all services.
Server 2 is added as a multiple server setup up and running (but nowt doing anything yet)

How to get Server 2 up and running to take over email?
How to setup the link to www.domain/webmail ?

Rudolf.
p.s. Till/Falko, ispconfig3 rocks, really great, love it :-)

unixix 10th September 2009 22:58

Quote:

Originally Posted by rudolfpietersma (Post 203923)
I also would like to setup one server for web and one server for mail.

Server 1 is allready up and running all services.
Server 2 is added as a multiple server setup up and running (but nowt doing anything yet)

How to get Server 2 up and running to take over email?
How to setup the link to www.domain/webmail ?

Rudolf.
p.s. Till/Falko, ispconfig3 rocks, really great, love it :-)

I'm interested too on how setup squirrelmail for each domain name so each site can have is own webmail www.domain.com/webmail and www.domain1.com/webmail and so on.

skoena 10th September 2009 23:05

Quote:

Originally Posted by unixix (Post 203930)
I'm interested too on how setup squirrelmail for each domain name so each site can have is own webmail www.domain.com/webmail and www.domain1.com/webmail and so on.

Hello,
If you follow the "The Perfect Server" setup for your system @ ispconfig.com you will get this.

My question is different.
Rudolf.

skoena 14th September 2009 23:18

Can somebody point me in the right direction?
Or is there some documentation availalbe?
Or can anybody provide me with some links?

skoena 15th September 2009 11:31

What I have done:

I have 2 servers. 1 Mainserver with SQL/WEB, 1 Mailserver. Both are visible in the ispconfig control panel.

*I removed all the email domains from the control panel because it's not possible to change from server1 to server2.
*I re-entered the email domains and email account with the name of server2.
*I changed the config of squerrelmail on server1 and changed the localhost names to the IP of server2.
*I can do the squerrelmail config_test.php, all looks fine.

But when I check the Jobqueue on server2 in the ispconfig control panel it's full with things he didn't perform since yesterday. What should I do?

Quote:

2009-09-15 10:24 mail01.skoena.nl Update mail_user
2009-09-15 09:45 server2 Insert mail_forwarding
2009-09-15 06:48 server2 Insert mail_forwarding
2009-09-15 06:47 server2 Insert mail_forwarding
2009-09-14 22:34 server2 Insert mail_user
2009-09-14 22:33 server2 Insert mail_forwarding
2009-09-14 22:33 server2 Insert mail_forwarding
2009-09-14 22:33 server2 Insert mail_forwarding
2009-09-14 22:32 server2 Update mail_user
2009-09-14 22:32 server2 Update mail_user
2009-09-14 22:32 server2 Insert mail_user
2009-09-14 22:32 server2 Insert mail_user
2009-09-14 22:31 server2 Insert mail_domain
2009-09-14 22:31 server2 Insert spamfilter_users
Rudolf.

till 15th September 2009 11:39

Most likely the slave server is naot abloe to connect to the master server. Please check that the mysql user "ispconfig" with the password that is stored in the file /usr/local/ispconfig/server/lib/config.inc.php is able to connect from the slave to the master server.

skoena 15th September 2009 11:47

Quote:

Originally Posted by till (Post 204401)
Most likely the slave server is naot abloe to connect to the master server. Please check that the mysql user "ispconfig" with the password that is stored in the file /usr/local/ispconfig/server/lib/config.inc.php is able to connect from the slave to the master server.

Hi Till,
(Sorry I'm kind of a newbie on linux.)

On the slave I do: mysql -uispconfig -p
Entered the password that was found in the file /usr/local/ispconfig/server/lib/config.inc.php on the slaveserver.
Than I can change to the dbispconfig database.
But I think I'm connected to the dbispconfig db on the slave server right? How should I connect to the main server instead?

Rudolf.

till 15th September 2009 11:50

Quote:

But I think I'm connected to the dbispconfig db on the slave server right?
Yes. To connect to the master server use this command on the slave:

mysql -h masterserver.tld -u ispconfig -p

where masterserver.tld is the hostname of the master server.


All times are GMT +2. The time now is 12:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.