Changes

128 bytes added ,  18:30, 27 September 2009
m
fix command
Line 275: Line 275:  
====Create VirtualHost====
 
====Create VirtualHost====
 
<code>
 
<code>
  sudo sh -c "cat > /etc/apache2/sites-available/mirror << EOF
+
  sudo sh -c "cat > /etc/apache2/sites-available/mirrorbrain` << EOF
 
   <VirtualHost 127.0.0.1>
 
   <VirtualHost 127.0.0.1>
 
     ServerName mirrors.sugarlabs.org
 
     ServerName mirrors.sugarlabs.org
Line 298: Line 298:  
     </Directory>
 
     </Directory>
 
  </VirtualHost>
 
  </VirtualHost>
 +
"
 
</code>
 
</code>
    +
Enable site.
 +
<code>
 +
sudo a2ensite mirrorbrain
 +
</code>
    +
Restart Apache
 +
<code>
 +
sudo /etc/init.d/apache2 restart
 +
</code>
    
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude>
 
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude>
2,751

edits