LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Migrate Site from Windows to Linux (http://www.linuxquestions.org/questions/linux-server-73/migrate-site-from-windows-to-linux-662814/)

tuse 08-14-2008 02:03 PM

Migrate Site from Windows to Linux
 
Hi all!

I have developed a website for my college intranet.

Its a drupal website => uses MySQL and hosted on a Apache server.

Currently, I am hosting it on a Windows computer using WampServer.

Now the college authorities are migrating to Linux. How can I migrate the site to the Linux platform?

jailbait 08-14-2008 03:05 PM

Here is some literature explaining the things you should consider when you convert from Windows to Linux.

http://www.tomshardware.com/reviews/...linux,780.html

http://www.linux.com/feature/113755

I converted my desktop in 2000. I dual booted Windows and Linux for a while and converted my applications one by one. When I converted the last application I erased Windows. I had some hardware incompatibility problems and ended up buying a new modem.

Since your main application is a website I suggest that you look at Fedora or CentOS as possible distributions to use.

------------------------
Steve Stites

tuse 08-15-2008 12:02 AM

Thank you for your reply.

I think you might have misinterpreted my question or probably I didn't put it in the correct way.

Here goes-

In WampServer, one gets integrated Apache and MySQL services. Starting the WampServer application makes your website 'online'. i.e. start Apache and MySQL. MySQl comes with the phpmyadmin.

In Linux, is there any program on the lines of WampServer to integrate Apache and MySQL?

xkero 08-15-2008 06:49 AM

LampServer! No seriously, Apache and MySQL aren't integrated so much as whatever programs or scripts that run in your web environment handle all that. As your using pretty stock things like Drupal I highly doubt you'll need to do anything. The only worry is encoding, but that'd be more a problem from Linux to Windows, not the other way around.

Just so you understand the technical details of this, Drupal is a collection of PHP scripts. When Apache is running, every time you access Drupal Apache sees that what your accessing is a php script file and sends it to PHP to interpret it. PHP knows how to talk to MySQL and does so; how its instructed to in Drupal's code. After this it sends back the output to Apache which then sends that to you (being your web page). Apache, MySQL and PHP all run on both Windows and Linux the same. Anything written for that platform (i.e Drupal) should work on any other computer so long as you have those three programs installed (and any other dependencies your particular application needs).

resetreset 08-19-2008 12:45 PM

it's still amazing to me that you can use Apache and MySQL in WINDOWS!!! i simply can't get over it.

to the OP: in fedora there's a program called ntsysv which will let you turn on apache and mysql at boot or not.


All times are GMT -5. The time now is 03:47 AM.