installing & setting up wordpress

19
Installing & Setting Up WordPress On a new hosted server Wil Brown

Upload: gravitational-fx

Post on 05-Dec-2014

526 views

Category:

Technology


2 download

DESCRIPTION

How to install and set up WordPress on a new hosted server.

TRANSCRIPT

Page 1: Installing & Setting Up WordPress

Installing & Setting Up WordPressOn a new hosted server Wil Brown

Page 2: Installing & Setting Up WordPress

A WordPress Installation

Consists of 2 parts1. The "core" files = they do stuff2. The database = it stores stuff

(except for media - images, video, pdf etc.)

Page 3: Installing & Setting Up WordPress

Choosing A Hosting Package

Operating System?● Linux = standard & cheaper● Windows = icky to configure & expensive

Database Support?● You need at least 1 database (mySQL)● Ultra cheapo packages may not offer DB

Shared or Decicated/Cloud?● Shared = cheap & slow (risky shared sites)● Dedicated/Cloud = more expensive but

scaleable

Page 4: Installing & Setting Up WordPress

Two Methods of Installing WordPress

1. Manual - we'll do this one first to show you how WordPress hangs together

2. Script - semi-automated WordPress still needs to be configured after installation.

Page 5: Installing & Setting Up WordPress

Manual: Create a Database

1. Create a MySQL DB DB created but no user is yet assigned to it Jot down DB name

Page 6: Installing & Setting Up WordPress

Manual: Create a Database

2. Create a user with password to access the database Jot down DB username and password

Page 7: Installing & Setting Up WordPress

Manual: Create a Database

3. Assign user to the DB

Page 8: Installing & Setting Up WordPress

Manual: Create a Database

4. Assign user DB access privilegesCheck all options if you're not sure

Page 9: Installing & Setting Up WordPress

Manual: Create a Database

User is now assigned to the DB You should now have a note of:

a. Database Nameb. Database User Namec. Database User Password

Page 10: Installing & Setting Up WordPress

Installing WordPress Files Manually

Page 11: Installing & Setting Up WordPress

Manual: Upload WP Core Files

● Download latest WP zip from wordpress.org● Unzip on local. Creates a wordpress folder● Open wordpress folder and zip up contents

again (stops creation of wordpress folder on host)● Upload zip to hosting package and unzip in

either root or a subfolder

Note: (ftp/file manager) - unzip may not be avail. Unzip on local and FTP

● Root or sub folder?○ Main site = root folder○ Multiple installations = sub folder

Page 12: Installing & Setting Up WordPress

Manual: Create & Edit wp-config.php

● Find the file wp-config-sample.php● Rename it to wp-config.php● Edit the file wp-config.php● Change these lines:

○ define('DB_NAME', 'database_name_here');○ define('DB_USER', 'database_user_name_here');○ define('DB_PASSWORD', 'password_here');○ define('DB_HOST', 'localhost');

■ localhost is the most common DB_HOST but it can be a different name. Check with your hosting company if unsure

● Save changes

Page 13: Installing & Setting Up WordPress

Manual: WordPress Installation

Visit your site. The browser will open the WP installation/setup process.● Site Title● Admin Username● Admin Password● Admin Email Address● Include in Search Engines● Hit "Install Wordpress" Done!

Page 14: Installing & Setting Up WordPress

Installing WordPress Using a Hosts ScriptFantastico, Softaculous

Page 15: Installing & Setting Up WordPress

Script: Installation & Setup● Look for: CGI Scripts, Fantastico,

Softaculous, Web Apps etc. and click on WordPress

Page 16: Installing & Setting Up WordPress

Script: Fantastico Setup

your domain namethe folder to install into (leave blank for root)

don't use "admin" or "root"

choose a good quality password

your nicknamesystem email address i.e. "From:"title of sitedescription of site

Page 17: Installing & Setting Up WordPress

Scripts: Fantastico Setup

It's handy to jot down your MySQL DB user and name but not needed to complete installation All done.You're given the admin username and password again as well as a link to the login area.

Page 18: Installing & Setting Up WordPress

Basic WordPress Configuration

● Update Authentication Unique Keys and Salts in wp-config.php○ Visit: https://api.wordpress.org/secret-key/1.1/salt/○ Copy code block and replace default one

● Permalinks/Friendly URLs○ set to /%postname%/ for better SEO

● Install Firewall 2 plugin

DONE!

Page 19: Installing & Setting Up WordPress

Questions?

Contact Info:Wil [email protected]