Gentoo Archives: gentoo-user

From: ert256 <ert256@×××××.com>
To: gentoo-user@l.g.o
Cc: momesso.andrea@×××××.com
Subject: Re: [gentoo-user] Re: Web server mirror
Date: Wed, 08 Apr 2009 21:47:01
Message-Id: 20090408234912.2897232d@ertm
In Reply to: Re: [gentoo-user] Re: Web server mirror by Momesso Andrea
1 Momesso Andrea <momesso.andrea@×××××.com>
2 [Wed, 8 Apr 2009 21:09:57 +0000] :
3
4 > On Wed, Apr 08, 2009 at 11:06:24PM +0300, Nikos Chantziaras wrote:
5 > [..]
6 >
7 > >> 2) Keeping a copy of the working site on a virtual host in the
8 > >> other machine allows the admin (my wife) to test new stuff, change
9 > >> things, add modules, without putting in danger the main site.
10 > >
11 > > rsync the main machine to the second machine. You can rsync
12 > > specific folders. If your website is in /var/www of the first
13 > > machine, you can rsync that to the /var/www of the second for
14 > > example.
15 > >
16 > >> What I ask is some advice on best practice to achieve the needed
17 > >> result; I suppose that all I need is to rsync the webserver
18 > >> directory in a virtual server on the slave machine and to dump the
19 > >> databases, but I'm not sure this will be enough.
20 > >
21 > > rsync does the mirroring, NAT does the redirection of traffic.
22 > > Those are the tools used by most to achieve what you described.
23 > >
24 > Ok, but what about databases? Joomla has his own and mediawiki too...
25 > Just dump it and copy it? Will it work?
26 >
27
28 Maybe you can configure some kind of replication ?
29 ß
30 Rafał (ert16) Trójniak
31 m@il : ert256@×××××.com
32 Jid : ert256@×××××.com
33 GPG key-ID : 3F38968F
34 4711 E3BC B674 C841 BED8
35 0F8F 69D3 80CF 3F38 968F

Attachments

File name MIME type
signature.asc application/pgp-signature