Line 8: |
Line 8: |
| * [http://wiki.sugarlabs.org wiki.sugarlabs.org] | | * [http://wiki.sugarlabs.org wiki.sugarlabs.org] |
| * [http://wiki-devel.sugarlabs.org wiki-devel.sugarlabs.org] | | * [http://wiki-devel.sugarlabs.org wiki-devel.sugarlabs.org] |
− | * [http://pe.sugarlabs.org pe.sugarlabs.org] | + | * [http://pe.sugarlabs.org pe.sugarlabs.org] - Peru Local Lab (in maintenance mode) |
− | * [http://cl.sugarlabs.org cl.sugarlabs.org]
| |
− | * [http://co.sugarlabs.org co.sugarlabs.org]
| |
− | * [http://ar.sugarlabs.org ar.sugarlabs.org]
| |
| | | |
| == Hosted on == | | == Hosted on == |
Line 54: |
Line 51: |
| * observe http://wiki-devel.sugarlabs.org/go/Category:Under_construction | | * observe http://wiki-devel.sugarlabs.org/go/Category:Under_construction |
| * announce the plan on systems@ and to any collaborators who have signed their 'Under construction' pages in the template (such as by using the 'E-mail this user' link in the sidebar for the wiki user's page, even when it is a red link or not yet created). | | * announce the plan on systems@ and to any collaborators who have signed their 'Under construction' pages in the template (such as by using the 'E-mail this user' link in the sidebar for the wiki user's page, even when it is a red link or not yet created). |
− |
| |
− | == Creating a Local Labs wiki ==
| |
− |
| |
− | * Add a group for the wiki (vigr)
| |
− |
| |
− | cd /srv/www-sugarlabs
| |
− | cp -a co.sugarlabs.org pe.sugarlabs.org
| |
− | chown -R icarito:sugarwiki-pe pe.sugarlabs.org
| |
− | cd pe.sugarlabs.org/wiki
| |
− | rm -r images/*
| |
− | vim LocalSettings.php
| |
− | vim SecretSettings.php
| |
− |
| |
− | * Create apache virtual host:
| |
− |
| |
− | cp -a /etc/apache2/sites-available/pe.sugarlabs.org /etc/apache2/sites-available/ar.sugarlabs.org
| |
− | vim /etc/apache2/sites-available/ar.sugarlabs.org
| |
− | a2ensite ar.sugarlabs.org
| |
− |
| |
− | * Create DB with some clever trick. I reused <code>config/index.php</code> to setup a new MediaWiki instance and then I've thrown away the generated <code>LocalConfig.php</code>:
| |
− |
| |
− | mv LocalConfig.php LocalConfig.good
| |
− | cp -a /srv/www-sugarlabs/co.sugarlabs.org/config .
| |
− | (go to http://ar.sugarlabs.org/wiki/config/index.php)
| |
− | rm -r config LocalConfig.php
| |
− | mv LocalConfig.good LocalConfig.php
| |
− |
| |
− | * Create tables for OpenID:
| |
− |
| |
− | mysql -u root -p pe_sugarlabswiki < extensions/OpenID/openid_table.sql
| |
| | | |
| == Installation == | | == Installation == |
Line 150: |
Line 117: |
| cd extensions/SemanticMediaWiki/maintenance | | cd extensions/SemanticMediaWiki/maintenance |
| php SMW_setup.php | | php SMW_setup.php |
| + | |
| + | |
| + | == Creating a Local Labs wiki (OBSOLETE) == |
| + | |
| + | * Add a group for the wiki (vigr) |
| + | |
| + | cd /srv/www-sugarlabs |
| + | cp -a co.sugarlabs.org pe.sugarlabs.org |
| + | chown -R icarito:sugarwiki-pe pe.sugarlabs.org |
| + | cd pe.sugarlabs.org/wiki |
| + | rm -r images/* |
| + | vim LocalSettings.php |
| + | vim SecretSettings.php |
| + | |
| + | * Create apache virtual host: |
| + | |
| + | cp -a /etc/apache2/sites-available/pe.sugarlabs.org /etc/apache2/sites-available/ar.sugarlabs.org |
| + | vim /etc/apache2/sites-available/ar.sugarlabs.org |
| + | a2ensite ar.sugarlabs.org |
| + | |
| + | * Create DB with some clever trick. I reused <code>config/index.php</code> to setup a new MediaWiki instance and then I've thrown away the generated <code>LocalConfig.php</code>: |
| + | |
| + | mv LocalConfig.php LocalConfig.good |
| + | cp -a /srv/www-sugarlabs/co.sugarlabs.org/config . |
| + | (go to http://ar.sugarlabs.org/wiki/config/index.php) |
| + | rm -r config LocalConfig.php |
| + | mv LocalConfig.good LocalConfig.php |
| + | |
| + | * Create tables for OpenID: |
| + | |
| + | mysql -u root -p pe_sugarlabswiki < extensions/OpenID/openid_table.sql |