The contents on this site are being moved to Highlander Nexus

ConfigureWordPress

From Linux and MacOSX Wiki
Revision as of 18:54, 6 June 2016 by Linuxwiki dept.admin (Talk | contribs) (Importing text file)

Jump to: navigation, search

Configuring WordPress on AFS Web


Purpose: This documentation will help configure the WordPress Content Management system to create a website using a graphical user interface on your NJIT AFS.


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

  • Enter your web directory:

    cd ~/public_html
  • Download the latest version of WordPress (as of this writing the latest version is 4.5.2) You can confirm this by visiting https://wordpress.org/download/:

  • wget -c https://wordpress.org/latest.tar.gz

    Extract the file:

    tar -xvf latest.tar.gz
  • Enter the WordPress directory:
  • cd wordpress
  • Access your WordPress site at https://web.njit.edu/~UCID/wordpress where UCID is your personal UCID.
  • Note: If you want to access your WordPress site directly from your Web’s home, as in https://web.njit.edu/~UCID simply run:

    mv -v ~/public_html/wordpress/* ~/public_html/

    to move the contents from the directory to your public_html directory.

    And remove the wordpress directory:

    rm -rf ~/public_html/wordpress

    The URL should direct you to https://web.njit.edu/~UCID/wordpress/wp-admin/setup-config.php

  • Select, Let’s go! to begin the setup.
  • Complete the form, entering the necessary information.

  • 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 in which you have access to, replacing localhost.
  • For example, sql.njit.edu

    Changing the Table Prefix is optional.

  • Select Submit to continue once the changes have been made.
  • </p>

    On the following page, WordPress will complain about not being able to create the wp-config.php file. Follow its instruction to create the file manually.

  • Copy the contents of wp-config.php and using your editor of choice, paste it into your ~/public_html/wordpress/wp-config.php file.
  • Next, select Run the install to continue.

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

  • Enter the necessary information in these fields.
  • select Install WordPress to complete the installation.

    </li>

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