¡Esta es una revisión vieja del documento!
Install wordpress
Apache
Install Apache, PHP & MySQL
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo apt-get install mysql-server php5-mysql
sudo /etc/init.d/apache2 restart
Allow permalinks
Backup and restore
Before of this install the plugin (you can do it on the admin panel) backupwordpress.
Make and download a backup file. This file must contain files and database.
Format server
Install apache, php and Mysql. Ensure
Go to /var/www/html
Download with wget the last Wordpress.
Unzip the wordpress file.
Upload the previous backup file.
Unzip the backup file.
Change in the database file (.sql) the beginning adding: the next lines (if database is called blog):
CREATE DATABASE blog;
USE blog;
If database has a different password than the previous one you should change wp-config.php.
Execute the command: mysql -u <user> -p < db_backup.dump
Go to /var/www and execute:
chown -R www-data html
chgrp -R www-data html