SlideShare uma empresa Scribd logo
1 de 8
Baixar para ler offline
“Setting Up a Local Web Server”
WordPress Ottawa Meetup
May 2rd, 2018
Slides are posted at:
http://www.slideshare.net/r3df
© 2016 Rick Radko, r3df.com
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
© 2016 Rick Radko, r3df.com
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
© 2016 Rick Radko, r3df.com
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
© 2016 Rick Radko, r3df.com
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
© 2016 Rick Radko, r3df.com
Some stacks
All platforms:
 BitNami: bitnami.com/ stack/ wordpress
 XAMPP: apachefriends.org
Windows only:
 WampServer: wampserver.com
Mac & Windows:
 MAMP: mamp.info
Mac & Linux:
 Native installs
5
© 2016 Rick Radko, r3df.com
Check ports in use
In a shell/ command prompt/ terminal run:
 netstat -an
6
© 2016 Rick Radko, r3df.com
Database Search and Replace script for migrations
Migrating WordPress
 Moving from one domain to another ie:
dev.mydomain.com to mydomain.com
When migrating WordPress the database needs to be
updated to change all instances of the old domain to the
new one.
interconnectit.com/products/search-and-replace-for-
wordpress-databases/
OR backup solution that does migration (Backup Buddy)
7

Mais conteúdo relacionado

Mais procurados

Word press customiztion and plugins feb 2012
Word press customiztion and plugins feb 2012Word press customiztion and plugins feb 2012
Word press customiztion and plugins feb 2012
Jon Brown
 

Mais procurados (17)

Gutenberg: Revolutionizing your WordPress site
Gutenberg: Revolutionizing your WordPress siteGutenberg: Revolutionizing your WordPress site
Gutenberg: Revolutionizing your WordPress site
 
Setting up a local web server for WordPress
Setting up a local web server for WordPressSetting up a local web server for WordPress
Setting up a local web server for WordPress
 
Getting WordPress to speak your langauge
Getting WordPress to speak your langaugeGetting WordPress to speak your langauge
Getting WordPress to speak your langauge
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
Introduction of wordpress, Wordpress Training Ahmedabad, Wordpress Class Ahme...
 
Quick & Dirty Wordpress Customization
Quick & Dirty Wordpress CustomizationQuick & Dirty Wordpress Customization
Quick & Dirty Wordpress Customization
 
WordPress: An Introduction
WordPress: An IntroductionWordPress: An Introduction
WordPress: An Introduction
 
Introduction to WordPress Slides from WordCamp 2012 by Gary A. Bacon
Introduction to WordPress Slides from WordCamp 2012 by Gary A. BaconIntroduction to WordPress Slides from WordCamp 2012 by Gary A. Bacon
Introduction to WordPress Slides from WordCamp 2012 by Gary A. Bacon
 
Wordcampnigeria
WordcampnigeriaWordcampnigeria
Wordcampnigeria
 
Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
Introduction to WordPress
Introduction to WordPress Introduction to WordPress
Introduction to WordPress
 
WP-ShowHide
WP-ShowHideWP-ShowHide
WP-ShowHide
 
AMIMOTO WordPress + Amazon Web Services for ALL Tech Levels
AMIMOTO WordPress + Amazon Web Services for ALL Tech Levels AMIMOTO WordPress + Amazon Web Services for ALL Tech Levels
AMIMOTO WordPress + Amazon Web Services for ALL Tech Levels
 
Introduction to Wordpress
Introduction to WordpressIntroduction to Wordpress
Introduction to Wordpress
 
Word press customiztion and plugins feb 2012
Word press customiztion and plugins feb 2012Word press customiztion and plugins feb 2012
Word press customiztion and plugins feb 2012
 
All Roads Lead to WordPress
All Roads Lead to WordPress All Roads Lead to WordPress
All Roads Lead to WordPress
 

Semelhante a Setting up a local web server environment

Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
Vikram g b
 

Semelhante a Setting up a local web server environment (20)

Intro to development sites and site migration
Intro to development sites and site migrationIntro to development sites and site migration
Intro to development sites and site migration
 
23 LAMP Stack #burningkeyboards
23 LAMP Stack #burningkeyboards23 LAMP Stack #burningkeyboards
23 LAMP Stack #burningkeyboards
 
WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011WP Sandbox Presentation WordCamp Toronto 2011
WP Sandbox Presentation WordCamp Toronto 2011
 
Backing up your WordPress website – it’s not optional
Backing up your WordPress website – it’s not optionalBacking up your WordPress website – it’s not optional
Backing up your WordPress website – it’s not optional
 
WordPress website backups – they're not optional
WordPress website backups – they're not optionalWordPress website backups – they're not optional
WordPress website backups – they're not optional
 
