LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Mirroring a LAMP server (https://www.linuxquestions.org/questions/linux-server-73/mirroring-a-lamp-server-472690/)

PB0711 08-10-2006 01:30 PM

Mirroring a LAMP server
 
Bit of an odd one, but I have a Suse 9.1 Server (met) running a happy LAMP system. What I would like to do it to mirror it on another one of my servers(dio) and take met offline. Met is having some CPU issues we think. However, met has some custom mysql libraries that I cannot seem to find how to install and some other packages that are giving me some real headaches. Never mind that apache won't let me use .htaccess ???? I've googled, I'v read, I'v posted.
What I would like to know is can I just copy the directories onto dio or something easy like that?
Sidenote I would like to keep dio as a Suse 10.0 if possible.

Cheers,

unSpawn 08-11-2006 08:43 AM

and some other packages that are giving me some real headaches.
Insufficient information, sorry.


What I would like to know is can I just copy the directories onto dio or something easy like that?
If application versions don't give compatibility problems you can import the MySQL database, copy over the PHP files and Apache configs, copy over custom libs and try prepending a LD_LIBRARY_PATH to see if all is compatible and works, why not? Else if Dio isn't running something you need why not add the Met disks and just have the bootloader switch? Else you could probably use QEMU to run a Met image or even make a bootable DVD out of Met to run. Just experiment I'd say.

PB0711 08-11-2006 11:17 AM

100th post yea!

Anyway, cool I'm looking into QEMU. Sounds pretty neat. Also since posting last night I've found out about rsync. Think I might play with that a bit as well. But a quick question, you said
Quote:

or even make a bootable DVD out of Met to run
Do you mean an iso? and if so how would I go about doing that?

Thx again,

unSpawn 08-12-2006 06:05 AM

Find tools for that on either Freshmeat or Sourceforge.


All times are GMT -5. The time now is 10:04 AM.