How to Mirror Perfect ubuntu server 12.04 with Nginx instead of Apache

Discussion in 'HOWTO-Related Questions' started by zephyrnet, Jun 3, 2012.

  1. zephyrnet

    zephyrnet HowtoForge Supporter

    Hi,

    Im looking at these tutorials:



    http://www.howtoforge.com/installing-a-web-email-and-mysql-database-cluster-on-debian-5.0-with-ispconfig-3

    http://www.howtoforge.com/setting-up-unison-file-synchronization-between-two-servers-on-ubuntu-11.10

    http://www.howtoforge.com/mirroring_with_rsync

    I want to install a Master / Slave Mirror ispconfig setup for high availability / backup to ensure 100% uptime on 2 x ubuntu 12.04 VPS a. Using Nginx so as to deliver sites as fast as possible and reduce server load.

    Is this possible with ubuntu & Nginx or will i be limited to apache? If i use Nginx how do i fit in the best "how to" for the least fuss? ie should i use rsync / glusterfs / unison?

    Also I noticed in another post TIll mentioned one click apps of a fantastico stylee will be available in the 3.5 release of ispconfig. WHen this happens which will be amazing, will it work with NginX too, or just be an apache thing? If so, should I perhaps stick to Apache ?:confused:
     
    Last edited: Jun 3, 2012
  2. till

    till Super Moderator

    This should work with nginx as well. The recommended solution at the moment us unison as described in the latest guide. Glusterfs will be very slwo when you have large sites on the server as it does not scale well when you have filesystem with many small files as its common for websites.

    You added above a link to a outdated mirror guide with glusterfs, the current guide is listed on ispconfig.org and uses unison:

    http://www.howtoforge.com/installin...tabase-cluster-on-debian-6.0-with-ispconfig-3

    This will be fully functional on apache servers only as the aps packages from apsstandard.org do not contain nginx specific rewrite rules.
     
  3. zephyrnet

    zephyrnet HowtoForge Supporter

    Many thanks, and a decision.

    Hi Till,

    Thanks ever so much for such a speedy reply. :D
    I love your guys work, and have followed and tried to learn from it over the years.

    Unison and apache it is then. If a site gets too busy, then a migration to Nginx may be the answer.

    I must have missed that tutorial on ispconfig.org, I just thought they were links to HTF, Im off now to re read them.
    Thankyou for your help.

    Regards
    D
     
  4. till

    till Super Moderator

    They are links to howtoforge. But on ispconfig.org all links are in a ordered list, sorted by linux distributuion and single / multiserver guides so its easier to keep the overview :)
     
  5. zephyrnet

    zephyrnet HowtoForge Supporter

    at the risk of exposing myself as a muppet, ive read through the first few pages of the tutorials herehttp://www.ispconfig.org/ispconfig-3/documentation/ and i cant see Unison mentioned. Not sure if im looking in the right place?:confused:

    Im going to be using Ubuntu, so Im sure I can get away with following a Debian Tutorial.
     
  6. zephyrnet

    zephyrnet HowtoForge Supporter

    Muppet exposed http://www.howtoforge.com/installing-a-web-email-and-mysql-database-cluster-on-debian-6.0-with-ispconfig-3

    you were refering to this one! Will it run ok on Ubuntu 12.04 too?
     
  7. till

    till Super Moderator

Share This Page