Setting up a local WordPress Environment
Setting up a local WordPress EnvironmentSetting up a local WordPress Environment
Setting up a local WordPress Environment
 
MiM asp.net core
MiM asp.net coreMiM asp.net core
MiM asp.net core
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
Docker for Developers - PNWPHP 2016 Workshop
Docker for Developers - PNWPHP 2016 WorkshopDocker for Developers - PNWPHP 2016 Workshop
Docker for Developers - PNWPHP 2016 Workshop
 
Xampp Ppt
Xampp PptXampp Ppt
Xampp Ppt
 
Foundation of starting your drupal project to vagrant environment
Foundation of starting your drupal project to vagrant environmentFoundation of starting your drupal project to vagrant environment
Foundation of starting your drupal project to vagrant environment
 
PHP Installed on IBM i - the Nickel Tour
PHP Installed on IBM i - the Nickel TourPHP Installed on IBM i - the Nickel Tour
PHP Installed on IBM i - the Nickel Tour
 
Wampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharmaWampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharma
 
Introduction to ASP.NET Core
Introduction to ASP.NET CoreIntroduction to ASP.NET Core
Introduction to ASP.NET Core
 
Web server hardware and software
Web server hardware and softwareWeb server hardware and software
Web server hardware and software
 
Installing WampServer
Installing WampServerInstalling WampServer
Installing WampServer
 
Apache web service
Apache web serviceApache web service
Apache web service
 
2016 03 15_biological_databases_part4
2016 03 15_biological_databases_part42016 03 15_biological_databases_part4
2016 03 15_biological_databases_part4
 
WordPress Manual in Compatible with XAMPP
WordPress Manual in Compatible with XAMPPWordPress Manual in Compatible with XAMPP
WordPress Manual in Compatible with XAMPP
 
Software Requirements of WordPress
Software Requirements of WordPressSoftware Requirements of WordPress
Software Requirements of WordPress
 

Mais de R-Cubed Design Forge

Mais de R-Cubed Design Forge (9)

WordPress page builders - a new tool to build awesome pages quickly
WordPress page builders - a new tool to build awesome pages quicklyWordPress page builders - a new tool to build awesome pages quickly
WordPress page builders - a new tool to build awesome pages quickly
 
WordPress page builders a quick introduction
WordPress page builders a quick introductionWordPress page builders a quick introduction
WordPress page builders a quick introduction
 
Creating Customizer Options for Themes and Plugins
Creating Customizer Options for Themes and PluginsCreating Customizer Options for Themes and Plugins
Creating Customizer Options for Themes and Plugins
 
WordPress customizer: for themes and more
WordPress customizer: for themes and moreWordPress customizer: for themes and more
WordPress customizer: for themes and more
 
Multisite for multilingual
Multisite for multilingualMultisite for multilingual
Multisite for multilingual
 
A peek into the world of WordPress plugin development
A peek into the world of WordPress plugin developmentA peek into the world of WordPress plugin development
A peek into the world of WordPress plugin development
 
Intro to WordPress Plugin Development
Intro to WordPress Plugin DevelopmentIntro to WordPress Plugin Development
Intro to WordPress Plugin Development
 
How to WordPress: the basics, part 2
How to WordPress:  the basics, part 2How to WordPress:  the basics, part 2
How to WordPress: the basics, part 2
 
How to WordPress: the basics, part 1
How to WordPress:  the basics, part 1How to WordPress:  the basics, part 1
How to WordPress: the basics, part 1
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

Setting up a local web server environment

  • 1. “Setting Up a Local Web Server” WordPress Ottawa Meetup May 2rd, 2018 Slides are posted at: http://www.slideshare.net/r3df
  • 2. © 2016 Rick Radko, r3df.com 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. © 2016 Rick Radko, r3df.com 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. © 2016 Rick Radko, r3df.com 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. © 2016 Rick Radko, r3df.com 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. © 2016 Rick Radko, r3df.com Some stacks All platforms:  BitNami: bitnami.com/ stack/ wordpress  XAMPP: apachefriends.org Windows only:  WampServer: wampserver.com Mac & Windows:  MAMP: mamp.info Mac & Linux:  Native installs 5
  • 7. © 2016 Rick Radko, r3df.com Check ports in use In a shell/ command prompt/ terminal run:  netstat -an 6
  • 8. © 2016 Rick Radko, r3df.com Database Search and Replace script for migrations Migrating WordPress  Moving from one domain to another ie: dev.mydomain.com to mydomain.com When migrating WordPress the database needs to be updated to change all instances of the old domain to the new one. interconnectit.com/products/search-and-replace-for- wordpress-databases/ OR backup solution that does migration (Backup Buddy) 7