9:
Re: Newbie: LiveCD, LAMS on a stick or similar?
By: Jun-Dir Liew
|
In response to 1 | 04/02/06 11:45 PM | ||
Link to LAMS manual install guide - http://www.lamsinternational.com/documentation/LAMS%201.0.2%20Manual%20Installation.html
The commands in it are linux oriented, but only because linux users don't have a handy installer to take care of things - that's just how I did it though. You could just as easily copy the lams folder from an existing LAMS install to your USB stick - as long as you also copy the database with it. Let me explain: 1. So you've setup LAMS on your Windows PC - Java, MySQL, then LAMS. Now, when you take your USB drive to another machine, LAMS will need to know that it should use the Java that is on the USB drive, and not some other Java on the host machine (which may be 1.5, or some other incompatible version). 5. Open C:\lams\jboss\bin\run.bat using Notepad/Wordpad, and just after the 8th line where it says Now say you're testing the USB drive on a new machine where it has been given the drive letter 'K'. 7. Start MySQL by double-clicking K:\MySQL Server 4.1\bin\mysqld.exe (if that doesn't work, open a command prompt and type in 'K:\MySQL Server 4.1\bin\mysqld.exe'). And that should be it. Your folder names/drive letters may vary, etc. To close LAMS before taking out the USB drive, press Ctrl-C in the console windows of MySQL and LAMS. You should also make a 'undopath.bat' to undo the change to the system made by 'path.bat' earlier. Posted by Jun-Dir Liew |
Reply to first post on this page
Back to Problems Installing LAMS