Difference between revisions of "InstallingAboutUsOnLinux"

(LocalSettings variables added)
(Added configuration commands)
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
 +
* Install Ruby
 +
* Install gem
  
 
===OpenId Installation===
 
===OpenId Installation===
Line 33: Line 35:
 
===Gitting the AboutUs repository===
 
===Gitting the AboutUs repository===
 
  git clone nimbus.aboutus.com:/opt/git/aboutus $AboutUsPath/aboutus
 
  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 <wiki_dev.sql
 +
mysql -u wiki -p wiki_test <wiki_dev.sql
  
 
===Gettings a settings file===
 
===Gettings a settings file===
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
 +
vim mediawiki.conf
 +
# update DocumentRoot and Directory, the value should be ... $AboutUsPath/aboutus/wiki/
 +
cp mediawiki.conf /var/www/conf/sites/
 +
cp mediawiki.conf /etc/apache2/sites-enabled
 +
  
  

Revision as of 10:51, 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=8831616"