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 24th May 2012, 19:04
maumar maumar is offline
Senior Member
 
Join Date: May 2009
Location: San Costanzo (PU - Italy)
Posts: 136
Thanks: 8
Thanked 11 Times in 11 Posts
Send a message via MSN to maumar Send a message via Skype™ to maumar
Default migrating from apache to nginix-php-fpm

hello there
i have a server on a multiserver infrastructure with apache+php.
At the moment it unused.
Now i was attracted by perfect-server-debian-squeeze-debian-6.0-with-bind-dovecot-and-nginx-ispconfig-3
I decided to give a try.
I have purged apache and installed nginx and all the other stuff.
At the moment to install ispconfig i realized that this box is part of a multiserver installation.
This is 3.0.4.4 and should be upgraded to 3.0.4.5.
What do u suggest? to unistall ispconfig and re-install it so the new installation will detect nginix as explained on howto?
Or trying the upgrade to 3.0.4.5?
NB
I would add that if this server will be removed by server table on master server is not an issue, i can rename the server and add it again with another hostname
Reply With Quote
Sponsored Links
  #2  
Old 24th May 2012, 19:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 35,814
Thanks: 821
Thanked 5,339 Times in 4,188 Posts
Default

ISPConfig has to be reinstalled, a update would not work. If the server contained already some websites then a ispconfig reinstall without a complete server reinstall will most likely not work as a server that has already sites can not be migrated from apache to nginx as the overalls etp of php and sites is very different.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th May 2012, 18:44
maumar maumar is offline
Senior Member
 
Join Date: May 2009
Location: San Costanzo (PU - Italy)
Posts: 136
Thanks: 8
Thanked 11 Times in 11 Posts
Send a message via MSN to maumar Send a message via Skype™ to maumar
Default let mysql 5.1 or upgrade to mysql 5.5?

Ok, i unistalled and re-installed, all went well
now i have another issue, and I ask u a suggestion:
here it is apt-get output in the monitor:

Code:
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
mysql-client-5.1 mysql-server mysql-server-5.1
The following NEW packages will be installed:
libaio1 mysql-client-5.5
The following packages will be upgraded:
mysql-client mysql-server-core-5.1
2 upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
Remv mysql-server [5.1.61-0+squeeze1]
Remv mysql-server-5.1 [5.1.61-0+squeeze1]
Inst mysql-client [5.1.61-0+squeeze1] (5.5.24-1~dotdeb.1 packages.dotdeb.org:stable [all]) []
Remv mysql-client-5.1 [5.1.61-0+squeeze1] []
Inst mysql-client-5.5 (5.5.24-1~dotdeb.1 packages.dotdeb.org:stable [amd64])
Inst mysql-server-core-5.1 [5.1.61-0+squeeze1] (5.1.62-1~dotdeb.0 packages.dotdeb.org:stable [amd64])
Inst libaio1 (0.3.107-7 Debian:6.0.5/stable [amd64])
Conf mysql-client-5.5 (5.5.24-1~dotdeb.1 packages.dotdeb.org:stable [amd64])
Conf mysql-client (5.5.24-1~dotdeb.1 packages.dotdeb.org:stable [all])
Conf mysql-server-core-5.1 (5.1.62-1~dotdeb.0 packages.dotdeb.org:stable [amd64])
Conf libaio1 (0.3.107-7 Debian:6.0.5/stable [amd64])
For nginix dot-deb is necessary, as u pointed out in your howto.
Issuing apt-get upgrade in ssh iI get simply:
Code:
apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  mysql-client mysql-client-5.1 mysql-server mysql-server-5.1 mysql-server-core-5.1
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
what do u suggest? I keep mysql 5.1 or i try to remove it?
In this case i have to remove and reinstall, i tried to upgrading but i got:

Code:
apt-get install  mysql-client mysql-client-5.1 mysql-server mysql-server-5.1 mysql-server-core-5.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mysql-client : Depends: mysql-client-5.5 but it is not going to be installed
 mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Broken packages
i fixed it with:
Code:
apt-get -f install
Reply With Quote
  #4  
Old 15th August 2012, 14:35
arraken arraken is offline
Member
 
Join Date: Mar 2010
Posts: 91
Thanks: 13
Thanked 3 Times in 3 Posts
Smile

Hi all,
iíve already read in the forums that itís not Ąeasilyď possible to switch from ispconfig 3 with apache to ispconfig 3 with nginx and php-fpm, but if I still wanted to do it, how should I proceed? This is what I have in mind:

I have a server running with ispconfig 3 and apache. Itís a live-server with around 10 clients on it, with around 20 domains and the same amount of email-accounts. I know that I can not simply uninstall apache and install nginx because of the different configuration files of the existing sites etc. But what if I did the following:

1. Backup the www directory and all dbís (of course.. )
2. Uninstall apache and php
3. Uninstall ispconfig 3
4. Install nginx and php-fpm
5. Reinstall ispconfig 3
6. create all client accounts from scratch in ispconfig (including websites, ftp accounts email and databases)
7. copy the backed up content of the www directory to the according folders created by ispconfig with nginx

Do you think this could work? Or is it much more complicated than that?
Another problem that I would have to tackle is e-mail: the login information would have to stay the same for my customers. Is there some way to import the e-mail settings of my clients into the new isp-config installation, after Iíve created the clients and domains the same way they were in the old ispconfig installation?

Iím thinking of trying this out on a test-platform (which I would have to set up first). But before I do that, I wanted to know if itís possible at all, of if itís a waste of my time and too complicated. Or if thereís a better and faster way than the one I described.

I would be grateful for any answers or tips!
Reply With Quote
  #5  
Old 16th August 2012, 08:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Basically this could work, but you'd also have to modify the server table in the ISPConfig database so that ISPConfig knows it's using nginx.

Personally, I'd set up the system from scratch again as it doesn't seem to be much more work than the procedure you described, and you have a clean system that will work with nginx.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 19:02
ubuntu and nginx delgado2061 Installation/Configuration 0 27th November 2011 23:36
issues in /var/log/apache2/error.log denpark Installation/Configuration 1 22nd November 2011 09:12
Problem with ispconfig 3 staff007 Installation/Configuration 4 10th October 2011 21:17
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06


All times are GMT +2. The time now is 19:11.


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