[[TranslatedPages]] == 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 [http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install "Famous WordPress 5-Minute Install" guide]. 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. 1. 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, [http://wordpress.org/download/ 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 [http://codex.wordpress.org/Installing_WordPress#Step_1:_Download_and_Extract 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 }}} 1. 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 }}} 1. 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 }}} 1. 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). 1. 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!