Changes

Jump to navigation Jump to search
19 bytes removed ,  18:26, 27 September 2009
m
fix command
Line 270: Line 270:  
=====Test mirrorbrain=====
 
=====Test mirrorbrain=====
 
<code>
 
<code>
  ./mirrorbrain.py
+
  ./mirrordoctor.py
 
</code>
 
</code>
    
====Create VirtualHost====
 
====Create VirtualHost====
 
<code>
 
<code>
  sudo cat > /etc/apache2/sites-available/mirror << EOF
+
  sudo sh -c "cat > /etc/apache2/sites-available/mirror << EOF
<VirtualHost your.host.name:80>
+
<VirtualHost 127.0.0.1>
     ServerName samba.mirrorbrain.org
+
     ServerName mirrors.sugarlabs.org
 
     ServerAdmin webmaster@mirrorbrain.org
 
     ServerAdmin webmaster@mirrorbrain.org
     DocumentRoot /srv/samba/pub/projects
+
     DocumentRoot /var/www/downloads
     ErrorLog    /var/log/apache/samba.mirrorbrain.org/logs/error_log
+
     ErrorLog    /var/log/apache2/mirrors.sugarlabs.org/error_log
     CustomLog    /var/log/apache/samba.mirrorbrain.org/logs/access_log combined
+
     CustomLog    /var/log/apache2/mirrors.sugarlabs.org/access_log combined
     <Directory /srv/samba/pub/projects>
+
     <Directory /var/www/downloads>
 
       MirrorBrainEngine On
 
       MirrorBrainEngine On
 
       MirrorBrainDebug Off
 
       MirrorBrainDebug Off
2,751

edits

Navigation menu