Difference between revisions of "InstallingAboutUsOnLinux"

(Installing gems)
(LocalSettings variables added)
Line 24: Line 24:
 
* Install PHP 5+
 
* Install PHP 5+
 
* Install MySQL 5.0.22 Ver 8.41
 
* Install MySQL 5.0.22 Ver 8.41
 
===Gitting the AboutUs repository===
 
* git clone nimbus.aboutus.com:/opt/git/aboutus /work/aboutus
 
  
 
===OpenId Installation===
 
===OpenId Installation===
Line 34: Line 31:
  
  
[[Category:DevelopmentTeamProject]]
+
===Gitting the AboutUs repository===
</noinclude>
+
git clone nimbus.aboutus.com:/opt/git/aboutus $AboutUsPath/aboutus
  
 +
===Gettings a settings file===
 +
svn co https://nimbus.aboutus.com/svn/aboutus_config/trunk $AboutUsPath/aboutus-config
 +
vim $AboutUsPath/aboutus-config/LocalSettings.php
 +
# update $wgEmergencyContact, $wgPasswordSender, $wgDBserver, $wgDBname, $wgDBuser, $wgDBpassword, $wgDBprefix, $wgDBtype
 +
cp $AboutUsPath/aboutus-config/LocalSettings.php $AboutUsPath/aboutus/wiki/
  
===Gettings a settings file===
 
Check out https://nimbus.aboutus.com/svn/aboutus_config/trunk.
 
  
 
LocalSettings-stephen.php is known to work on OS X; it may need changes to work on Linux.
 
LocalSettings-stephen.php is known to work on OS X; it may need changes to work on Linux.
Line 50: Line 50:
 
Put it in /www/conf/sites/mediawiki.conf
 
Put it in /www/conf/sites/mediawiki.conf
  
== Installing gems ==
+
==Installing gems==
  
 
* sudo gem install rails
 
* sudo gem install rails
Line 57: Line 57:
 
* sudo gem install ruby-memcache
 
* sudo gem install ruby-memcache
 
* sudo gem install json
 
* sudo gem install json
 +
 +
==Getting the AboutUs Dev Mediawiki running==
 +
svn co https://nimbus.aboutus.com/svn/aboutus_config/trunk aboutus-config
 +
 +
[[Category:DevelopmentTeamProject]]
 +
</noinclude>

Revision as of 10:12, 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

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

Gettings a settings file

svn co https://nimbus.aboutus.com/svn/aboutus_config/trunk $AboutUsPath/aboutus-config vim $AboutUsPath/aboutus-config/LocalSettings.php

  1. update $wgEmergencyContact, $wgPasswordSender, $wgDBserver, $wgDBname, $wgDBuser, $wgDBpassword, $wgDBprefix, $wgDBtype

cp $AboutUsPath/aboutus-config/LocalSettings.php $AboutUsPath/aboutus/wiki/


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

  • sudo gem install rails
  • sudo apt-get install ruby1.8-dev (installs some files required by rcov gem)
  • sudo gem install rcov
  • sudo gem install ruby-memcache
  • sudo gem install json

Getting the AboutUs Dev Mediawiki running

svn co https://nimbus.aboutus.com/svn/aboutus_config/trunk aboutus-config



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