Difference between revisions of "InstallingAboutUsOnLinux"
Arif Iqbal (talk | contribs) (adding commands to do stuff) |
Arif Iqbal (talk | contribs) |
||
| Line 68: | Line 68: | ||
===Mysql=== | ===Mysql=== | ||
[[HowToUseSSHKeys]] | [[HowToUseSSHKeys]] | ||
| + | ssh-keygen -t rsa | ||
| + | cd ~/.ssh/ | ||
| + | scp id_rsa nimbus: | ||
| + | |||
| + | ssh nimbus | ||
| + | cp id_rsa .ssh/authorized_keys | ||
| + | exit | ||
| + | ssh-agent | ||
| + | |||
| + | |||
mysql -u root -p | mysql -u root -p | ||
create database compost_test | create database compost_test | ||
| Line 74: | Line 84: | ||
create database wiki_dev | create database wiki_dev | ||
create database wiki_test | create database wiki_test | ||
| + | grant all on *.* to 'arif'@'localhost'; | ||
| + | grant all on *.* to 'compost'@'localhost' identified by 'default'; | ||
| + | |||
| + | grant all on *.* to 'compost'@'localhost'; | ||
| + | create database aboutusbot; | ||
| + | |||
| + | |||
| + | cd compost | ||
| + | rake test | ||
| + | rake db:migrate | ||
| + | rake db:test:prepare | ||
| + | rake test | ||
| + | mysqldump aboutusbot > bot.sql | ||
| + | mysql aboutusbot_test < bot.sql | ||
| + | RAILS_ENV=test rake test | ||
Revision as of 07:58, 14 August 2007
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
- 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_devbot.sql
mysql aboutusbot_test
