Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Installing WordPress The Right Way


Published on

In this presentation we cover the details of installing WordPress, go over common problems and talk about the importance of maintaining your website and basic website security.

Published in: Technology

Installing WordPress The Right Way

  1. 1. Installing WordPress The Right Way By Chris Burgess @chrisburgess (slides will be posted to Meetup after the talk)
  2. 2. Agenda • Before you begin • Walkthrough of the "Famous 5-Minute Install” • Common installation problems • Other methods of installation • Next steps
  3. 3. Before you begin
  4. 4. Make sure you have… • Hosting • Domain Name (pointed to your web host) If you missed the Meetup last month, the links to the slides and video are on Meetup.
  5. 5. WordPress’ “Installing WordPress Guide”
  6. 6. The Famous 5-Minute Install
  7. 7. Famous 5-Minute Install Here's the quick version of the instructions for those who are already comfortable with performing such installations. More detailed instructions follow. If you are not comfortable with renaming files, step 3 is optional and you can skip it as the install program will create the wp-config.php file for you. Download and unzip the WordPress package if you haven't already. Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it. (Optional) Find and rename wp-config-sample.php to wp-config.php, then edit the file (see Editing wp-config.php) and add your database information. Upload the WordPress files to the desired location on your web server: If you want to integrate WordPress into the root of your domain (e.g., move or upload all contents of the unzipped WordPress directory (excluding the WordPress directory itself) into the root directory of your web server. If you want to have your WordPress installation in its own subdirectory on your web site (e.g., create the blog directory on your server and upload the contents of the unzipped WordPress package to the directory via FTP. Note: If your FTP client has an option to convert file names to lower case, make sure it's disabled. Run the WordPress installation script by accessing the URL in a web browser. This should be the URL where you uploaded the WordPress files. If you installed WordPress in the root directory, you should visit: If you installed WordPress in its own subdirectory called blog, for example, you should visit: That's it! WordPress should now be installed.
  8. 8. Overview 1. Download WordPress from 2. Upload the WordPress files to your web host 3. Create a database and database user 4. Run the installation script
  9. 9. Step 1: Download WordPress from
  10. 10. Step 2: Upload the WordPress files to your web host
  11. 11. Log into your cPanel (or equivalent)
  12. 12. cPanel -> File Manager
  13. 13. First time you use File Manager
  14. 14. File Manager
  15. 15. Upload WordPress
  16. 16. Extracting WordPress
  17. 17. Extracting WordPress
  18. 18. Extracting WordPress
  19. 19. Extracting WordPress
  20. 20. Moving WordPress to the Web Root (i.e. rather than
  21. 21. Moving WordPress to the Web Root (i.e. rather than
  22. 22. Moving WordPress to the Web Root (i.e. rather than
  23. 23. Before -> After
  24. 24. Cleaning up… • Delete “wordpress” folder • Delete • You can also delete the readme, licence and install.php if you want
  25. 25. Step 3: Creating a database and database user
  26. 26. A little bit about databases • WordPress uses a database to store content and configuration • MySQL, PostgreSQL, SQLite, Microsoft SQL Server, Oracle, CouchDB, MongoDB, Redis – are all databases • Some are better suited at certain tasks than others • MySQL is by far the most popular database used for WordPress
  27. 27. Creating a MySQL Database • We can create a MySQL database a few ways, but the most common way is to use cPanel (or equivalent hosting control panel) to create the database and database user
  28. 28. We’re going to save our details, I use a temporary text file…
  29. 29. Creating a MySQL Database
  30. 30. Creating a MySQL Database
  31. 31. Creating a MySQL Database
  32. 32. Creating the Database
  33. 33. Creating the Database User
  34. 34. Always use strong passwords/passphrases for everything
  35. 35. Add the User to your Database
  36. 36. Set privileges
  37. 37. Confirm what you’ve done
  38. 38. Confirm what you’ve done
  39. 39. You should have something like this:
  40. 40. Visit your URL (your domain name)
  41. 41. WordPress reminds us we need our database details!
  42. 42. Entering our database details
  43. 43. Copy and paste
  44. 44. Step 4: Run the installation script
  45. 45. All right sparky!
  46. 46. Enter your site name and WordPress username Never use the default “admin” and choose a strong password!
  47. 47. You can change this setting in the dashboard, but it’s an important one!
  48. 48. Success!
  49. 49. Check your inbox
  50. 50. It’s working!
  51. 51. You can now login at:
  52. 52. Your WordPress Dashboard
  53. 53. Installation Demo
  54. 54. Other files… • .htaccess • robots.txt • humans.txt • favicon.ico (and others)
  55. 55. Common installation problems
  56. 56. Here are just a few… • Incorrect database details • Syntax issues • Server configuration (PHP, index.php, permissions etc.
  57. 57. Check your database settings
  58. 58. Syntax issues
  59. 59. Server issues • Too many to mention • Check with your host • Or… check out the next steps in a few slides 
  60. 60. Other methods of installation
  61. 61. You may have heard of… • One-click installers (Installatron, SimpleScripts, Softaculous, Fantastico etc.) <- not recommended • Clone features/plugins (ManageWP, InfiniteWP) • BackupBuddy • WP-CLI ( • Version Control (git etc.) • Manual (FTP/SFTP/SCP, ssh, wget etc.)
  62. 62. Next steps
  63. 63. Where to go for help… • Melbourne WordPress Meetup :) • WordPress Codex • Search • Ask a friend
  64. 64. Recap 1. Download WordPress 2. Upload WordPress to your web host 3. Create a database and database user 4. Run the installation script 5. Next, make sure you secure your installation (covered next session)
  65. 65. Chris Burgess @chrisburgess Questions?