InstallingAboutUsOnLinux
Revision as of 10:12, 13 August 2007 by Arif Iqbal (talk | contribs) (LocalSettings variables added)
See also InstallingAboutUsOnOSX
Contents
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
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
- 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
