The contents on this site are being moved to Highlander Nexus

ConfigureWordPress

From Linux and MacOSX Wiki
Jump to: navigation, search

Configuring WordPress in your AFS webspace


Purpose: This documentation will show you how to configure the WordPress content management system (CMS) to create a website in your AFS account.


Before proceeding, ensure you have access to your MySQL Database. For help, visit the NJIT MySQL page.

  1. Enter the directory from which content is served by web.njit.edu:

  2. cd ~/public_html
  3. Download the latest version of WordPress (as of this writing the latest version is 4.5.2):

  4. wget -c https://wordpress.org/latest.tar.gz
  5. Extract the file:
  6. tar -xvf latest.tar.gz
  7. Enter the WordPress directory:
  8. cd wordpress
  9. Access your WordPress site at https://web.njit.edu/~UCID/wordpress where UCID is your UCID.
  10. The URL should direct you to https://web.njit.edu/~UCID/wordpress/wp-admin/setup-config.php

  11. Select, Let's go! to begin the setup.
  12. Complete the form, entering the necessary information:

  13. For Database Name, enter your UCID

    For the Username and Password field, enter the username (UCID) and MySQL password for your sql database.

    For Database Host, enter the name of the sql server assigned to your UCID. This will be either sql1.njit.edu or sql2.njit.edu

    Changing the Table Prefix is optional.

    You may want to do this for example, if you have more than one WordPress database.

  14. Select Submit to continue once the information in step 7 has been entered.

  15. Next, select Run the install to continue.

  16. The following page will ask for the Site Title, Username, Password and Your Email.

    The username is an arbitrary username for this WordPress install. For password, do not use any of your NJIT passwords.

  17. Enter the necessary information in these fields.
  18. Select Install WordPress to complete the installation.

    1. That's it! Enjoy your new WordPress site on AFS.