Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to take a working, stable, MediaWiki directory under /var/www, copy its contents to a new directory, and perform whatever steps are necessary to place the new directory into "just installed" state.

Media Wiki 1.15.0 Apache/2.2.3 (Red Hat) Server at localhost Port 80 PHP 5.1.6 (cli) (built: Nov 13 2010 16:08:24) Red Hat Enterprise Linux Client release 5.7 (Tikanga) Your MySQL connection id is 487 Server version: 5.0.77 Source distribution

I am familiar enough with MySQL and the config files to change whatever is needed to reset everything. I cannot find any instructions like this at all out on the web.

share|improve this question
1  
Why not just do a fresh install of the same version to the new location? –  Shane Madden Jan 3 '12 at 20:38
    
Probably as simple as cleaning the database and removing the generated config file. What will doing this accomplish vs. downloading the tarball and extracting it? –  Tim Jan 3 '12 at 20:43
    
Where can I get that version? I'd do it in a second. Also, if you'd answer this, I'd mark it as an answer, and vote it up. –  Octopusgrabbus Jan 3 '12 at 22:07

1 Answer 1

up vote 1 down vote accepted

I would just download a new Media Wiki install here: http://www.mediawiki.org/wiki/Download

Then just unzip it and go. I don't understand the need for moving an old one if you don't want any of the data on it.

share|improve this answer
    
Many thanks for your answer. –  Octopusgrabbus Jan 4 '12 at 14:43
1  
As it turns out, in the MediaWiki's top directory mv LocalSettings.php LocalSettings.php.old did the trick. –  Octopusgrabbus Jan 4 '12 at 19:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.