Netgen’s Local Development Setup¶
Overview¶
This is a guide on setting up modern web development environment with PHP on your local Mac or Linux machine, without using any kind of virtualization. Web server configurations for Symfony and eZ Platform / Ibexa CMS are provided out of the box, but the setup is not limited to them, and new configurations for other PHP applications can be easily added.
For all chapters in this documentation, replace Brale Rodijak
with
your own name, brale
user with you own username on your workstation
and if on Linux, staff
group with your own group name (usually the
same as the username).
Follow the steps in this order:
- Git
- dnsmasq
- MySQL
- PHP
- Composer
- SSL
- NGINX
- cURL
- Redis
- Solr
- RabbitMQ
- MailHog
- Varnish
- Node.js
- Tika
- Memcached
- XDebug
- Exposing websites
MAC OS¶
- MacOS prerequisites
- Set up Git version control system
- Set up DNS forwarding with dnsmasq
- Set up MySQL database server
- Set up PHP
- Set up composer
- Set up SSL certificates with OpenSSL
- Set up NGINX web server
- Set up cURL
- Set up Redis in-memory data store
- Set up Apache Solr
- Set up RabbitMQ message-broker
- Set up MailHog development SMTP server
- Set up Varnish reverse HTTP proxy
- Set up Node.js version management
- Set up Apache Tika server (optional)
- Set up Memcached distributed memory object caching system
- Set up XDebug
UBUNTU¶
- Set up Git version control system
- Set up DNS forwarding with dnsmasq
- Set up MySQL database server
- Set up PHP
- Set up composer
- Set up SSL certificates with OpenSSL
- Set up NGINX web server
- Set up Redis in-memory data store
- Set up Apache Solr
- Set up RabbitMQ message-broker
- Set up MailHog development SMTP server
- Set up Varnish reverse HTTP proxy
- Set up Node.js version management
- Set up Apache Tika server (optional)
- Set up Memcached distributed memory object caching system
- Set up XDebug