Tag Archives: Wordpress

WordPress: Block XML-RPC attack

Columbia: WordPress Data Loss

  • WordPress Outage Caused Data Loss
  • Although WordPress is available again after the recent outage, any files up uploaded between April 15 and June 20 were lost. If you go to your Media Library, you will see blank squares in place of your files. You should re-upload any missing files being sure not to change their names. The images will then re-appear on the pages where you included them.
  • If you have any questions, please send us an email at cu-blogs-admin_at_columbia.edu (be sure to include your blog’s URL)

WordPress: Install on Ubuntu 14.04

  • https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04
  • mysql -u root -p
    CREATE DATABASE wordpress;
    CREATE USER wordpressuser@localhost IDENTIFIED BY ‘password’;
    GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost;
  • cd ~
    wget http://wordpress.org/latest.tar.gz
    tar xzvf latest.tar.gz
    sudo apt-get update
    sudo apt-get install php5-gd libssh2-php
    cd ~/wordpress
    cp wp-config-sample.php wp-config.php
    nano wp-config.php
    define(‘DB_NAME’, ‘wordpress’);
    define(‘DB_USER’, ‘wordpressuser’);
    define(‘DB_PASSWORD’, ‘password’);
    sudo rsync -avP ~/wordpress/ /var/www/html/
    cd /var/www/html
    sudo chown -R demo:www-data *
    mkdir /var/www/html/wp-content/uploads
    sudo chown -R :www-data /var/www/html/wp-content/uploads

  • mv index.html index.old

  • http://server_domain_name_or_IP