SlideShare une entreprise Scribd logo
1  sur  8
Télécharger pour lire hors ligne
“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

Contenu connexe

Tendances

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
 

Tendances (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
 

Similaire à 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
 

Similaire à 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
 

Plus de R-Cubed Design Forge

Plus 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
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

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