One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| ## How to install mcrypt in php7.2 | |
| ## | |
| ## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
| ## | |
| # | |
| # Check version php and pecl | |
| # | |
| php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php |
Typing vagrant from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
vagrant init -- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.vagrant init <boxpath> -- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example, vagrant init ubuntu/trusty64.vagrant up -- starts vagrant environment (also provisions only on the FIRST vagrant up)| #!/bin/sh | |
| # POSIX | |
| # getopts | |
| # Usage info | |
| show_help() { | |
| cat << EOF | |
| Usage: ${0##*/} [-hv] [-f OUTFILE] [FILE]... | |
| Do stuff with FILE and write the result to standard output. With no FILE |
| #!/bin/sh | |
| # POSIX | |
| # Manual loop | |
| die() { | |
| printf '%s\n' "$1" >&2 | |
| exit 1 | |
| } |
| # Install Pre-requisites | |
| apt update | |
| apt install apt-transport-https ca-certificates curl software-properties-common -y | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
| add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
| apt update | |
| # Install Docker CE | |
| apt install docker-ce -y |
| version: '3' | |
| # vcap.me is a wildcard domain that resolves to localhost | |
| # in case you need to pass URL's around from browser to | |
| # containers this could help you get around localhost problem | |
| services: | |
| # use www.vcap.me to access web containter from host | |
| # use api.vcap.me to access api container from host | |
| proxy: |
| # Access Logs | |
| LogFormat "{ \ | |
| \"@vips\":[\"%v\"], \ | |
| \"@source\":\"%v%U%q\", \ | |
| \"@source_host\": \"%v\", \ | |
| \"@source_path\": \"%f\", \ | |
| \"@tags\":[\"Apache\",\"Access\"], \ | |
| \"@message\": \"%h %l %u %t \\\"%r\\\" %>s %b\", \ | |
| \"@fields\": { \ | |
| \"timestamp\": \"%{%Y-%m-%dT%H:%M:%S%z}t\", \ |
$ xcode-select --install
$ softwareupdate --list