Usando SVN para instalar un Wordpress seguro en Ubuntu Server

1,168 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,168
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Usando SVN para instalar un Wordpress seguro en Ubuntu Server

  1. 1. Usando SVN para instalar un Wordpress seguro en Ubuntu Server
  2. 2. ● Stuardo Rodríguez – Free software (1998) – PHP web developer (2000) – Grupo de usuarios PHP, Guatemala (~2007) – La Maphpia (2010)
  3. 3. Ubuntu Server
  4. 4. Wordpress
  5. 5. Subversion (SVN)
  6. 6. Instalando paquetes1| $ sudo aptitude install subversion2| $ sudo aptitude install libapache2-svn3| $ sudo aptitude install phpmyadmin
  7. 7. Creando repositorio SVN1| $ sudo mkdir /home/svn # /var/lib/svn2| $ cd /home/svn3| $ sudo svnadmin create misitio.com4| $ sudo addgroup svn5| $ sudo chown -Rvf svn misitio.com6| $ sudo chmod -Rvf g+w misitio.com
  8. 8. Creando estructura arbol SVN1| $ mkdir /tmp/svn2| $ cd /tmp/svn3| $ mkdir trunk branches tag4| $ cd trunk5| $ mkdir arch db design prototype web6| $ svn import -m “svn tree”
  9. 9. SVN:externals1| $ svn co file:///home/svn/misitio.com/trunk misitio.com2| $ cd misitio.com/web3| $ svn propedit svn:externals . wordpress http://core.svn.wordpress.org/tags/3.4.1/4| $ svn up
  10. 10. Wordpress local1| $ svn export wordpress/wp-content wp-content2| $ cp wordpress/index.php index.php- remplazar require(./wp-blog-header.php); require(./wordpress/wp-blog-header.php);
  11. 11. Wordpress config1| $ cp web/wordpress/wp-config-sample.php web/wp-config.php- configurar define(WP_BASE, dirname(__FILE__)); define(WP_HOME, http://misitio.com ); define(WP_CONTENT_DIR, WP_BASE./wp-content ); define(WP_CONTENT_URL, WP_HOME./wp-content); define(DB_NAME, [your-db-name]); define(DB_USER, [your-db-user]); define(DB_PASSWORD, [your-db-pass]); define(DB_HOST, [your-db-host]);
  12. 12. Wordpress instalhttp://misitio.com/wordpress/wp-admin/install.php
  13. 13. PHPgt● Grupo de usuarios de PHP de Guatemala● https://groups.google.com● phpgt+subscribe@googlegroups.com
  14. 14. maphpia.com● Stuardo Rodríguez● str@maphpia.com

×