LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2009, 02:19 PM   #1
TShirey
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Trying to transfer PHP, MySQL from a Linux box/server


I am working at a university that is a Windows shop. They have one Linux machine that is on the network and nobody knows anything about it. It is used to keep track of hardware. People sign in using PHP and the database is MySQL. I do not know which Linux os is running on this machine. I cannot log in from the command prompt, because nobody knows the password and the guy that built the machine is long gone.
The people that I work for wants to transfer or move everything from the linux box to a Windows box. They are afraid that the Linux machine is not going to last forever and if it fails everything is lost.

Is there a way I can get around that login line?
Is there a way to transfer the files from the Linux box to a Windows box?
 
Old 07-09-2009, 02:32 PM   #2
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
Yup, of course... we are talking about linux here

The easiest is probably to boot of a LiveCD and then chroot into the box and change the root password. Gentoo has a great documentation that will explain how to chroot.

Then reboot, login with the password you just set.

Then all you have to do is copy the PHP files and check the settings, dump the db and move it all to a wintendo box

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LAMP (linux-apache-mysql-php) server from scratch twlilinux Linux - Server 3 06-11-2008 01:35 AM
transfer mysql db to another server linuxmandrake Linux - Server 2 09-26-2006 04:20 AM
Building PHP when MySQL is on a separate box Risc91 Linux - Software 3 03-15-2006 05:11 PM
Troubleshooting Slow Transfer Speed Between Linux Box and Windows Box timswim78 Linux - General 1 10-23-2005 12:45 PM
need to transfer unix sendmail server to upgraded box garrett *BSD 1 01-23-2004 05:41 AM


All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration