Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activity Library/Devel/Installing
(view source)
Revision as of 16:48, 13 December 2008
102 bytes added
,
16:48, 13 December 2008
m
no edit summary
Line 84:
Line 84:
===Checkout amo trunk via svn===
===Checkout amo trunk via svn===
<code>svn co http://svn.mozilla.org/addons/trunk /var/www</code>
<code>svn co http://svn.mozilla.org/addons/trunk /var/www</code>
+
+
===Set up server===
+
+
===Set permissions===
+
+
<code>
+
chown -R apache:apache /var/www/site
+
</code>
+
+
===Edit DocumentRoot===
+
+
<code>
+
vim /etc/httpd/conf/httpd.conf
+
+
Edit DocumentRoot /var/www/site/app/webroot
+
Edit AllowOverride All
+
</code>
+
+
===Add to hosts===
+
+
<code>
+
vim /etc/hosts
+
127.0.0.1 activities.sugarlabs.org
+
</code>
+
+
===Test server===
+
+
<code>
+
service httpd restart
+
</code>
+
+
<code>
+
mv /var/www/site/app/webroot/index.php /var/www/site/app/webroot/index.php.old
+
mv /var/www/html/index.php /var/www/site/app/webroot/index.php
+
</code>
===Install mysql===
===Install mysql===
Line 122:
Line 157:
</code>
</code>
−
===Set up server===
−
−
===Edit DocumentRoot===
−
−
<code>
−
vim /etc/httpd/conf/httpd.conf
−
−
Edit DocumentRoot /var/www/site/app/webroot
−
Edit AllowOverride All
−
</code>
−
−
===Set permissions===
−
−
<code>
−
chown -R apache:apache /var/www/site/app/webroot/files
−
chown -R apache:apache /var/www/site/app/tests/data
−
chown -R apache:apache /var/www/site/app/tmp
−
</code>
===Configure aso===
===Configure aso===
Line 163:
Line 180:
mkdir /var/www/files/extracted
mkdir /var/www/files/extracted
chown -R apache:apache /var/www/files
chown -R apache:apache /var/www/files
−
</code>
−
−
===Add to hosts===
−
−
<code>
−
vim /etc/hosts
−
127.0.0.1 activities.sugarlabs.org
</code>
</code>
Dfarning
2,751
edits