Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th September 2009, 18:47
itanium itanium is offline
Member
 
Join Date: Jul 2008
Location: france
Posts: 37
Thanks: 18
Thanked 3 Times in 3 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 7th September 2009, 19:00
itanium itanium is offline
Member
 
Join Date: Jul 2008
Location: france
Posts: 37
Thanks: 18
Thanked 3 Times in 3 Posts
Default

I found packages for each server.
Reply With Quote
  #3  
Old 10th September 2009, 20:48
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

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 :-)
Reply With Quote
  #4  
Old 10th September 2009, 21:58
unixix unixix is offline
Junior Member
 
Join Date: Sep 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rudolfpietersma View Post
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.
Reply With Quote
  #5  
Old 10th September 2009, 22:05
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

Quote:
Originally Posted by unixix View Post
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.
Reply With Quote
  #6  
Old 14th September 2009, 22:18
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

Can somebody point me in the right direction?
Or is there some documentation availalbe?
Or can anybody provide me with some links?
Reply With Quote
  #7  
Old 15th September 2009, 10:31
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

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.
Reply With Quote
  #8  
Old 15th September 2009, 10:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 15th September 2009, 10:47
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 413
Thanks: 75
Thanked 12 Times in 10 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

Quote:
Originally Posted by till View Post
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.
Reply With Quote
  #10  
Old 15th September 2009, 10:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
 
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:48.


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