Differences

This shows you the differences between two versions of the page.

web_para_el_usuario [2009/03/14 10:33] (current)
xiam created
Line 1: Line 1:
 +<code bash>
 +$ sudo -s -H
 +# cd /var/www
 +# mkdir -p usuario/sitio.com/htdocs
 +# echo "test" > usuario/sitio.com/htdocs/index.php
 +# chown -R usuario:usuario usuario
 +# chmod -R 750 usuario
 +# gpasswd -a www-data usuario
 +# su usuario
 +$ cd ~
 +$ ln -s /var/www/usuario www
 +</code>
 +
 +
 +<code bash>
 +$ sudo -s -H
 +# cd /etc/bind
 +# vi named.conf.local
 +# cd zones
 +# vi db.sitio.tld
 +# /etc/init.d/bind9 restart
 +</code>
 +
 +<code bash>
 +$ sudo -s -H
 +# cd /etc/apache2/sites-available
 +# vi sitio
 +# cd ../sites-enabled
 +# ln -s ../sites-available/sitio .
 +# /etc/init.d/apache2 restart
 +</code>
 
web_para_el_usuario.txt · Last modified: 2009/03/14 10:33 by xiam
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki