Preparando migración a Wordpress

11:59 pm Blog

Ps como dice el titulo, quiero pasarme de gekko a wordpress, el mayor motivo de esto es que gekko se descontinuará..

Bueno ahora el problema de todo esto es poder respaldar la información ya generada aquí a la nueva bd de wordpress. Hay un script que me comentaron en el canal de IRC de gekko:

gz.png
Migrator.tar

Este script está hecho en php, aunque el realidad pasa de wordpress a gekko, así que me voy a dar a la tarea de modificarlo para hacer el proceso inverso (ya le dije a nekro de hackerss.com si me hacia el favor de correr el script, una vez que lo termine xD).

Y bueno, no quiero meterme en problemas así me he bajado wp y gekko para poder hacer pruebas en localhost :), para eso:

- Paquetes

UnderHouse ~ # emerge -pv mysql php apache

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-db/mysql-5.0.44  USE="berkdb debug perl ssl -big-tables -cluster -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -static" 0 kB
[ebuild   R   ] dev-lang/php-5.2.3-r3  USE="apache2 berkdb bzip2 cgi cli crypt ctype debug gd gdbm iconv ipv6 mysql ncurses nls pcre readline reflection session spell spl ssl threads truetype unicode xml zip zlib -adabas -bcmath -birdstep -calendar -cdb -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase -dbmaker -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gmp -hash -imap -inifile -interbase -iodbc -java-external -json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pdo-external -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip-external" 0 kB
[ebuild   R   ] www-servers/apache-2.0.58-r2  USE="apache2 debug ldap ssl threads -doc -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules" 0 kB

- Usuarios

adduser -g users -G apache -m -s /usr/bin/false gekko
adduser -g users -G apache -m -s /usr/bin/false wp
mkdir /home/gekko/public_html
chown :apache /home/gekko/public_html
mkdir /home/wp/public_html
chown :apache /home/wp/public_html

- Mysql


UnderHouse ~ # mysql -p -u root
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 4
Server version: 5.0.44-debug-log Gentoo Linux mysql-5.0.44

Type ‘help;’ or ‘h’ for help. Type ‘c’ to clear the buffer.

mysql> create database wordpress;
Query OK, 1 row affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON wordpress.* TO blog@localhost IDENTIFIED BY ‘****’;
Query OK, 0 rows affected (0.00 sec)

mysql> create database gekko;
Query OK, 1 row affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON gekko.* TO blogger@localhost IDENTIFIED BY ‘****’;
Query OK, 0 rows affected (0.00 sec)

mysql>

Con eso bastará para hacer pruebas XD

_gekko.png

_wordpress.png

Califica el tema:
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Temas Relacionados:
  • Actualizando Wordpress versión 2.3
  • Migración a wordpress = Done!
  • Nos estamos quedado sin programadores ?
  • Leave a Comment

    Your comment

    You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.