installing & setting up wordpress
DESCRIPTION
How to install and set up WordPress on a new hosted server.TRANSCRIPT
Installing & Setting Up WordPressOn a new hosted server Wil Brown
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.)
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
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.
Manual: Create a Database
1. Create a MySQL DB DB created but no user is yet assigned to it Jot down DB name
Manual: Create a Database
2. Create a user with password to access the database Jot down DB username and password
Manual: Create a Database
3. Assign user to the DB
Manual: Create a Database
4. Assign user DB access privilegesCheck all options if you're not sure
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
Installing WordPress Files Manually
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
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
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!
Installing WordPress Using a Hosts ScriptFantastico, Softaculous
Script: Installation & Setup● Look for: CGI Scripts, Fantastico,
Softaculous, Web Apps etc. and click on 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
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.
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!
Questions?
Contact Info:Wil [email protected]