This forum is no longer active. Please post your questions to our new community site

Forums MediaWiki

Moving Mediawiki

Subscribe to Moving Mediawiki 3 post(s), 2 voice(s)

 
Avatar gazumped 2 post(s)

I have a working stack on my laptop hard drive, but want to move it to a usb drive so I can carry it to other machines as necessary. Any suggestions for how best to do this? I had thought to install a new stack on the USB drive then replace the database with my existing data, but if I install a new stack on the usb drive via the current laptop will it overwrite any important settings? If I install on the usb drive via another machine will it still work on the current laptop? Any help or advice much appreciated – I’m rather fond of the current data and would be unhappy to lose it… (I’ve also changed the localsettings.php file and would copy that across to match functionality)

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Have you installed Mediawiki on Windows, OS X or Linux? The most important thing is that the installation directory should be the same. For example if you have installed at “C:\Program Files\BItNami Mediawiki Stack” you should copy this folder in the same location in the other machine:

1. Stop the servers
2. Copy the whole installation folder to an USB, CD or anywhere.
3. Copy the installation directory in the same location in the other machine
4. On Windows. Open a command prompt:
> cd
> serviceinstall.bat INSTALL

On Linux or OS X. Open a terminal and type the following:
$ cd
$ ./ctlscript.sh start

It is not advisable to install the Stack in a USB because if the mount point change (H:\ or F:\) in the other machine you can not start the servers.

I hope it helps.

 
Avatar gazumped 2 post(s)

Ah. A small doh! there – Windows XP SP2 on one machine and Windows Vista on the other (hence the prference for a USB stick!). However I take your point on the drive letter. Thanks for a quick and helpful response. I don’t think it’s going to be possible to achieve my aim of having a Wiki personal database available whatever I’m working on. If only there was a secure hosted solution somewhere out there in the cloud…

Forums MediaWiki