November 23, 2024, Saturday, 327

Main Page

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
m (MediaWiki on Mac OSX)
(Memo)
 
(33 intermediate revisions by one user not shown)
Line 4: Line 4:
  
 
==MediaWiki on Mac OSX==
 
==MediaWiki on Mac OSX==
Just transfer the whole box from my Debian VM to my new MBP(Mac OSX 10.4.10). It's pretty easy, but still a little tricky.
+
Just transferred the whole MediaWiki box from my Debian VM to my new MBP(Mac OSX 10.4.10, and now 10.5.1). It's fairly easy, but still a little [[MediaWiki On OSX|tricky]].
 
+
Follow the steps:
+
* Backup the database in Debian.
+
mysqldump -ac --add-drop-table --user="wikiuser" --password="blahblah" wikidb |gzip -f > ~/wikidb.gz
+
* Backup all uploaded staff in Debian.
+
sudo tar czf  /var/lib/mediawiki1.7/upload ~/upload.tar.gz
+
* Transfer these two backup files to OSX by SFTP or whatever.
+
* Prepare required env in OSX.
+
** Apache 1.3.* (built-in)
+
** [http://www.mysql.com MySQL]
+
** [http://www.entropy.ch/software/macosx/php/ PHP5/Entropy]
+
* Download the newest MediaWiki pack from the [http://download.wikimedia.org/mediawiki/1.9/ official site].
+
* Unpack MediaWiki to /Library/WebServer/Documents/mediawiki-*.*.*, and a good habit is to make a soft link 'wiki' to it, which allow you to manage multi-version of MediaWiki more comfortable.
+
* Open CocoaMySQL, add DB, add user, give it privileges, and import wikidb from the backup.
+
* Open Safari and access: http://localhost/wiki and follow the common setup steps(change config folder permission, etc.), and the end the script will check and upgrade the database, let it be. When it ends, do NOT go to the home page yet for now.
+
* Move LocalSettings.php to up one level, make wiki/images folder writable to apache user.
+
* Unpack the whole upload.tar.gz and move all the content(many folder named '0' '1' 'A' etc. and 'thumb' 'archives' and so on) under the upload/ folder to wiki/images folder.
+
* Now go to http://localhost/wiki and get all the old stuff back!
+
  
 
==MediaWiki==
 
==MediaWiki==
Line 29: Line 11:
  
 
* [[Help:Contents|Help]]
 
* [[Help:Contents|Help]]
* [[Manual:FAQ|FAQ]]
+
* [[Manual:FAQ(Meta)|FAQ]] (meta ver.)
 +
* [[Manual:FAQ|FAQ]] (old)
 
* [[Manual:Configuration Settings|Configuration]]
 
* [[Manual:Configuration Settings|Configuration]]
  
Line 47: Line 30:
 
** [[Universal:Aquarius|The Aquarius Era]]
 
** [[Universal:Aquarius|The Aquarius Era]]
  
==Artistic...==
+
==Memo==
  
* [[Font Families]]
+
*Architecture
 +
** [[SOA Stack for REST and WS-* Comparison]]
 +
*Artistic...
 +
** [[Font Families]]
 +
*Distributed Computing
 +
** [[Hadoop on Mac OS X]]
 +
*Functional Programming
 +
** [[Closure]]
 +
*Python & Django
 +
** [[Install OSQA on Snow Leopard]]
 +
*Ruby & RoR
 +
** [[Using RoR Passenger on DH]]
 +
** [[Why I Program In Ruby]] ''by Giles Bowkett''
 +
** [[Upgrade to Rails 2 on Leopard]]
 +
* Clojure
 +
** [[Clojure Programming]]
 +
** [[Rich Hickey on SICP and Clojure]]
 +
*Misc
 +
** [[Darwin Directory Structure]]
 +
** [[Linux Directory Structure]]
  
==The Vault==
+
==Vault==
  
* [http://neonb-etch/cgi-bin/gitweb.cgi My Git Repo]
+
* [[Wikipedia Digests]]
  
* [[Math Lab]]
+
* [[DW Digests|developerWorks Digests]]
 
+
* [[Wikipedia Digests]]
+
* [[DW Digests]]
+
  
 
* [[WoWWiki Digest]]
 
* [[WoWWiki Digest]]
  
 
* [[Movies]] and [[Music]] Gallery
 
* [[Movies]] and [[Music]] Gallery
 +
 +
* [http://{{SERVERNAME}}/git/gitweb.cgi My Git Tree]

Latest revision as of 04:48, 6 December 2010

Welcome to the REAL world!


MediaWiki on Mac OSX

Just transferred the whole MediaWiki box from my Debian VM to my new MBP(Mac OSX 10.4.10, and now 10.5.1). It's fairly easy, but still a little tricky.

MediaWiki

Use the Copying tool to do a one-click importing of the official manual from www.mediawiki.org, of cause some additional manual work required.

Further more I made this starter's book, based on the work from 天下维客.

I'm learning and testing all these in the Sandbox.

Universal™

Memo

Vault