Difference between revisions of "User:Sven"

From Organic Design wiki
m
(more text)
Line 4: Line 4:
 
*PHP
 
*PHP
 
*Mysql
 
*Mysql
See http://www.mediawiki.org/wiki/Download and http://sourceforge.net/projects/wikipedia/ for details.
+
See http://www.mediawiki.org/wiki/Download and http://sourceforge.net/projects/wikipedia/ for installation details.
As OS X ships with a built in apache webserver, installation of php, and pysql is all that is required.
+
As OS X ships with a built in Apache webserver, installation of PHP, and Mysql is all that is required.
php 5.0.4/4.3.11 is available as a dmg (http://www.entropy.ch/software/macosx/php/)
+
If you want to run Apache aas a secure webserver then you probably have to build Apache from source.
 +
 
 +
PHP 5.0.4/4.3.11 is available as a dmg (http://www.entropy.ch/software/macosx/php/), and Mysql 4.1.13a is  available at http://www.apple.com/downloads/macosx/networking_security/mysql.html. A [http://www.apple.com/downloads/macosx/networking_security/mysqlbackup.html Mysql backup] tool is also avialable from the apple website
  
 
=== Apache in OS X (tiger) ===
 
=== Apache in OS X (tiger) ===

Revision as of 07:22, 19 November 2005

Installing MediaWiki on OS X

Media wiki requires

  • Apache webserver
  • PHP
  • Mysql

See http://www.mediawiki.org/wiki/Download and http://sourceforge.net/projects/wikipedia/ for installation details. As OS X ships with a built in Apache webserver, installation of PHP, and Mysql is all that is required. If you want to run Apache aas a secure webserver then you probably have to build Apache from source.

PHP 5.0.4/4.3.11 is available as a dmg (http://www.entropy.ch/software/macosx/php/), and Mysql 4.1.13a is available at http://www.apple.com/downloads/macosx/networking_security/mysql.html. A Mysql backup tool is also avialable from the apple website

Apache in OS X (tiger)

Apache/1.3.33 is shipped with a standard install of OS X on Jaguar, Panther, and Tiger. It does not come with php pre-compiled.

Start your personal webserver under;

preferences → Sharing → Personal Web Sharing

There are differences as to the locations of installed directories from standard binary/source linux installations. Its worth checking the build with the terminal command httpd -V

+httpd -V

The webpage is accessable as localhost or 127.0.0.1, with access to your personal home page at:

http://127.0.0.1/~USER_NAME

The webserver pages are located in the directories

  • /Library/WebServer (System pages)
  • /Users/USER_NAME/Sites (User page)

Useful Links


Example Article

R programming language markup

+CreateDirectories.R

LaTeX document class letter markup

+letter.tex

xml Wiki Markup

   Table Markup 
   
      <table class=document-code><tr><td>Table Markup</td></tr></table>
    
NOTE: You can be real casual with table syntax and miss out all </tr>'s and </td>'s if you like.