InstallLocalMediaWiki

From Clothbot

(Difference between revisions)
Jump to: navigation, search
Revision as of 02:22, 3 January 2008 (edit)
AndrewPlumb (Talk | contribs)
(Steps)
← Previous diff
Revision as of 02:22, 3 January 2008 (edit)
AndrewPlumb (Talk | contribs)
(Steps)
Next diff →
Line 26: Line 26:
##** Retry running configuration. ##** Retry running configuration.
## Configure using the web form ## Configure using the web form
-## ''Attempting to connect to database server as root...failed with error [2002] Can't connect to local MySQL server through socket /var/lib/mysql/mysql.sock''+##* '''Error:''' ''Attempting to connect to database server as root...failed with error [2002] Can't connect to local MySQL server through socket /var/lib/mysql/mysql.sock''
-##* Change '''Database Host''' from ''localhost'' to ''127.0.0.1''+##* '''Change:''' Field '''Database Host''' from ''localhost'' to ''127.0.0.1''
=References= =References=

Revision as of 02:22, 3 January 2008

How To Install a Local MediaWiki

Steps

  1. Download mysql-5.0.45-osx10.4-i686.dmg
    1. Read the included ReadMe.txt file
    2. Shut down any existing MySQL servers that are running
    3. Launch the pkg installer (mysql-5.0.45-osx10.4-i686.pkg)
    4. Install the MySQLStartupItem.pkg to make automatic start-up easier to manage.
  2. In your System Preferences, go into Sharing and turn on Web Sharing
    1. sudo vi /etc/apache2/httpd.conf
      • uncomment: LoadModule php5_module libexec/apache2/libphp5.so
    2. sudo cp /etc/httpd/users/*.conf /etc/apache2/users/.
  3. Download MediaWiki
    1. Read Installation Guide
    2. cd /Library/WebServer/Documents
    3. sudo mkdir wiki
    4. cd wiki
    5. sudo tar xvfz ~/Downloads/mediawiki-1.11.0.tar.gz
    6. Browse to http://localhost/wiki/mediawiki-1.11.0/
      • Note the message to change permissions:
        • cd .../mediawiki-1.11.0
        • sudo chmod a+w config
        • Retry running configuration.
    7. Configure using the web form
      • Error: Attempting to connect to database server as root...failed with error [2002] Can't connect to local MySQL server through socket /var/lib/mysql/mysql.sock
      • Change: Field Database Host from localhost to 127.0.0.1

References

Personal tools