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.

Setting up a local web server environment


Published on

WordPress Ottawa Meetup presentation slides for "Setting up a local web server environment'

Published in: Technology
  • Login to see the comments

  • Be the first to like this

Setting up a local web server environment

  1. 1. “Setting Up a Local Web Server” WordPress Ottawa Meetup May 2rd, 2018 Slides are posted at:
  2. 2. © 2016 Rick Radko, Setting up a local web server Why do we need a local web server?  To run WordPress on your laptop (or pc). Why run WordPress on your laptop?  Test new plugins and themes.  Play with WordPress without the need for a public server.  Website development. 1
  3. 3. © 2016 Rick Radko, What is a local web server? Alocal web server:  Is a web server installed on your own computer.  Generally they are not public. A web server  Is a collection of software needed to respond to browser requests.  The software needed depends on what the web application is. 2
  4. 4. © 2016 Rick Radko, What is a local web server? For a webserver that runs WordPress, we need:  Web Server  Apache or Nginx (or others like IIS)  Programming language  PHP (there are others, Perl, Python, Ruby, Java)  Database  MySQL or MariaDB (there are others) 3
  5. 5. © 2016 Rick Radko, How do you get all that on your computer? WAMPstack  Windows, Apache, MySQL, PHP LAMP stack  Linux, Apache, MySQL, PHP MAMP stack  Mac, Apache, MySQL, PHP * Apache is a web server 4
  6. 6. © 2016 Rick Radko, Some stacks All platforms:  BitNami: stack/ wordpress  XAMPP: Windows only:  WampServer: Mac & Windows:  MAMP: Mac & Linux:  Native installs 5
  7. 7. © 2016 Rick Radko, Check ports in use In a shell/ command prompt/ terminal run:  netstat -an 6
  8. 8. © 2016 Rick Radko, Database Search and Replace script for migrations Migrating WordPress  Moving from one domain to another ie: to When migrating WordPress the database needs to be updated to change all instances of the old domain to the new one. wordpress-databases/ OR backup solution that does migration (Backup Buddy) 7