How to install Wordpress in a SEAS account.

  1. Make sure you have CGI enabled on Fling or Alliance for the account where you want to install Wordpress.
  2. You will also need a MySQL database (a MySQL account will be created for you automatically when CGI is activated).
  3. Connect to the account via the command line.
  4. Create a directory called "dynamic" within your html directory:

    cd html
    mkdir dynamic
    chmod 755 dynamic
    cd dynamic

  5. From within the dynamic directory, run the following commands to get the Wordpress installation files:

    wget http://wordpress.org/latest.tar.gz
    tar xfzp latest.tar.gz

  6. Visit your Wordpress site to finish the installation process:

    https://fling.seas.upenn.edu/~username/dynamic/wordpress

    Where "username" is the account name where you are installing Wordpress. Replace "fling.seas" with "alliance.seas" if appropriate.
  7. Fill in your database information:
    • Database Name: the account name
    • Username: the account name
    • Password: your MySQL password
    • Database Host: localhost
    • Table Prefix: use the default unless you are installing another instance of Wordpress using the same database.
  8. Follow the rest of the steps of the installation.
  9. After the installation is complete, you may see an error when trying to access your site and will need to change the permissions on the .htaccess file created by WordPress. Run this command from within your wordpress directory:

    chmod 644 .htaccess

  10. You will also need to change the permissions on the config file to make sure no one can see your MySQL password. Run this command from within your wordpress directory:

    chmod 600 wp-config.php

  11. Disable the Wordpress Pingback feature as described here: Disabling XML-RPC pingback
  12. Enable permalinks if you want friendly URLs. Log into your Wordpress site and select Settings > Permalinks > Post name. Save your changes. This enables friendly URLs based on the post name. Other naming schemes are also available.

    Important: Try to make this decision as soon as possible, as permalinks are incompatible with the original URLs generated by Wordpress.

If you have any questions, please contact cets@seas.upenn.edu.

© Computing and Educational Technology Services | Report a Problem
cets@seas.upenn.edu | 215.898.4707