wiki:faq/wordpress/WordPressInstall

Version 14 (modified by Jamie McClelland, 4 years ago) (diff)

--

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, check out these excellent instructions.
  3. Rename the wp-config-sample.php file in the directory you just created to wp-config.php. If you are doing this from the command line, type:
    mv wp-config-sample.php wp-config.php
    
  4. Open wp-config.php in your favorite text editor and fill in your database details as you entered them in the first step, when you created your database. If you are doing this step from the command line, try:
    nano wp-config.php
    
  5. 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).
  6. 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!