“Setting Up a Local Web Server” -------------------------------------------------------- Good afternoon! In this workshop we are going to setup a local web server -> for WordPress
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
Presenter
Presentation Notes
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. -> avoid messing up a public site - Play with WordPress without the need for a public server. -> save $ - Website development. -> faster on local server
A local 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
Presenter
Presentation Notes
A local 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. A java based app needs different things than WordPress -> or even plain html
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
Presenter
Presentation Notes
Apache or Nginx - Free PHP -> WordPress is written in PHP - Other languages - python - perl - ruby - java Other databases - MS SQL OR MariaDB - others including oracle
How do you get all that on your computer? We get a pre-prepared package called a stack Have WAMP, LAMP and MAMP stacks P can be PHP, PYTHON, or PERL or all of them
All platforms: BitNami: bitnami.org XAMPP: apachefriends.org
Windows only: WampServer: wampserver.com
Mac & Windows: MAMP: mamp.info
5
Presenter
Presentation Notes
Apache, PHP, MySQL are all natively LINIX programs - Linux can install apps natively - So can Mac, in-fact you may already have them (OS-X) ->BUT they are not easy to get going unless you know how to use them. Just to confuse things, the organization the makes MAMP -> now has a windows version…