Download - Installing WordPress The Right Way
![Page 1: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/1.jpg)
Installing WordPress The Right WayBy Chris Burgess @chrisburgess
(slides will be posted to Meetup after the talk)
![Page 2: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/2.jpg)
Agenda
• Before you begin• Walkthrough of the "Famous 5-Minute Install”• Common installation problems• Other methods of installation• Next steps
![Page 3: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/3.jpg)
Before you begin
![Page 4: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/4.jpg)
![Page 5: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/5.jpg)
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.
![Page 6: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/6.jpg)
WordPress’ “Installing WordPress Guide”
https://codex.wordpress.org/Installing_WordPress
![Page 7: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/7.jpg)
The Famous 5-Minute Install
![Page 8: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/8.jpg)
Famous 5-Minute InstallHere'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. http://example.com/), 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. http://example.com/blog/), 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: http://example.com/If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://example.com/blog/That's it! WordPress should now be installed.
![Page 9: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/9.jpg)
Overview
1. Download WordPress from WordPress.org2. Upload the WordPress files to your web host3. Create a database and database user4. Run the installation script
![Page 10: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/10.jpg)
Step 1: Download WordPress from WordPress.org
![Page 11: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/11.jpg)
![Page 12: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/12.jpg)
![Page 13: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/13.jpg)
![Page 14: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/14.jpg)
Step 2: Upload the WordPress files to your web host
![Page 15: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/15.jpg)
Log into your cPanel (or equivalent)
![Page 16: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/16.jpg)
cPanel -> File Manager
![Page 17: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/17.jpg)
First time you use File Manager
![Page 18: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/18.jpg)
File Manager
![Page 19: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/19.jpg)
![Page 20: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/20.jpg)
Upload WordPress
![Page 21: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/21.jpg)
Extracting WordPress
![Page 22: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/22.jpg)
Extracting WordPress
![Page 23: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/23.jpg)
Extracting WordPress
![Page 24: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/24.jpg)
Extracting WordPress
![Page 25: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/25.jpg)
Moving WordPress to the Web Root(i.e. example.com/ rather than example.com/wordpress/
![Page 26: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/26.jpg)
Moving WordPress to the Web Root(i.e. example.com.au/ rather than example.com.au/wordpress/
![Page 27: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/27.jpg)
Moving WordPress to the Web Root(i.e. example.com.au/ rather than example.com.au/wordpress/
![Page 28: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/28.jpg)
Before -> After
![Page 29: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/29.jpg)
Cleaning up…
• Delete “wordpress” folder• Delete wordpressXXX.zip• You can also delete the readme, licence and
install.php if you want
![Page 30: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/30.jpg)
Step 3: Creating a database and database user
![Page 31: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/31.jpg)
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
![Page 32: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/32.jpg)
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
![Page 33: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/33.jpg)
We’re going to save our details, I use a temporary text file…
![Page 34: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/34.jpg)
Creating a MySQL Database
![Page 35: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/35.jpg)
Creating a MySQL Database
![Page 36: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/36.jpg)
Creating a MySQL Database
![Page 37: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/37.jpg)
Creating the Database
![Page 38: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/38.jpg)
Creating the Database User
![Page 39: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/39.jpg)
Always use strong passwords/passphrases for everything
![Page 40: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/40.jpg)
Add the User to your Database
![Page 41: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/41.jpg)
Set privileges
![Page 42: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/42.jpg)
Confirm what you’ve done
![Page 43: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/43.jpg)
Confirm what you’ve done
![Page 44: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/44.jpg)
You should have something like this:
![Page 45: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/45.jpg)
Visit your URL (your domain name)
![Page 46: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/46.jpg)
WordPress reminds us we need our database details!
![Page 47: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/47.jpg)
Entering our database details
![Page 48: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/48.jpg)
Copy and paste
![Page 49: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/49.jpg)
Step 4: Run the installation script
![Page 50: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/50.jpg)
All right sparky!
![Page 51: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/51.jpg)
Enter your site name and WordPress username
Never use the default “admin” and choose a strong password!
![Page 52: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/52.jpg)
You can change this setting in the dashboard, but it’s an important one!
![Page 53: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/53.jpg)
![Page 54: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/54.jpg)
Success!
![Page 55: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/55.jpg)
Check your inbox
![Page 56: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/56.jpg)
It’s working!
![Page 57: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/57.jpg)
![Page 58: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/58.jpg)
You can now login at:http://wphelp.com.au/login
![Page 59: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/59.jpg)
Your WordPress Dashboard
![Page 60: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/60.jpg)
Installation Demo
![Page 61: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/61.jpg)
Other files…
• .htaccess• robots.txt• humans.txt• favicon.ico (and others)
![Page 62: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/62.jpg)
Common installation problems
![Page 63: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/63.jpg)
Here are just a few…
• Incorrect database details• Syntax issues• Server configuration (PHP, index.php,
permissions etc.
![Page 64: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/64.jpg)
Check your database settings
![Page 65: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/65.jpg)
Syntax issues
![Page 66: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/66.jpg)
Server issues
• Too many to mention• Check with your host• Or… check out the next steps in a few slides
![Page 67: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/67.jpg)
Other methods of installation
![Page 68: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/68.jpg)
You may have heard of…
• One-click installers (Installatron, SimpleScripts, Softaculous, Fantastico etc.) <- not recommended
• Clone features/plugins (ManageWP, InfiniteWP)• BackupBuddy• WP-CLI (wp-cli.org)• Version Control (git etc.)• Manual (FTP/SFTP/SCP, ssh, wget etc.)
![Page 69: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/69.jpg)
Next steps
![Page 70: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/70.jpg)
Where to go for help…
• Melbourne WordPress Meetup :)• WordPress Codex• Search• Ask a friend
![Page 71: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/71.jpg)
Recap
1. Download WordPress2. Upload WordPress to your web host3. Create a database and database user4. Run the installation script5. Next, make sure you secure your installation
(covered next session)
![Page 72: Installing WordPress The Right Way](https://reader033.vdocument.in/reader033/viewer/2022061103/54036aba8d7f72444d8b46aa/html5/thumbnails/72.jpg)
Chris Burgess @chrisburgess
Questions?