wiki:faq/wordpress/WordPressInstall

How Do I Install WordPress software?

Installing WordPress to your MFPL website is easy and should only take a few minutes, leaving you free to design and configure your blog rather than fuss with complicated installation procedures.

This instructional is a modest adaptation of the official "Famous WordPress 5-Minute Install" guide.

  1. Create a MySQL database via the Members Control panel as well as a MySQL user who has all privileges for accessing and modifying it.
  2. Download and unzip the latest WordPress package using one of the following methods:
    • (Recommended) If you're more comfortable editing files on your own machine and then uploading them to the server via SFTP, browse and download the preferred archive (Zip or Gzip) then extract the archive to a handy location.
    • Alternately, if you are modestly comfortable with the Linux command-line interface and want to save some time, you can use wget to copy the archive directly to your account. You may later wish you had the files on your local machine, though, as it is likely you will want to edit themes or tweak other settings in a non-live environment. Anyway, to use the CLI method:
      • change into your web directory:
        cd ../../web
        
      • Follow these excellent instructions.
      • After you have followed those instructions, you will end up with your latest.tar.gz file (which you don't need anymore) and your wordpress files in a directory called wordpress (rather than in your web directory). You can clean things up with these commands:
      • Remove the latest.tar.gz file:
        rm latest.tar.gz
        
      • Move the files from wordpress to your web directory:
        mv wordpress/* ./
        
      • Remove the wordpress directory
        rmdir wordpress
        
  3. Place the WordPress files in the desired location on the web server:
    • If you want to integrate WordPress into the root of your domain (e.g. http://yourdomain.com/), move or upload all contents of the unzipped WordPress directory (but EXCLUDING the "wordpress" directory itself) into the root directory of your web server (/home/members/[your_username]/sites/[yourdomain.org]/web) and delete the default index.html file (this will allow the http://yourdomain.com/ to load the wordpress software).
    • If you want to have your WordPress installation in its own subdirectory on your web site (e.g. http://example.com/blog/), rename the directory wordpress to the name you'd like the subdirectory to have and move or upload it to your web server. For example if you want the WordPress installation in a subdirectory called "blog", you should rename the directory called "wordpress" to "blog" and upload it to the root directory of your web server (/home/members/[your_username]/site/[yourdomain.org]/web).
  4. Run the WordPress installation script by accessing wp-admin/install.php in your favorite web browser (which should be FireFox).
    • If you installed WordPress in the webroot directory, you should visit: http://yourdomain.com/wp-admin/install.php
    • If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://yourdomain.com/blog/wp-admin/install.php

And that's it! Now you can start configuring and theming your blog!

Last modified 5 months ago Last modified on Jul 4, 2018, 5:56:25 PM