Difference between revisions of "InstallingAboutUsOnLinux"

(Added configuration commands)
Line 44: Line 44:
 
  mysql -u wiki -p wiki_test <wiki_dev.sql
 
  mysql -u wiki -p wiki_test <wiki_dev.sql
  
===Gettings a settings file===
+
===Apache Configuration===
 
  svn co https://nimbus.aboutus.com/svn/aboutus_config/trunk $AboutUsPath/aboutus-config
 
  svn co https://nimbus.aboutus.com/svn/aboutus_config/trunk $AboutUsPath/aboutus-config
 
  vim $AboutUsPath/aboutus-config/LocalSettings.php
 
  vim $AboutUsPath/aboutus-config/LocalSettings.php
 
  # update $wgEmergencyContact, $wgPasswordSender, $wgDBserver, $wgDBname, $wgDBuser, $wgDBpassword, $wgDBprefix, $wgDBtype
 
  # update $wgEmergencyContact, $wgPasswordSender, $wgDBserver, $wgDBname, $wgDBuser, $wgDBpassword, $wgDBprefix, $wgDBtype
 
  cp $AboutUsPath/aboutus-config/LocalSettings.php $AboutUsPath/aboutus/wiki/
 
  cp $AboutUsPath/aboutus-config/LocalSettings.php $AboutUsPath/aboutus/wiki/
 
 
  cd $AboutUsPath/aboutus-config/apache
 
  cd $AboutUsPath/aboutus-config/apache
 
  vim mediawiki.conf
 
  vim mediawiki.conf
Line 56: Line 55:
 
  cp mediawiki.conf /etc/apache2/sites-enabled
 
  cp mediawiki.conf /etc/apache2/sites-enabled
 
   
 
   
 
 
LocalSettings-stephen.php is known to work on OS X; it may need changes to work on Linux.
 
 
Copy it to wiki/LocalSettings.php in your checked out Aboutus mediawiki repo.
 
 
===Apache settings===
 
From the aboutus_config repository above, copy and customize apache/mediawiki.conf.
 
 
Put it in /www/conf/sites/mediawiki.conf
 
 
 
==Installing gems==
 
==Installing gems==
 
 
* sudo gem install rails
 
* sudo gem install rails
 
* sudo apt-get install ruby1.8-dev (installs some files required by rcov gem)
 
* sudo apt-get install ruby1.8-dev (installs some files required by rcov gem)

Revision as of 10:54, 13 August 2007

DevelopmentTeam

See also InstallingAboutUsOnOSX

What (summary)

Create instructions and mechanisms for interested people to install AboutUs on Linux machines.

Why this is important

  • We want to reach to the open source community so that more interested people can become part of the DevelopmentTeam
  • We want to on board new hires as seamlessly as possible. New hires often have problems getting their hands ready on the AboutUs version of MediaWiki

DoneDone

  • The git repository of the AboutUs version of MediaWiki is publicly available.
  • We have instructions set so that sophisticated new development team member can install AboutUs version of MediaWiki

Next

  • Attach a GPL to our source
  • Expose our GIT repository
  • Further develop our instructions.

Instructions

Apache/PHP/MySQL

  • Install Apache 2.0+
  • Install PHP 5+
  • Install MySQL 5.0.22 Ver 8.41
  • Install Ruby
  • Install gem

OpenId Installation

sudo pear install --alldeps --force http://www.openidenabled.com/resources/downloads/php-openid/pear/Auth_OpenID-1.2.2.tgz 
sudo pear install gmp
sudo pear install http://www.openidenabled.com/resources/downloads/php-yadis/pear/Services_Yadis-1.0.2.tgz


Gitting the AboutUs repository

git clone nimbus.aboutus.com:/opt/git/aboutus $AboutUsPath/aboutus

Create Database Users and Settings

create user = wiki
password = wiki
database = wiki_dev, aboutusbot, wiki_test
cd $AboutUsPath/aboutus
mysql -u wiki -p wiki_dev 


Retrieved from "http://aboutus.com/index.php?title=InstallingAboutUsOnLinux&oldid=8831717"