Changes between Version 17 and Version 18 of faq/wordpress/WordPressInstall


Ignore:
Timestamp:
Jul 18, 2021, 7:20:00 PM (3 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/wordpress/WordPressInstall

    v17 v18  
    22== How Do I Install WordPress software? ==
    33
    4 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.
    5 
    6 This instructional is a modest adaptation of the official [http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install "Famous WordPress 5-Minute Install" guide].
    7 
    8  1. [wiki:create_mysql_database Create a MySQL database] via the [https://members.mayfirst.org/cp Members Control panel] as well as a MySQL user who has all privileges for accessing and modifying it.
    9  1. Download and unzip the latest WordPress package using one of the following methods:
    10   * (Recommended) If you're more comfortable editing files on your own machine and then uploading them to the server via SFTP, [http://wordpress.org/download/ browse and download] the preferred archive (Zip or Gzip) then extract the archive to a handy location.
    11   * 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:
    12    * change into your web directory:
    13 {{{
    14 cd ../../web
    15 }}}
    16    * Follow these [http://codex.wordpress.org/Installing_WordPress#Step_1:_Download_and_Extract excellent instructions].
    17    * 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:
    18    * Remove the latest.tar.gz file:
    19 {{{
    20 rm latest.tar.gz
    21 }}}
    22    * Move the files from wordpress to your web directory:
    23 {{{
    24 mv wordpress/* ./
    25 }}}
    26    * Remove the wordpress directory
    27 {{{
    28 rmdir wordpress
    29 }}}
    30  1. Place the WordPress files in the desired location on the web server:
    31   * 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).
    32   * 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).
    33  1. Run the WordPress installation script by accessing wp-admin/install.php in your favorite web browser (which should be !FireFox).
    34   * If you installed WordPress in the webroot directory, you should visit: !http://yourdomain.com/wp-admin/install.php
    35   * If you installed WordPress in its own subdirectory called blog, for example, you should visit: !http://yourdomain.com/blog/wp-admin/install.php
    36 
    37 And that's it! Now you can start configuring and theming your blog!
     4Please see our [wiki:install-web-app Instructions for installing a web application] for the full details.