Поиск по этому блогу

понедельник, 4 апреля 2016 г.

Пробуем Vagrant Drupal Development (VDD), на видео все просто...

Здесь мое первое знакомство с Vagrant произошло при скудном опыте использования VirtualBox. Потому здесь я тупо повторил вслед за автором "Tutorial: Vagrant Drupal 8 Development" и скопипастил большую часть вывода консоли. Я еще не понимал, что и как работает, и надеялся освоить все с Друпалом.

Vagrant Drupal Development (VDD) is fully configured and ready to use development environment built with VirtualBox, Vagrant, Linux and Chef Solo provisioner.
Начало работы с Vagrant и зачем он вообще нужен


VDD 8.x-1.x presentation Vagrant Drupal Development (VDD) is fully configured and ready to use development environment built with VirtualBox, Vagrant, Linux and Chef Solo provisioner.
Tutorial: Vagrant Drupal 8 Development In this tutorial, you'll learn how to set up a local Drupal 8 development environment using the Vagrant Drupal Development (VDD) contributed module, Chef, Vagrant, and VirtualBox.
Vagrant Drupal Development The main goal of the project is to provide easy to use fully functional, highly customizable and extendable Linux based environment for Drupal development.


drushcommands.com
Drush on Windows is not recommended, since Drush's test suite is not running there (help wanted).

Подробно последовательность всех действий описана в приложении в конце посто (readme.txt)

In [ ]:
alter_000@pb MINGW64 /f/drupal
$ git clone --branch 8.x-1.x http://git.drupal.org/project/vdd.git
Cloning into 'vdd'...
remote: Counting objects: 1491, done.
remote: Compressing objects: 100% (1055/1055), done.
remote: Total 1491 (delta 622), reused 808 (delta 269)
Receiving objects: 100% (1491/1491), 1.16 MiB | 743.00 KiB/s, done.
Resolving deltas: 100% (622/622), done.
Checking connectivity... done.
Checking out files: 100% (535/535), done.

alter_000@pb MINGW64 /f/drupal
$ cd vdd

alter_000@pb MINGW64 /f/drupal/vdd (8.x-1.x)
In [ ]:
alter_000@pb MINGW64 /f/drupal/vdd (8.x-1.x)
$ ls
Berksfile  Berksfile.lock  chef/  config.json  data/  README.txt  Vagrantfile

Далее, в "F:\drupal\vdd\config.json" меняем

In [ ]:
{
  "vm": {
    "ip": "192.168.44.44",
    "memory": "1024",
        ...
In [ ]:
на
In [ ]:
{
  "vm": {
    "ip": "192.168.88.99",
    "memory": "1024",
        ...

И запускаем из консоли с правами администратора (в первый раз)

In [ ]:
F:\drupal\vdd>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'https://atlas.hashicorp.com/ubuntu/boxes/trusty64'
    default: URL: https://atlas.hashicorp.com/ubuntu/boxes/trusty64
==> default: Adding box 'ubuntu/trusty64' (v20160323.0.0) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/20160323.0.0/providers/virtualbox.box
    default: Progress: 3% (Rate: 1199k/s, Estimated time remaining: 0:05:56))

По мере установки вывод консоли меняется

In [ ]:
F:\drupal\vdd>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'https://atlas.hashicorp.com/ubuntu/boxes/trusty64'
    default: URL: https://atlas.hashicorp.com/ubuntu/boxes/trusty64
==> default: Adding box 'ubuntu/trusty64' (v20160323.0.0) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/20160323.0.0/providers/virtualbox.box
    default: Progress: 100% (Rate: 1954k/s, Estimated time remaining: --:--:--)
==> default: Successfully added box 'ubuntu/trusty64' (v20160323.0.0) for 'virtualbox'!
==> default: Importing base box 'ubuntu/trusty64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Setting the name of the VM: vdd_default_1459770214588_92001
==> default: Clearing any previously set forwarded ports...
==> default: Auto-generating node name for Chef...
==> default: The cookbook path 'F:/drupal/vdd/cookbooks' doesn't exist. Ignoring...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 35729 (guest) => 35729 (host) (adapter 1)
    default: 8983 (guest) => 8983 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Remote connection disconnect. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.36
    default: VirtualBox Version: 5.0
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /var/www => F:/drupal/vdd/data
    default: /vagrant => F:/drupal/vdd
    default: /tmp/vagrant-chef/137e9a28e0ff1833c400f4433ccb2422/roles => F:/drupal/vdd/chef/roles
    default: /tmp/vagrant-chef/7d66fe20373f7d2f1f974e75276d28e1/data_bags => F:/drupal/vdd/chef/data_bags
==> default: Running provisioner: shell...
    default: Running: C:/Users/pc/AppData/Local/Temp/vagrant-shell20160404-17140-275vn5.sh
==> default: stdin: is not a tty
==> default: +--------------------------------------+
==> default: |                                      |
==> default: |  ooooo  oooo ooooooooo  ooooooooo    |
==> default: |   888    88   888    88o 888    88o  |
==> default: |    888  88    888    888 888    888  |
==> default: |     88888     888    888 888    888  |
==> default: |      888     o888ooo88  o888ooo88    |
==> default: |                                      |
==> default: +--------------------------------------+
==> default: Updating Chef to 11.12.4 version. This may take a few minutes...
In [ ]:
Продолжение:
In [ ]:
==> default: +--------------------------------------+
==> default: Updating Chef to 11.12.4 version. This may take a few minutes...
==> default: sources updated
==> default: installing ruby and chef
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following extra packages will be installed:
==> default:   dpkg-dev g++ g++-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
==> default:   libalgorithm-merge-perl libdpkg-perl libfile-fcntllock-perl
==> default:   libstdc++-4.8-dev
==> default: Suggested packages:
==> default:   debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg
==> default:   libstdc++-4.8-doc
==> default: The following NEW packages will be installed:
==> default:   build-essential dpkg-dev g++ g++-4.8 libalgorithm-diff-perl
==> default:   libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl
==> default:   libfile-fcntllock-perl libstdc++-4.8-dev ruby1.9.1-dev
==> default: 0 upgraded, 11 newly installed, 0 to remove and 5 not upgraded.
==> default: Need to get 21.1 MB of archives.
==> default: After this operation, 47.9 MB of additional disk space will be used.
==> default: Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.1 [1,051 kB]
==> default: Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.1 [18.1 MB]
==> default: Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1,490 B]
==> default: Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.5 [179 kB]
==> default: Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.5 [726 kB]
==> default: Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4,838 B]
==> default: Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
==> default: Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]
==> default: Get:9 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
==> default: Get:10 http://archive.ubuntu.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]
==> default: Get:11 http://archive.ubuntu.com/ubuntu/ trusty-updates/main ruby1.9.1-dev amd64 1.9.3.484-2ubuntu1.2 [871 kB]
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: Fetched 21.1 MB in 13s (1,619 kB/s)
==> default: Selecting previously unselected package libstdc++-4.8-dev:amd64.
==> default: (Reading database ... 62985 files and directories currently installed.)
==> default: Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
==> default: Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.1) ...
==> default: Selecting previously unselected package g++-4.8.
==> default: Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
==> default: Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.1) ...
==> default: Selecting previously unselected package g++.
==> default: Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
==> default: Unpacking g++ (4:4.8.2-1ubuntu6) ...
==> default: Selecting previously unselected package libdpkg-perl.
==> default: Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.5_all.deb ...
==> default: Unpacking libdpkg-perl (1.17.5ubuntu5.5) ...
==> default: Selecting previously unselected package dpkg-dev.
==> default: Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.5_all.deb ...
==> default: Unpacking dpkg-dev (1.17.5ubuntu5.5) ...
==> default: Selecting previously unselected package build-essential.
==> default: Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
==> default: Unpacking build-essential (11.6ubuntu6) ...
==> default: Selecting previously unselected package libalgorithm-diff-perl.
==> default: Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
==> default: Unpacking libalgorithm-diff-perl (1.19.02-3) ...
==> default: Selecting previously unselected package libalgorithm-diff-xs-perl.
==> default: Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
==> default: Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
==> default: Selecting previously unselected package libalgorithm-merge-perl.
==> default: Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
==> default: Unpacking libalgorithm-merge-perl (0.08-2) ...
==> default: Selecting previously unselected package libfile-fcntllock-perl.
==> default: Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
==> default: Unpacking libfile-fcntllock-perl (0.14-2build1) ...
==> default: Selecting previously unselected package ruby1.9.1-dev.
==> default: Preparing to unpack .../ruby1.9.1-dev_1.9.3.484-2ubuntu1.2_amd64.deb ...
==> default: Unpacking ruby1.9.1-dev (1.9.3.484-2ubuntu1.2) ...
==> default: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
==> default: Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.1) ...
==> default: Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.1) ...
==> default: Setting up g++ (4:4.8.2-1ubuntu6) ...
==> default: update-alternatives:
==> default: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
==> default: Setting up libdpkg-perl (1.17.5ubuntu5.5) ...
==> default: Setting up dpkg-dev (1.17.5ubuntu5.5) ...
==> default: Setting up build-essential (11.6ubuntu6) ...
==> default: Setting up libalgorithm-diff-perl (1.19.02-3) ...
==> default: Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
==> default: Setting up libalgorithm-merge-perl (0.08-2) ...
==> default: Setting up libfile-fcntllock-perl (0.14-2build1) ...
==> default: Setting up ruby1.9.1-dev (1.9.3.484-2ubuntu1.2) ...
==> default: Updating certificates in /etc/ssl/certs...
==> default: 0 added, 0 removed; done.
==> default: Running hooks in /etc/ca-certificates/update.d....
==> default: done.
In [ ]:
==> default: Building native extensions.  This could take a while...
==> default: Building native extensions.  This could take a while...
==> default: Building native extensions.  This could take a while...
==> default: Building native extensions.  This could take a while...
==> default: Building native extensions.  This could take a while...
==> default: Successfully installed mixlib-config-2.2.1
==> default: Successfully installed mixlib-cli-1.5.0
==> default: Successfully installed mixlib-log-1.6.0
==> default: Successfully installed rspec-support-3.4.1
==> default: Successfully installed rspec-core-3.4.4
==> default: Successfully installed diff-lcs-1.2.5
==> default: Successfully installed rspec-expectations-3.4.0
==> default: Successfully installed rspec-mocks-3.4.1
==> default: Successfully installed mixlib-authentication-1.4.0
==> default: Successfully installed mixlib-shellout-1.6.1
==> default: Successfully installed mime-types-1.25.1
==> default: Successfully installed systemu-2.5.2
==> default: Successfully installed yajl-ruby-1.2.1
==> default: Successfully installed ipaddress-0.8.3
==> default: Successfully installed ohai-7.0.4
==> default: Successfully installed rest-client-1.6.9
==> default: Successfully installed json-1.8.1
==> default: Successfully installed net-ssh-2.9.4
==> default: Successfully installed net-ssh-gateway-1.2.0
==> default: Successfully installed net-ssh-multi-1.2.1
==> default: Successfully installed highline-1.7.8
==> default: Successfully installed erubis-2.7.0
==> default: Successfully installed hashie-2.1.2
==> default: Successfully installed ffi-1.9.10
==> default: Successfully installed libyajl2-1.2.0
==> default: Successfully installed ffi-yajl-1.4.0
==> default: Successfully installed rack-1.6.4
==> default: Successfully installed chef-zero-2.2.1
==> default: Successfully installed coderay-1.1.1
==> default: Successfully installed slop-3.6.0
==> default: Successfully installed method_source-0.8.2
==> default: Successfully installed pry-0.10.3
==> default: Successfully installed chef-11.12.4
==> default: 33 gems installed
==> default: installed ruby and chef
==> default: Running provisioner: chef_solo...
    default: Installing Chef (latest)...
In [ ]:
...
In [ ]:
==> default: [2016-04-04T11:52:06+00:00] INFO: template[/etc/apache2/mods-available/setenvif.conf] not queuing delayed action reload on service[apache2] (de
layed), as it's already been queued
==> default:   * execute[a2enmod setenvif] action run (skipped due to not_if)
==> default: Recipe: apache2::default
==> default:   * execute[a2dissite default] action run (skipped due to only_if)
==> default:   * service[apache2] action enable
==> default:  (up to date)
==> default:   * service[apache2] action start
==> default:  (up to date)
==> default: Recipe: mysql::client
==> default:   * mysql_client[default] action create
==> default:
==> default:     - ubuntu pattern
==> default: Recipe: <Dynamically Defined Resource>
==> default:   * package[mysql-client] action install
==> default:
==> default:     - install version 5.5.47-0ubuntu0.14.04.1 of package mysql-client
==> default:
==> default:   * package[libmysqlclient-dev] action install
==> default:
==> default:     - install version 5.5.47-0ubuntu0.14.04.1 of package libmysqlclient-dev
==> default:
==> default: Recipe: mysql::server
==> default:   * mysql_service[default] action create
==> default:
==> default:     - ubuntu pattern
==> default: Recipe: <Dynamically Defined Resource>
==> default:   * package[debconf-utils] action install
==> default:  (up to date)
==> default:   * directory[/var/cache/local/preseeding] action create
==> default:  (up to date)
==> default:   * template[/var/cache/local/preseeding/mysql-server.seed] action create
In [ ]:
 
In [ ]:
==> default:
==> default:         @@ -1 +1,11 @@
==> default:
==> default:         +ServerName vdd
==> default:
==> default:         +
==> default:
==> default:         +StartServers 10
==> default:
==> default:         +MinSpareServers 5
==> default:
==> default:         +MaxSpareServers 10
==> default:
==> default:         +ServerLimit 30
==> default:
==> default:         +MaxClients 150
==> default:         +MaxKeepAliveRequests 200
==> default:         +KeepAliveTimeout 5
==> default:         +EnableSendfile off[2016-04-04T11:53:30+00:00] INFO: template[/etc/apache2/conf-enabled/vdd_apache.conf] mode changed to 644
==> default:
==> default:     - change mode from '' to '0644'
==> default: Recipe: vdd::graphviz
==> default:   * package[graphviz] action install
==> default:
==> default:     - install version 2.36.0-0ubuntu3.1 of package graphviz
==> default: Recipe: mysql-chef_gem::default
==> default:   * mysql_chef_gem[default] action install
==> default: Recipe: build-essential::_debian
==> default:   * package[autoconf] action install
==> default:
==> default:     - install version 2.69-6 of package autoconf
==> default:   * package[binutils-doc] action install
In [ ]:
 
In [ ]:
==> default:         -;session.upload_progress.min_freq = "1"
==> default:         -
==> default:          [MSSQL]
==> default:          ; Allow or prevent persistent links.
==> default:          mssql.allow_persistent = On
==> default:         @@ -1604,7 +1624,7 @@
==> default:          mssql.min_message_severity = 10
==> default:
==> default:          ; Compatibility mode with old versions of PHP 3.0.
==> default:         -mssql.compatibility_mode = Off
==> default:         +mssql.compatability_mode = Off
==> default:
==> default:          ; Connect timeout
==> default:          ;mssql.connect_timeout = 5
==> default:         @@ -1635,7 +1655,7 @@
==> default:          ;mssql.max_procs = -1
==> default:
==> default:          ; Specify client character set.
==> default:         -; If empty or not set the client charset from freetds.conf is used
==> default:         +; If empty or not set the client charset from freetds.comf is used
==> default:          ; This is only used when compiled with FreeTDS
==> default:          ;mssql.charset = "ISO-8859-1"
==> default:
==> default:         @@ -1695,16 +1715,16 @@
==> default:          ; Some encoding cannot work as internal encoding.
==> default:          ; (e.g. SJIS, BIG5, ISO-2022-*)
==> default:          ; http://php.net/mbstring.internal-encoding
==> default:         -;mbstring.internal_encoding = UTF-8
==> default:         +;mbstring.internal_encoding = EUC-JP
==> default:
==> default:          ; http input encoding.
==> default:          ; http://php.net/mbstring.http-input
==> default:         -;mbstring.http_input = UTF-8
==> default:         +;mbstring.http_input = auto
==> default:
==> default:          ; http output encoding. mb_output_handler must be
==> default:          ; registered as output buffer to function
==> default:          ; http://php.net/mbstring.http-output
==> default:         -;mbstring.http_output = pass
==> default:         +;mbstring.http_output = SJIS
==> default:
==> default:          ; enable automatic encoding translation according to
==> default:          ; mbstring.internal_encoding setting. Input chars are
==> default:         @@ -1722,7 +1742,7 @@
==> default:          ; substitute_character used when character cannot be converted
==> default:          ; one from another
==> default:          ; http://php.net/mbstring.substitute-character
==> default:         -;mbstring.substitute_character = none
==> default:         +;mbstring.substitute_character = none;
==> default:
==> default:          ; overload(replace) single byte functions by mbstring functions.
==> default:          ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
==> default:         @@ -1736,13 +1756,17 @@
==> default:          ;mbstring.func_overload = 0
==> default:
==> default:          ; enable strict encoding detection.
==> default:         -;mbstring.strict_detection = On
==> default:         +;mbstring.strict_detection = Off
==> default:
==> default:          ; This directive specifies the regex pattern of content types for which mb_output_handler()
==> default:          ; is activated.
==> default:          ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
==> default:          ;mbstring.http_output_conv_mimetype=
==> default:
==> default:         +; Allows to set script encoding. Only affects if PHP is compiled with --enable-zend-multibyte
==> default:         +; Default: ""
==> default:         +;mbstring.script_encoding=
==> default:         +
==> default:          [gd]
==> default:          ; Tell the jpeg decode to ignore warnings and try to create
==> default:          ; a gd image. The warning will then be displayed as notices
==> default:         @@ -1824,108 +1848,8 @@
==> default:          [dba]
==> default:          ;dba.default_handler=
==> default:
==> default:         -[opcache]
==> default:         -; Determines if Zend OPCache is enabled
==> default:         -;opcache.enable=0
==> default:         -
==> default:         -; Determines if Zend OPCache is enabled for the CLI version of PHP
==> default:         -;opcache.enable_cli=0
==> default:         -
==> default:         -; The OPcache shared memory storage size.
==> default:         -;opcache.memory_consumption=64
==> default:         -
==> default:         -; The amount of memory for interned strings in Mbytes.
==> default:
==> default:         -;opcache.interned_strings_buffer=4
==> default:
==> default:         -
==> default:
==> default:         -; The maximum number of keys (scripts) in the OPcache hash table.
==> default:
==> default:         -; Only numbers between 200 and 100000 are allowed.
==> default:
==> default:         -;opcache.max_accelerated_files=2000
==> default:
==> default:         -
==> default:
==> default:         -; The maximum percentage of "wasted" memory until a restart is scheduled.
==> default:
==> default:         -;opcache.max_wasted_percentage=5
==> default:
==> default:         -
==> default:
==> default:         -; When this directive is enabled, the OPcache appends the current working
==> default:         -; directory to the script key, thus eliminating possible collisions between
==> default:         -; files with the same name (basename). Disabling the directive improves
==> default:         -; performance, but may break existing applications.
==> default:         -;opcache.use_cwd=1
==> default:         -
==> default:         -; When disabled, you must reset the OPcache manually or restart the
==> default:         -; webserver for changes to the filesystem to take effect.
==> default:         -;opcache.validate_timestamps=1
==> default:         -
==> default:         -; How often (in seconds) to check file timestamps for changes to the shared
==> default:         -; memory storage allocation. ("1" means validate once per second, but only
==> default:         -; once per request. "0" means always validate)
==> default:         -;opcache.revalidate_freq=2
==> default:         -
==> default:         -; Enables or disables file search in include_path optimization
==> default:         -;opcache.revalidate_path=0
==> default:         -
==> default:         -; If disabled, all PHPDoc comments are dropped from the code to reduce the
==> default:         -; size of the optimized code.
==> default:         -;opcache.save_comments=1
==> default:         -
==> default:         -; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
==> default:         -; may be always stored (save_comments=1), but not loaded by applications
==> default:         -; that don't need them anyway.
==> default:         -;opcache.load_comments=1
==> default:         -
==> default:         -; If enabled, a fast shutdown sequence is used for the accelerated code
==> default:         -;opcache.fast_shutdown=0
==> default:         -
==> default:         -; Allow file existence override (file_exists, etc.) performance feature.
==> default:         -;opcache.enable_file_override=0
==> default:         -
==> default:         -; A bitmask, where each bit enables or disables the appropriate OPcache
==> default:         -; passes
==> default:         -;opcache.optimization_level=0xffffffff
==> default:         -
==> default:         -;opcache.inherited_hack=1
==> default:         -;opcache.dups_fix=0
==> default:         -
==> default:         -; The location of the OPcache blacklist file (wildcards allowed).
==> default:         -; Each OPcache blacklist file is a text file that holds the names of files
==> default:         -; that should not be accelerated. The file format is to add each filename
==> default:         -; to a new line. The filename may be a full path or just a file prefix
==> default:         -; (i.e., /var/www/x  blacklists all the files and directories in /var/www
==> default:         -; that start with 'x'). Line starting with a ; are ignored (comments).
==> default:         -;opcache.blacklist_filename=
==> default:         -
==> default:         -; Allows exclusion of large files from being cached. By default all files
==> default:         -; are cached.
==> default:         -;opcache.max_file_size=0
==> default:         -
==> default:         -; Check the cache checksum each N requests.
==> default:         -; The default value of "0" means that the checks are disabled.
==> default:         -;opcache.consistency_checks=0
==> default:         -
==> default:         -; How long to wait (in seconds) for a scheduled restart to begin if the cache
==> default:         -; is not being accessed.
==> default:         -;opcache.force_restart_timeout=180
==> default:         -
==> default:         -; OPcache error_log file name. Empty string assumes "stderr".
==> default:         -;opcache.error_log=
==> default:         -
==> default:         -; All OPcache errors go to the Web server log.
==> default:         -; By default, only fatal errors (level 0) or errors (level 1) are logged.
==> default:         -; You can also enable warnings (level 2), info messages (level 3) or
==> default:         -; debug messages (level 4).
==> default:         -;opcache.log_verbosity_level=1
==> default:         -
==> default:         -; Preferred Shared Memory back-end. Leave empty and let the system decide.
==> default:         -;opcache.preferred_memory_model=
==> default:         -
==> default:         -; Protect the shared memory from unexpected writing during script execution.
==> default:         -; Useful for internal debugging only.
==> default:         -;opcache.protect_memory=0
==> default:         -
==> default:         -[curl]
==> default:         -; A default value for the CURLOPT_CAINFO option. This is required to be an
==> default:         -; absolute path.
==> default:         -;curl.cainfo =
==> default:         -
==> default:          ; Local Variables:
==> default:          ; tab-width: 4
==> default:          ; End:
==> default:         +
==> default: Recipe: php::default
==> default:   * php_pear_channel[pear.php.net] action update
==> default:  (up to date)
==> default:
==> default:   * php_pear_channel[pecl.php.net] action update
==> default:  (up to date)
==> default: Recipe: apache2::mod_php5
==> default:   * package[libapache2-mod-php5] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package libapache2-mod-php5
==> default:
==> default:   * file[/etc/apache2/conf.d/php.conf] action delete
==> default:  (up to date)
==> default:   * execute[a2enmod php5] action run
==> default:  (skipped due to not_if)
==> default: Recipe: vdd::php
==> default:   * package[php5-gd] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package php5-gd
==> default:
==> default:   * package[php5-mysql] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package php5-mysql
==> default:   * package[php5-mcrypt] action install
==> default:
==> default:     - install version 5.4.6-0ubuntu5 of package php5-mcrypt
==> default:   * package[php5-curl] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package php5-curl
==> default:   * package[php5-dev] action install
==> default:  (up to date)
==> default:   * template[/etc/php5/apache2/conf.d/vdd_php.ini] action create
==> default: [2016-04-04T11:55:56+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] created file /etc/php5/apache2/conf.d/vdd_php.ini
==> default:
==> default:     - create new file /etc/php5/apache2/conf.d/vdd_php.ini
==> default: [2016-04-04T11:55:56+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] updated file contents /etc/php5/apache2/conf.d/vdd_php.ini
==> default:
==> default:     - update content in file /etc/php5/apache2/conf.d/vdd_php.ini from none to 15233b
==> default:
==> default:         --- /etc/php5/apache2/conf.d/vdd_php.ini   2016-04-04 11:55:56.194424329 +0000
==> default:
==> default:         +++ /tmp/chef-rendered-template20160404-9158-nzqmkd        2016-04-04 11:55:56.206430328 +0000
==> default:
==> default:         @@ -1 +1,8 @@
==> default:
==> default:         +upload_max_filesize = 500M
==> default:
==> default:         +post_max_size = 500M
==> default:
==> default:         +error_reporting = E_ALL
==> default:
==> default:         +memory_limit = 256M
==> default:
==> default:         +html_errors = On
==> default:
==> default:         +display_errors = On
==> default:
==> default:         +sendmail_path = /usr/local/bin/catchmail
==> default: [2016-04-04T11:55:56+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] mode changed to 644
==> default:
==> default:     - change mode from '' to '0644'
==> default: [2016-04-04T11:55:56+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] not queuing delayed action restart on service[apache2] (delaye
d), as it's already been queued
==> default: Recipe: vdd::uploadprogress
==> default:   * php_pear[uploadprogress] action install
==> default: [2016-04-04T11:55:58+00:00] INFO: Installing php_pear[uploadprogress]
==> default:
==> default:     - install package php_pear[uploadprogress]
==> default: Recipe: <Dynamically Defined Resource>
==> default:   * template[/etc/php5/mods-available/uploadprogress.ini] action create
==> default: [2016-04-04T11:56:07+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] created file /etc/php5/mods-available/uploadprogress.in
i
==> default:
==> default:     - create new file /etc/php5/mods-available/uploadprogress.ini
==> default: [2016-04-04T11:56:07+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] updated file contents /etc/php5/mods-available/uploadpr
ogress.ini
==> default:
==> default:     - update content in file /etc/php5/mods-available/uploadprogress.ini from none to aef8d6
==> default:
==> default:         --- /etc/php5/mods-available/uploadprogress.ini    2016-04-04 11:56:07.331989797 +0000
==> default:
==> default:         +++ /tmp/chef-rendered-template20160404-9158-1wuw5a7       2016-04-04 11:56:07.351999795 +0000
==> default:
==> default:         @@ -1 +1,3 @@
==> default:
==> default:         +; configuration for php uploadprogress module
==> default:
==> default:         +extension=/usr/lib/php5/20121212/uploadprogress.so
==> default: [2016-04-04T11:56:07+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] owner changed to 0
==> default: [2016-04-04T11:56:07+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] group changed to 0
==> default: [2016-04-04T11:56:07+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] mode changed to 644
==> default:
==> default:     - change mode from '' to '0644'
==> default:
==> default:     - change owner from '' to 'root'
==> default:
==> default:     - change group from '' to 'root'
==> default: Recipe: vdd::uploadprogress
==> default:   * execute[/usr/sbin/php5enmod uploadprogress] action run
==> default: [2016-04-04T11:56:07+00:00] INFO: execute[/usr/sbin/php5enmod uploadprogress] ran successfully
==> default:
==> default:     - execute /usr/sbin/php5enmod uploadprogress
==> default: [2016-04-04T11:56:07+00:00] INFO: execute[/usr/sbin/php5enmod uploadprogress] not queuing delayed action restart on service[apache2] (delayed),
 as it's already been queued
==> default: Recipe: vdd::mailcatcher
==> default:   * package[libsqlite3-dev] action install
==> default:
==> default:     - install version 3.8.2-1ubuntu2.1 of package libsqlite3-dev
==> default:   * gem_package[mailcatcher] action install
In [ ]:
==> default:
==> default:          ; This directive specifies the regex pattern of content types for which mb_output_handler()
==> default:          ; is activated.
==> default:          ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
==> default:          ;mbstring.http_output_conv_mimetype=
==> default:
==> default:         +; Allows to set script encoding. Only affects if PHP is compiled with --enable-zend-multibyte
==> default:         +; Default: ""
==> default:         +;mbstring.script_encoding=
==> default:         +
==> default:          [gd]
==> default:          ; Tell the jpeg decode to ignore warnings and try to create
==> default:          ; a gd image. The warning will then be displayed as notices
==> default:         @@ -1824,108 +1848,8 @@
==> default:          [dba]
==> default:          ;dba.default_handler=
==> default:
==> default:         -[opcache]
==> default:         -; Determines if Zend OPCache is enabled
==> default:         -;opcache.enable=0
==> default:         -
==> default:         -; Determines if Zend OPCache is enabled for the CLI version of PHP
==> default:         -;opcache.enable_cli=0
==> default:         -
==> default:         -; The OPcache shared memory storage size.
==> default:         -;opcache.memory_consumption=64
==> default:         -
==> default:         -; The amount of memory for interned strings in Mbytes.
==> default:
==> default:         -;opcache.interned_strings_buffer=4
==> default:
==> default:         -
==> default:
==> default:         -; The maximum number of keys (scripts) in the OPcache hash table.
==> default:
==> default:         -; Only numbers between 200 and 100000 are allowed.
==> default:
==> default:         -;opcache.max_accelerated_files=2000
==> default:
==> default:         -
==> default:
==> default:         -; The maximum percentage of "wasted" memory until a restart is scheduled.
==> default:
==> default:         -;opcache.max_wasted_percentage=5
==> default:
==> default:         -
==> default:
==> default:         -; When this directive is enabled, the OPcache appends the current working
==> default:         -; directory to the script key, thus eliminating possible collisions between
==> default:         -; files with the same name (basename). Disabling the directive improves
==> default:         -; performance, but may break existing applications.
==> default:         -;opcache.use_cwd=1
==> default:         -
==> default:         -; When disabled, you must reset the OPcache manually or restart the
==> default:         -; webserver for changes to the filesystem to take effect.
==> default:         -;opcache.validate_timestamps=1
==> default:         -
==> default:         -; How often (in seconds) to check file timestamps for changes to the shared
==> default:         -; memory storage allocation. ("1" means validate once per second, but only
==> default:         -; once per request. "0" means always validate)
==> default:         -;opcache.revalidate_freq=2
==> default:         -
==> default:         -; Enables or disables file search in include_path optimization
==> default:         -;opcache.revalidate_path=0
==> default:         -
==> default:         -; If disabled, all PHPDoc comments are dropped from the code to reduce the
==> default:         -; size of the optimized code.
==> default:         -;opcache.save_comments=1
==> default:         -
==> default:         -; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
==> default:         -; may be always stored (save_comments=1), but not loaded by applications
==> default:         -; that don't need them anyway.
==> default:         -;opcache.load_comments=1
==> default:         -
==> default:         -; If enabled, a fast shutdown sequence is used for the accelerated code
==> default:         -;opcache.fast_shutdown=0
==> default:         -
==> default:         -; Allow file existence override (file_exists, etc.) performance feature.
==> default:         -;opcache.enable_file_override=0
==> default:         -
==> default:         -; A bitmask, where each bit enables or disables the appropriate OPcache
==> default:         -; passes
==> default:         -;opcache.optimization_level=0xffffffff
==> default:         -
==> default:         -;opcache.inherited_hack=1
==> default:         -;opcache.dups_fix=0
==> default:         -
==> default:         -; The location of the OPcache blacklist file (wildcards allowed).
==> default:         -; Each OPcache blacklist file is a text file that holds the names of files
==> default:         -; that should not be accelerated. The file format is to add each filename
==> default:         -; to a new line. The filename may be a full path or just a file prefix
==> default:         -; (i.e., /var/www/x  blacklists all the files and directories in /var/www
==> default:         -; that start with 'x'). Line starting with a ; are ignored (comments).
==> default:         -;opcache.blacklist_filename=
==> default:         -
==> default:         -; Allows exclusion of large files from being cached. By default all files
==> default:         -; are cached.
==> default:         -;opcache.max_file_size=0
==> default:         -
==> default:         -; Check the cache checksum each N requests.
==> default:         -; The default value of "0" means that the checks are disabled.
==> default:         -;opcache.consistency_checks=0
==> default:         -
==> default:         -; How long to wait (in seconds) for a scheduled restart to begin if the cache
==> default:         -; is not being accessed.
==> default:         -;opcache.force_restart_timeout=180
==> default:         -
==> default:         -; OPcache error_log file name. Empty string assumes "stderr".
==> default:         -;opcache.error_log=
==> default:         -
==> default:         -; All OPcache errors go to the Web server log.
==> default:         -; By default, only fatal errors (level 0) or errors (level 1) are logged.
==> default:         -; You can also enable warnings (level 2), info messages (level 3) or
==> default:         -; debug messages (level 4).
==> default:         -;opcache.log_verbosity_level=1
==> default:         -
==> default:         -; Preferred Shared Memory back-end. Leave empty and let the system decide.
==> default:         -;opcache.preferred_memory_model=
==> default:         -
==> default:         -; Protect the shared memory from unexpected writing during script execution.
==> default:         -; Useful for internal debugging only.
==> default:         -;opcache.protect_memory=0
==> default:         -
==> default:         -[curl]
==> default:         -; A default value for the CURLOPT_CAINFO option. This is required to be an
==> default:         -; absolute path.
==> default:         -;curl.cainfo =
==> default:         -
==> default:          ; Local Variables:
==> default:          ; tab-width: 4
==> default:          ; End:
==> default:         +
==> default: Recipe: php::default
==> default:   * php_pear_channel[pear.php.net] action update
==> default:  (up to date)
==> default:
==> default:   * php_pear_channel[pecl.php.net] action update
==> default:  (up to date)
==> default: Recipe: apache2::mod_php5
==> default:   * package[libapache2-mod-php5] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package libapache2-mod-php5
==> default:
==> default:   * file[/etc/apache2/conf.d/php.conf] action delete
==> default:  (up to date)
==> default:   * execute[a2enmod php5] action run
==> default:  (skipped due to not_if)
==> default: Recipe: vdd::php
==> default:   * package[php5-gd] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package php5-gd
==> default:
==> default:   * package[php5-mysql] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package php5-mysql
==> default:   * package[php5-mcrypt] action install
==> default:
==> default:     - install version 5.4.6-0ubuntu5 of package php5-mcrypt
==> default:   * package[php5-curl] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package php5-curl
==> default:   * package[php5-dev] action install
==> default:  (up to date)
==> default:   * template[/etc/php5/apache2/conf.d/vdd_php.ini] action create
==> default: [2016-04-04T11:55:56+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] created file /etc/php5/apache2/conf.d/vdd_php.ini
==> default:
==> default:     - create new file /etc/php5/apache2/conf.d/vdd_php.ini
==> default: [2016-04-04T11:55:56+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] updated file contents /etc/php5/apache2/conf.d/vdd_php.ini
==> default:
==> default:     - update content in file /etc/php5/apache2/conf.d/vdd_php.ini from none to 15233b
==> default:
==> default:         --- /etc/php5/apache2/conf.d/vdd_php.ini   2016-04-04 11:55:56.194424329 +0000
==> default:
==> default:         +++ /tmp/chef-rendered-template20160404-9158-nzqmkd        2016-04-04 11:55:56.206430328 +0000
==> default:
==> default:         @@ -1 +1,8 @@
==> default:
==> default:         +upload_max_filesize = 500M
==> default:
==> default:         +post_max_size = 500M
==> default:
==> default:         +error_reporting = E_ALL
==> default:
==> default:         +memory_limit = 256M
==> default:
==> default:         +html_errors = On
==> default:
==> default:         +display_errors = On
==> default:
==> default:         +sendmail_path = /usr/local/bin/catchmail
==> default: [2016-04-04T11:55:56+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] mode changed to 644
==> default:
==> default:     - change mode from '' to '0644'
==> default: [2016-04-04T11:55:56+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] not queuing delayed action restart on service[apache2] (delaye
d), as it's already been queued
==> default: Recipe: vdd::uploadprogress
==> default:   * php_pear[uploadprogress] action install
==> default: [2016-04-04T11:55:58+00:00] INFO: Installing php_pear[uploadprogress]
==> default:
==> default:     - install package php_pear[uploadprogress]
==> default: Recipe: <Dynamically Defined Resource>
==> default:   * template[/etc/php5/mods-available/uploadprogress.ini] action create
==> default: [2016-04-04T11:56:07+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] created file /etc/php5/mods-available/uploadprogress.in
i
==> default:
==> default:     - create new file /etc/php5/mods-available/uploadprogress.ini
==> default: [2016-04-04T11:56:07+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] updated file contents /etc/php5/mods-available/uploadpr
ogress.ini
==> default:
==> default:     - update content in file /etc/php5/mods-available/uploadprogress.ini from none to aef8d6
==> default:
==> default:         --- /etc/php5/mods-available/uploadprogress.ini    2016-04-04 11:56:07.331989797 +0000
==> default:
==> default:         +++ /tmp/chef-rendered-template20160404-9158-1wuw5a7       2016-04-04 11:56:07.351999795 +0000
==> default:
==> default:         @@ -1 +1,3 @@
==> default:
==> default:         +; configuration for php uploadprogress module
==> default:
==> default:         +extension=/usr/lib/php5/20121212/uploadprogress.so
==> default: [2016-04-04T11:56:07+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] owner changed to 0
==> default: [2016-04-04T11:56:07+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] group changed to 0
==> default: [2016-04-04T11:56:07+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] mode changed to 644
==> default:
==> default:     - change mode from '' to '0644'
==> default:
==> default:     - change owner from '' to 'root'
==> default:
==> default:     - change group from '' to 'root'
==> default: Recipe: vdd::uploadprogress
==> default:   * execute[/usr/sbin/php5enmod uploadprogress] action run
==> default: [2016-04-04T11:56:07+00:00] INFO: execute[/usr/sbin/php5enmod uploadprogress] ran successfully
==> default:
==> default:     - execute /usr/sbin/php5enmod uploadprogress
==> default: [2016-04-04T11:56:07+00:00] INFO: execute[/usr/sbin/php5enmod uploadprogress] not queuing delayed action restart on service[apache2] (delayed),
 as it's already been queued
==> default: Recipe: vdd::mailcatcher
==> default:   * package[libsqlite3-dev] action install
==> default:
==> default:     - install version 3.8.2-1ubuntu2.1 of package libsqlite3-dev
==> default:   * gem_package[mailcatcher] action install
==> default: ================================================================================
==> default: Error executing action `install` on resource 'gem_package[mailcatcher]'
==> default: ================================================================================
==> default: Gem::InstallError
==> default:
==> default: -----------------
==> default: mime-types-data requires Ruby version >= 2.0.
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /vagrant/chef/cookbooks/core/vdd/recipes/mailcatcher.rb
==> default:
==> default:   5: gem_package "mailcatcher" do
==> default:   6:   action :install
==> default:   7: end
==> default:   8:
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /vagrant/chef/cookbooks/core/vdd/recipes/mailcatcher.rb:5:in `from_file'
==> default:
==> default: gem_package("mailcatcher") do
==> default:   provider Chef::Provider::Package::Rubygems
==> default:   action [:install]
==> default:   retries 0
==> default:   retry_delay 2
==> default:   guard_interpreter :default
==> default:   package_name "mailcatcher"
==> default:   version "0.6.4"
==> default:   cookbook_name :vdd
==> default:   recipe_name "mailcatcher"
==> default: end
==> default:
==> default: [2016-04-04T11:58:42+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default: [2016-04-04T11:58:42+00:00] INFO: template[apache2.conf] sending reload action to service[apache2] (delayed)
==> default: Recipe: apache2::default
==> default:   * service[apache2] action reload
==> default: [2016-04-04T11:58:43+00:00] INFO: service[apache2] reloaded
==> default:
==> default:     - reload service service[apache2]
==> default: [2016-04-04T11:58:43+00:00] INFO: template[/etc/apache2/conf-enabled/vdd_apache.conf] sending restart action to service[apache2] (delayed)
==> default:   * service[apache2] action restart
==> default: [2016-04-04T11:58:47+00:00] INFO: service[apache2] restarted
==> default:
==> default:     - restart service service[apache2]
==> default:
==> default: Running handlers:
==> default: [2016-04-04T11:58:47+00:00] ERROR: Running exception handlers
==> default: Running handlers complete
==> default: [2016-04-04T11:58:47+00:00] ERROR: Exception handlers complete
==> default: [2016-04-04T11:58:47+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: Chef Client failed. 85 resources updated in 521.876794272 seconds
==> default: [2016-04-04T11:58:47+00:00] ERROR: gem_package[mailcatcher] (vdd::mailcatcher line 5) had an error: Gem::InstallError: mime-types-data requires
 Ruby version >= 2.0.
==> default: [2016-04-04T11:58:47+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

F:\drupal\vdd>

Пробуем зайти на сайт и видим страничку Apache, он работает... Далее решаем сразу использовать формат smb (в статье это делается до загрузки Drupal), попробуем, а потом выполним vagrant reload

In [ ]:
# заменим здесь "default" на "smb"
"synced_folders": [
      {
        "host_path": "data/",
        "guest_path": "/var/www",
        "type": "smb"
      }
In [ ]:
F:\drupal\vdd>vagrant reload
==> default: Attempting graceful shutdown of VM...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: The cookbook path 'F:/drupal/vdd/cookbooks' doesn't exist. Ignoring...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 35729 (guest) => 35729 (host) (adapter 1)
    default: 8983 (guest) => 8983 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.36
    default: VirtualBox Version: 5.0
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /var/www => F:/drupal/vdd/data
    default: /vagrant => F:/drupal/vdd
    default: /tmp/vagrant-chef/137e9a28e0ff1833c400f4433ccb2422/roles => F:/drupal/vdd/chef/roles
    default: /tmp/vagrant-chef/7d66fe20373f7d2f1f974e75276d28e1/data_bags => F:/drupal/vdd/chef/data_bags
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

F:\drupal\vdd>

Снова грузим страницу "Apache2 Ubuntu Default Page" по адресу http://192.168.88.99/ ... перегружается

Теперь установим Drupal

In [ ]:
F:\drupal\vdd>vagrant status
Current machine states:

default                   not created (virtualbox)

The environment has not yet been created. Run `vagrant up` to
create the environment. If a machine is not created, only the
default provider will be shown. So if a provider is not listed,
then the machine is not created for that environment.

F:\drupal\vdd>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/trusty64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Setting the name of the VM: vdd_default_1459772602339_92177
==> default: Clearing any previously set forwarded ports...
==> default: Auto-generating node name for Chef...
==> default: The cookbook path 'F:/drupal/vdd/cookbooks' doesn't exist. Ignoring...
==> default: Fixed port collision for 35729 => 35729. Now on port 2201.
==> default: Fixed port collision for 8983 => 8983. Now on port 2202.
==> default: Fixed port collision for 22 => 2222. Now on port 2203.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 35729 (guest) => 2201 (host) (adapter 1)
    default: 8983 (guest) => 2202 (host) (adapter 1)
    default: 22 (guest) => 2203 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
In [ ]:
F:\drupal\vdd>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/trusty64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/trusty64' is up to date...
==> default: Setting the name of the VM: vdd_default_1459772602339_92177
==> default: Clearing any previously set forwarded ports...
==> default: Auto-generating node name for Chef...
==> default: The cookbook path 'F:/drupal/vdd/cookbooks' doesn't exist. Ignoring...
==> default: Fixed port collision for 35729 => 35729. Now on port 2201.
==> default: Fixed port collision for 8983 => 8983. Now on port 2202.
==> default: Fixed port collision for 22 => 2222. Now on port 2203.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 35729 (guest) => 2201 (host) (adapter 1)
    default: 8983 (guest) => 2202 (host) (adapter 1)
    default: 22 (guest) => 2203 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2203
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Remote connection disconnect. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.36
    default: VirtualBox Version: 5.0
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /var/www => F:/drupal/vdd/data
    default: /vagrant => F:/drupal/vdd
    default: /tmp/vagrant-chef/137e9a28e0ff1833c400f4433ccb2422/roles => F:/drupal/vdd/chef/roles
    default: /tmp/vagrant-chef/7d66fe20373f7d2f1f974e75276d28e1/data_bags => F:/drupal/vdd/chef/data_bags
==> default: Running provisioner: shell...
    default: Running: C:/Users/pc/AppData/Local/Temp/vagrant-shell20160404-4500-15hob7w.sh
==> default: stdin: is not a tty
==> default: +--------------------------------------+
==> default: |                                      |
==> default: |  ooooo  oooo ooooooooo  ooooooooo    |
==> default: |   888    88   888    88o 888    88o  |
==> default: |    888  88    888    888 888    888  |
==> default: |     88888     888    888 888    888  |
==> default: |      888     o888ooo88  o888ooo88    |
==> default: |                                      |
==> default: +--------------------------------------+
==> default: Updating Chef to 11.12.4 version. This may take a few minutes...
In [ ]:
==> default: Updating Chef to 11.12.4 version. This may take a few minutes...
==> default: sources updated
==> default: installing ruby and chef
==> default: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: The following extra packages will be installed:
==> default:   dpkg-dev g++ g++-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
==> default:   libalgorithm-merge-perl libdpkg-perl libfile-fcntllock-perl
==> default:   libstdc++-4.8-dev
==> default: Suggested packages:
==> default:   debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg
==> default:   libstdc++-4.8-doc
==> default: The following NEW packages will be installed:
==> default:   build-essential dpkg-dev g++ g++-4.8 libalgorithm-diff-perl
==> default:   libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl
==> default:   libfile-fcntllock-perl libstdc++-4.8-dev ruby1.9.1-dev
==> default: 0 upgraded, 11 newly installed, 0 to remove and 5 not upgraded.
==> default: Need to get 21.1 MB of archives.
==> default: After this operation, 47.9 MB of additional disk space will be used.
==> default: Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.1 [1,051 kB]
==> default: Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.1 [18.1 MB]
==> default: Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1,490 B]
==> default: Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.5 [179 kB]
==> default: Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.5 [726 kB]
==> default: Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4,838 B]
==> default: Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
==> default: Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]
==> default: Get:9 http://archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
==> default: Get:10 http://archive.ubuntu.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]
==> default: Get:11 http://archive.ubuntu.com/ubuntu/ trusty-updates/main ruby1.9.1-dev amd64 1.9.3.484-2ubuntu1.2 [871 kB]
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: Fetched 21.1 MB in 16s (1,303 kB/s)
==> default: Selecting previously unselected package libstdc++-4.8-dev:amd64.
==> default: (Reading database ... 62985 files and directories currently installed.)
==> default: Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
==> default: Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.1) ...
==> default: Selecting previously unselected package g++-4.8.
==> default: Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.1_amd64.deb ...
==> default: Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.1) ...
==> default: Selecting previously unselected package g++.
==> default: Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
==> default: Unpacking g++ (4:4.8.2-1ubuntu6) ...
==> default: Selecting previously unselected package libdpkg-perl.
==> default: Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.5_all.deb ...
==> default: Unpacking libdpkg-perl (1.17.5ubuntu5.5) ...
==> default: Selecting previously unselected package dpkg-dev.
==> default: Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.5_all.deb ...
==> default: Unpacking dpkg-dev (1.17.5ubuntu5.5) ...
==> default: Selecting previously unselected package build-essential.
==> default: Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
==> default: Unpacking build-essential (11.6ubuntu6) ...
==> default: Selecting previously unselected package libalgorithm-diff-perl.
==> default: Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
==> default: Unpacking libalgorithm-diff-perl (1.19.02-3) ...
==> default: Selecting previously unselected package libalgorithm-diff-xs-perl.
==> default: Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
==> default: Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
==> default: Selecting previously unselected package libalgorithm-merge-perl.
==> default: Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
==> default: Unpacking libalgorithm-merge-perl (0.08-2) ...
==> default: Selecting previously unselected package libfile-fcntllock-perl.
==> default: Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
==> default: Unpacking libfile-fcntllock-perl (0.14-2build1) ...
==> default: Selecting previously unselected package ruby1.9.1-dev.
==> default: Preparing to unpack .../ruby1.9.1-dev_1.9.3.484-2ubuntu1.2_amd64.deb ...
==> default: Unpacking ruby1.9.1-dev (1.9.3.484-2ubuntu1.2) ...
==> default: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
==> default: Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.1) ...
==> default: Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.1) ...
==> default: Setting up g++ (4:4.8.2-1ubuntu6) ...
==> default: update-alternatives:
==> default: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
==> default: Setting up libdpkg-perl (1.17.5ubuntu5.5) ...
==> default: Setting up dpkg-dev (1.17.5ubuntu5.5) ...
==> default: Setting up build-essential (11.6ubuntu6) ...
==> default: Setting up libalgorithm-diff-perl (1.19.02-3) ...
==> default: Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
==> default: Setting up libalgorithm-merge-perl (0.08-2) ...
==> default: Setting up libfile-fcntllock-perl (0.14-2build1) ...
==> default: Setting up ruby1.9.1-dev (1.9.3.484-2ubuntu1.2) ...
==> default: Updating certificates in /etc/ssl/certs...
==> default: 0 added, 0 removed; done.
==> default: Running hooks in /etc/ca-certificates/update.d....
==> default: done.
In [ ]:
==> default: Building native extensions.  This could take a while...
==> default: Building native extensions.  This could take a while...
==> default: Building native extensions.  This could take a while...
==> default: Successfully installed mixlib-config-2.2.1
==> default: Successfully installed mixlib-cli-1.5.0
==> default: Successfully installed mixlib-log-1.6.0
==> default: Successfully installed rspec-support-3.4.1
==> default: Successfully installed rspec-core-3.4.4
==> default: Successfully installed diff-lcs-1.2.5
==> default: Successfully installed rspec-expectations-3.4.0
==> default: Successfully installed rspec-mocks-3.4.1
==> default: Successfully installed mixlib-authentication-1.4.0
==> default: Successfully installed mixlib-shellout-1.6.1
==> default: Successfully installed mime-types-1.25.1
==> default: Successfully installed systemu-2.5.2
==> default: Successfully installed yajl-ruby-1.2.1
==> default: Successfully installed ipaddress-0.8.3
==> default: Successfully installed ohai-7.0.4
==> default: Successfully installed rest-client-1.6.9
==> default: Successfully installed json-1.8.1
==> default: Successfully installed net-ssh-2.9.4
==> default: Successfully installed net-ssh-gateway-1.2.0
==> default: Successfully installed net-ssh-multi-1.2.1
==> default: Successfully installed highline-1.7.8
==> default: Successfully installed erubis-2.7.0
==> default: Successfully installed hashie-2.1.2
==> default: Successfully installed ffi-1.9.10
==> default: Successfully installed libyajl2-1.2.0
==> default: Successfully installed ffi-yajl-1.4.0
==> default: Successfully installed rack-1.6.4
==> default: Successfully installed chef-zero-2.2.1
==> default: Successfully installed coderay-1.1.1
==> default: Successfully installed slop-3.6.0
==> default: Successfully installed method_source-0.8.2
==> default: Successfully installed pry-0.10.3
==> default: Successfully installed chef-11.12.4
==> default: 33 gems installed
==> default: installed ruby and chef
==> default: Running provisioner: chef_solo...
    default: Installing Chef (latest)...
In [ ]:
 
In [ ]:
==> default:         +  # are good at carefully testing your setup after each change.
==> default:         +  # See http://www.iana.org/assignments/character-sets for the
==> default:         +  # official list of charset names and their respective RFCs.
==> default:         +  #
==> default:         +  AddCharset us-ascii    .ascii .us-ascii
==> default:         +  AddCharset ISO-8859-1  .iso8859-1  .latin1
==> default:         +  AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
==> default:         +  AddCharset ISO-8859-3  .iso8859-3  .latin3
==> default:
==> default:         +  AddCharset ISO-8859-4  .iso8859-4  .latin4
==> default:         +  AddCharset ISO-8859-5  .iso8859-5  .cyr .iso-ru
==> default:         +  AddCharset ISO-8859-6  .iso8859-6  .arb .arabic
==> default:         +  AddCharset ISO-8859-7  .iso8859-7  .grk .greek
==> default:         +  AddCharset ISO-8859-8  .iso8859-8  .heb .hebrew
==> default:         +  AddCharset ISO-8859-9  .iso8859-9  .latin5 .trk
==> default:         +  AddCharset ISO-8859-10  .iso8859-10  .latin6
==> default:         +  AddCharset ISO-8859-13  .iso8859-13
==> default:         +  AddCharset ISO-8859-14  .iso8859-14  .latin8
==> default:         +  AddCharset ISO-8859-15  .iso8859-15  .latin9
==> default:         +  AddCharset ISO-8859-16  .iso8859-16  .latin10
==> default:         +  AddCharset ISO-2022-JP .iso2022-jp .jis
==> default:         +  AddCharset ISO-2022-KR .iso2022-kr .kis
==> default:         +  AddCharset ISO-2022-CN .iso2022-cn .cis
==> default:         +  AddCharset Big5        .Big5       .big5 .b5
==> default:         +  AddCharset cn-Big5     .cn-big5
==> default:         +  # For russian, more than one charset is used (depends on client, mostly):
==> default:         +  AddCharset WINDOWS-1251 .cp-1251   .win-1251
==> default:         +  AddCharset CP866       .cp866
==> default:         +  AddCharset KOI8      .koi8
==> default:         +  AddCharset KOI8-E      .koi8-e
==> default:         +  AddCharset KOI8-r      .koi8-r .koi8-ru
==> default:         +  AddCharset KOI8-U      .koi8-u
==> default:         +  AddCharset KOI8-ru     .koi8-uk .ua
==> default:         +  AddCharset ISO-10646-UCS-2 .ucs2
==> default:         +  AddCharset ISO-10646-UCS-4 .ucs4
==> default:         +  AddCharset UTF-7       .utf7
==> default:         +  AddCharset UTF-8       .utf8
==> default:         +  AddCharset UTF-16      .utf16
==> default:         +  AddCharset UTF-16BE    .utf16be
==> default:         +  AddCharset UTF-16LE    .utf16le
==> default:         +  AddCharset UTF-32      .utf32
==> default:         +  AddCharset UTF-32BE    .utf32be
==> default:         +  AddCharset UTF-32LE    .utf32le
==> default:         +  AddCharset euc-cn      .euc-cn
==> default:         +  AddCharset euc-gb      .euc-gb
==> default:         +  AddCharset euc-jp      .euc-jp
==> default:         +  AddCharset euc-kr      .euc-kr
==> default:         +  #Not sure how euc-tw got in - IANA doesn't list it???
==> default:         +  AddCharset EUC-TW      .euc-tw
==> default:         +  AddCharset gb2312      .gb2312 .gb
==> default:         +  AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
==> default:         +  AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
==> default:         +  AddCharset shift_jis   .shift_jis .sjis
==> default:
==> default:         -  #
==> default:         -  # AddHandler allows you to map certain file extensions to "handlers":
==> default:         -  # actions unrelated to filetype. These can be either built into the server
==> default:         -  # or added with the Action directive (see below)
==> default:         -  #
==> default:         -  # To use CGI scripts outside of ScriptAliased directories:
==> default:         -  # (You will also need to add "ExecCGI" to the "Options" directive.)
==> default:         -  #
==> default:         -  #AddHandler cgi-script .cgi
==> default:         +  #
==> default:         +  # AddHandler allows you to map certain file extensions to "handlers":
==> default:         +  # actions unrelated to filetype. These can be either built into the server
==> default:         +  # or added with the Action directive (see below)
==> default:         +  #
==> default:         +  # To use CGI scripts outside of ScriptAliased directories:
==> default:         +  # (You will also need to add "ExecCGI" to the "Options" directive.)
==> default:         +  #
==> default:         +  #AddHandler cgi-script .cgi
==> default:
==> default:         -  #
==> default:         -  # For files that include their own HTTP headers:
==> default:         -  #
==> default:         -  #AddHandler send-as-is asis
==> default:         +  #
==> default:         +  # For files that include their own HTTP headers:
==> default:         +  #
==> default:         +  #AddHandler send-as-is asis
==> default:
==> default:         -  #
==> default:         -  # For server-parsed imagemap files:
==> default:         -  #
==> default:         -  #AddHandler imap-file map
==> default:         +  #
==> default:         +  # For server-parsed imagemap files:
==> default:         +  #
==> default:         +  #AddHandler imap-file map
==> default:
==> default:         -  #
==> default:         -  # For type maps (negotiated resources):
==> default:         -  # (This is enabled by default to allow the Apache "It Worked" page
==> default:         -  #  to be distributed in multiple languages.)
==> default:         -  #
==> default:         -  AddHandler type-map var
==> default:         +  #
==> default:         +  # For type maps (negotiated resources):
==> default:         +  # (This is enabled by default to allow the Apache "It Worked" page
==> default:         +  #  to be distributed in multiple languages.)
==> default:         +  #
==> default:         +  AddHandler type-map var
==> default:
==> default:         -  #
==> default:         -  # Filters allow you to process content before it is sent to the client.
==> default:         -  #
==> default:         -  # To parse .shtml files for server-side includes (SSI):
==> default:         -  # (You will also need to add "Includes" to the "Options" directive.)
==> default:         -  #
==> default:         -  AddType text/html .shtml
==> default:         -  AddOutputFilter INCLUDES .shtml
==> default:         -
==> default:         +  #
==> default:         +  # Filters allow you to process content before it is sent to the client.
==> default:         +  #
==> default:         +  # To parse .shtml files for server-side includes (SSI):
==> default:         +  # (You will also need to add "Includes" to the "Options" directive.)
==> default:         +  #
==> default:         +  AddType text/html .shtml
==> default:         +  AddOutputFilter INCLUDES .shtml
==> default:          </IfModule>
==> default:         -
==> default:         -# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
==> default: [2016-04-04T12:30:32+00:00] INFO: template[/etc/apache2/mods-available/mime.conf] not queuing delayed action reload on service[apache2] (delaye
d), as it's already been queued
==> default:   * execute[a2enmod mime] action run
==> default:  (skipped due to not_if)
==> default: Recipe: apache2::mod_negotiation
==> default:   * template[/etc/apache2/mods-available/negotiation.conf] action create
==> default: [2016-04-04T12:30:32+00:00] INFO: template[/etc/apache2/mods-available/negotiation.conf] backed up to /var/chef/backup/etc/apache2/mods-availab
le/negotiation.conf.chef-20160404123032.963481
==> default: [2016-04-04T12:30:32+00:00] INFO: template[/etc/apache2/mods-available/negotiation.conf] updated file contents /etc/apache2/mods-available/nego
tiation.conf
==> default:
==> default:     - update content in file /etc/apache2/mods-available/negotiation.conf from 0649b6 to 3ad8fd
==> default:
==> default:         --- /etc/apache2/mods-available/negotiation.conf   2014-01-03 14:48:41.000000000 +0000
==> default:
==> default:         +++ /tmp/chef-rendered-template20160404-9159-9rx7rx        2016-04-04 12:30:32.955987999 +0000
==> default:
==> default:         @@ -1,21 +1,18 @@
==> default:
==> default:          <IfModule mod_negotiation.c>
==> default:
==> default:         +  #
==> default:
==> default:         +  # LanguagePriority allows you to give precedence to some languages
==> default:
==> default:         +  # in case of a tie during content negotiation.
==> default:
==> default:         +  #
==> default:
==> default:         +  # Just list the languages in decreasing order of preference. We have
==> default:
==> default:         +  # more or less alphabetized them here. You probably want to change this.
==> default:
==> default:         +  #
==> default:
==> default:         +  LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv tr zh-CN zh-TW
==> default:
==> default:
==> default:
==> default:         -  # LanguagePriority allows you to give precedence to some languages
==> default:
==> default:         -  # in case of a tie during content negotiation.
==> default:
==> default:         -  #
==> default:
==> default:         -  # Just list the languages in decreasing order of preference. We have
==> default:         -  # more or less alphabetized them here. You probably want to change this.
==> default:         -  #
==> default:         -  LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv tr zh-CN zh-TW
==> default:         -
==> default:         -  #
==> default:         -  # ForceLanguagePriority allows you to serve a result page rather than
==> default:         -  # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
==> default:         -  # [in case no accepted languages matched the available variants]
==> default:         -  #
==> default:         -  ForceLanguagePriority Prefer Fallback
==> default:         -
==> default:         +  #
==> default:         +  # ForceLanguagePriority allows you to serve a result page rather than
==> default:         +  # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
==> default:         +  # [in case no accepted languages matched the available variants]
==> default:         +  #
==> default:         +  ForceLanguagePriority Prefer Fallback
==> default:          </IfModule>
==> default:         -
==> default:         -# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
==> default: [2016-04-04T12:30:32+00:00] INFO: template[/etc/apache2/mods-available/negotiation.conf] not queuing delayed action reload on service[apache2]
(delayed), as it's already been queued
==> default:   * execute[a2enmod negotiation] action run
==> default:  (skipped due to not_if)
==> default: Recipe: apache2::mod_setenvif
==> default:   * template[/etc/apache2/mods-available/setenvif.conf] action create
==> default: [2016-04-04T12:30:33+00:00] INFO: template[/etc/apache2/mods-available/setenvif.conf] backed up to /var/chef/backup/etc/apache2/mods-available/
setenvif.conf.chef-20160404123033.032420
==> default: [2016-04-04T12:30:33+00:00] INFO: template[/etc/apache2/mods-available/setenvif.conf] updated file contents /etc/apache2/mods-available/setenvi
f.conf
==> default:
==> default:     - update content in file /etc/apache2/mods-available/setenvif.conf from 56aca4 to 3ee94c
==> default:
==> default:         --- /etc/apache2/mods-available/setenvif.conf      2014-01-03 14:48:41.000000000 +0000
==> default:
==> default:         +++ /tmp/chef-rendered-template20160404-9159-1bdl0z0       2016-04-04 12:30:33.028023998 +0000
==> default:
==> default:         @@ -1,33 +1,27 @@
==> default:
==> default:          <IfModule mod_setenvif.c>
==> default:
==> default:         +  #
==> default:
==> default:         +  # The following directives modify normal HTTP response behavior to
==> default:
==> default:         +  # handle known problems with browser implementations.
==> default:
==> default:         +  #
==> default:
==> default:         +  BrowserMatch "Mozilla/2" nokeepalive
==> default:
==> default:         +  BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
==> default:
==> default:         +  BrowserMatch "RealPlayer 4\.0" force-response-1.0
==> default:
==> default:         +  BrowserMatch "Java/1\.0" force-response-1.0
==> default:
==> default:         +  BrowserMatch "JDK/1\.0" force-response-1.0
==> default:
==> default:
==> default:
==> default:         -  #
==> default:
==> default:         -  # The following directives modify normal HTTP response behavior to
==> default:
==> default:         -  # handle known problems with browser implementations.
==> default:
==> default:         -  #
==> default:
==> default:         -  BrowserMatch "Mozilla/2" nokeepalive
==> default:
==> default:         -  BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
==> default:
==> default:         -  BrowserMatch "RealPlayer 4\.0" force-response-1.0
==> default:
==> default:         -  BrowserMatch "Java/1\.0" force-response-1.0
==> default:         -  BrowserMatch "JDK/1\.0" force-response-1.0
==> default:         -
==> default:         -  #
==> default:         -  # The following directive disables redirects on non-GET requests for
==> default:         -  # a directory that does not include the trailing slash.  This fixes a
==> default:         -  # problem with Microsoft WebFolders which does not appropriately handle
==> default:         -  # redirects for folders with DAV methods.
==> default:         -  # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
==> default:         -  #
==> default:         -  BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
==> default:         -  BrowserMatch "MS FrontPage" redirect-carefully
==> default:         -  BrowserMatch "^WebDrive" redirect-carefully
==> default:         -  BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
==> default:         -  BrowserMatch "^gnome-vfs/1.0" redirect-carefully
==> default:         -  BrowserMatch "^gvfs/1" redirect-carefully
==> default:         -  BrowserMatch "^XML Spy" redirect-carefully
==> default:         -  BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
==> default:         -  BrowserMatch " Konqueror/4" redirect-carefully
==> default:         -
==> default:         +  #
==> default:         +  # The following directive disables redirects on non-GET requests for
==> default:         +  # a directory that does not include the trailing slash.  This fixes a
==> default:         +  # problem with Microsoft WebFolders which does not appropriately handle
==> default:         +  # redirects for folders with DAV methods.
==> default:         +  # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
==> default:         +  #
==> default:         +  BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
==> default:         +  BrowserMatch "MS FrontPage" redirect-carefully
==> default:         +  BrowserMatch "^WebDrive" redirect-carefully
==> default:         +  BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
==> default:         +  BrowserMatch "^gnome-vfs/1.0" redirect-carefully
==> default:         +  BrowserMatch "^XML Spy" redirect-carefully
==> default:         +  BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
==> default:          </IfModule>
==> default:         -
==> default:         -# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
==> default: [2016-04-04T12:30:33+00:00] INFO: template[/etc/apache2/mods-available/setenvif.conf] not queuing delayed action reload on service[apache2] (de
layed), as it's already been queued
==> default:   * execute[a2enmod setenvif] action run
==> default:  (skipped due to not_if)
==> default: Recipe: apache2::default
==> default:   * execute[a2dissite default] action run
==> default:  (skipped due to only_if)
==> default:   * service[apache2] action enable
==> default:  (up to date)
==> default:   * service[apache2] action start
==> default:  (up to date)
==> default: Recipe: mysql::client
==> default:   * mysql_client[default] action create
==> default:
==> default:     - ubuntu pattern
==> default: Recipe: <Dynamically Defined Resource>
==> default:   * package[mysql-client] action install
In [ ]:
...
In [ ]:
==> default:          ; substitute_character used when character cannot be converted
==> default:          ; one from another
==> default:          ; http://php.net/mbstring.substitute-character
==> default:         -;mbstring.substitute_character = none
==> default:         +;mbstring.substitute_character = none;
==> default:
==> default:          ; overload(replace) single byte functions by mbstring functions.
==> default:          ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
==> default:         @@ -1736,13 +1756,17 @@
==> default:          ;mbstring.func_overload = 0
==> default:
==> default:          ; enable strict encoding detection.
==> default:         -;mbstring.strict_detection = On
==> default:         +;mbstring.strict_detection = Off
==> default:
==> default:          ; This directive specifies the regex pattern of content types for which mb_output_handler()
==> default:          ; is activated.
==> default:          ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
==> default:          ;mbstring.http_output_conv_mimetype=
==> default:
==> default:         +; Allows to set script encoding. Only affects if PHP is compiled with --enable-zend-multibyte
==> default:         +; Default: ""
==> default:         +;mbstring.script_encoding=
==> default:         +
==> default:          [gd]
==> default:          ; Tell the jpeg decode to ignore warnings and try to create
==> default:          ; a gd image. The warning will then be displayed as notices
==> default:         @@ -1824,108 +1848,8 @@
==> default:          [dba]
==> default:          ;dba.default_handler=
==> default:
==> default:         -[opcache]
==> default:         -; Determines if Zend OPCache is enabled
==> default:         -;opcache.enable=0
==> default:         -
==> default:         -; Determines if Zend OPCache is enabled for the CLI version of PHP
==> default:         -;opcache.enable_cli=0
==> default:         -
==> default:         -; The OPcache shared memory storage size.
==> default:         -;opcache.memory_consumption=64
==> default:         -
==> default:         -; The amount of memory for interned strings in Mbytes.
==> default:         -;opcache.interned_strings_buffer=4
==> default:         -
==> default:         -; The maximum number of keys (scripts) in the OPcache hash table.
==> default:         -; Only numbers between 200 and 100000 are allowed.
==> default:         -;opcache.max_accelerated_files=2000
==> default:         -
==> default:         -; The maximum percentage of "wasted" memory until a restart is scheduled.
==> default:         -;opcache.max_wasted_percentage=5
==> default:         -
==> default:         -; When this directive is enabled, the OPcache appends the current working
==> default:         -; directory to the script key, thus eliminating possible collisions between
==> default:         -; files with the same name (basename). Disabling the directive improves
==> default:         -; performance, but may break existing applications.
==> default:         -;opcache.use_cwd=1
==> default:         -
==> default:         -; When disabled, you must reset the OPcache manually or restart the
==> default:         -; webserver for changes to the filesystem to take effect.
==> default:         -;opcache.validate_timestamps=1
==> default:         -
==> default:         -; How often (in seconds) to check file timestamps for changes to the shared
==> default:         -; memory storage allocation. ("1" means validate once per second, but only
==> default:         -; once per request. "0" means always validate)
==> default:         -;opcache.revalidate_freq=2
==> default:         -
==> default:         -; Enables or disables file search in include_path optimization
==> default:         -;opcache.revalidate_path=0
==> default:         -
==> default:         -; If disabled, all PHPDoc comments are dropped from the code to reduce the
==> default:         -; size of the optimized code.
==> default:         -;opcache.save_comments=1
==> default:         -
==> default:         -; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
==> default:         -; may be always stored (save_comments=1), but not loaded by applications
==> default:         -; that don't need them anyway.
==> default:         -;opcache.load_comments=1
==> default:         -
==> default:         -; If enabled, a fast shutdown sequence is used for the accelerated code
==> default:         -;opcache.fast_shutdown=0
==> default:         -
==> default:         -; Allow file existence override (file_exists, etc.) performance feature.
==> default:         -;opcache.enable_file_override=0
==> default:         -
==> default:         -; A bitmask, where each bit enables or disables the appropriate OPcache
==> default:         -; passes
==> default:         -;opcache.optimization_level=0xffffffff
==> default:         -
==> default:         -;opcache.inherited_hack=1
==> default:         -;opcache.dups_fix=0
==> default:         -
==> default:         -; The location of the OPcache blacklist file (wildcards allowed).
==> default:         -; Each OPcache blacklist file is a text file that holds the names of files
==> default:         -; that should not be accelerated. The file format is to add each filename
==> default:         -; to a new line. The filename may be a full path or just a file prefix
==> default:         -; (i.e., /var/www/x  blacklists all the files and directories in /var/www
==> default:         -; that start with 'x'). Line starting with a ; are ignored (comments).
==> default:         -;opcache.blacklist_filename=
==> default:         -
==> default:         -; Allows exclusion of large files from being cached. By default all files
==> default:         -; are cached.
==> default:         -;opcache.max_file_size=0
==> default:         -
==> default:         -; Check the cache checksum each N requests.
==> default:         -; The default value of "0" means that the checks are disabled.
==> default:         -;opcache.consistency_checks=0
==> default:         -
==> default:         -; How long to wait (in seconds) for a scheduled restart to begin if the cache
==> default:         -; is not being accessed.
==> default:         -;opcache.force_restart_timeout=180
==> default:         -
==> default:         -; OPcache error_log file name. Empty string assumes "stderr".
==> default:         -;opcache.error_log=
==> default:         -
==> default:         -; All OPcache errors go to the Web server log.
==> default:         -; By default, only fatal errors (level 0) or errors (level 1) are logged.
==> default:         -; You can also enable warnings (level 2), info messages (level 3) or
==> default:         -; debug messages (level 4).
==> default:         -;opcache.log_verbosity_level=1
==> default:         -
==> default:         -; Preferred Shared Memory back-end. Leave empty and let the system decide.
==> default:         -;opcache.preferred_memory_model=
==> default:         -
==> default:         -; Protect the shared memory from unexpected writing during script execution.
==> default:         -; Useful for internal debugging only.
==> default:         -;opcache.protect_memory=0
==> default:         -
==> default:         -[curl]
==> default:         -; A default value for the CURLOPT_CAINFO option. This is required to be an
==> default:         -; absolute path.
==> default:         -;curl.cainfo =
==> default:         -
==> default:          ; Local Variables:
==> default:          ; tab-width: 4
==> default:          ; End:
==> default:         +
==> default: Recipe: php::default
==> default:   * php_pear_channel[pear.php.net] action update
==> default:  (up to date)
==> default:   * php_pear_channel[pecl.php.net] action update
==> default:  (up to date)
==> default: Recipe: apache2::mod_php5
==> default:   * package[libapache2-mod-php5] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package libapache2-mod-php5
==> default:   * file[/etc/apache2/conf.d/php.conf] action delete (up to date)
==> default:   * execute[a2enmod php5] action run (skipped due to not_if)
==> default: Recipe: vdd::php
==> default:   * package[php5-gd] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package php5-gd
==> default:   * package[php5-mysql] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package php5-mysql
==> default:   * package[php5-mcrypt] action install
==> default:
==> default:     - install version 5.4.6-0ubuntu5 of package php5-mcrypt
==> default:   * package[php5-curl] action install
==> default:
==> default:     - install version 5.5.9+dfsg-1ubuntu4.14 of package php5-curl
==> default:
==> default:   * package[php5-dev] action install
==> default:  (up to date)
==> default:   * template[/etc/php5/apache2/conf.d/vdd_php.ini] action create
==> default: [2016-04-04T12:33:17+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] created file /etc/php5/apache2/conf.d/vdd_php.ini
==> default:
==> default:     - create new file /etc/php5/apache2/conf.d/vdd_php.ini
==> default: [2016-04-04T12:33:17+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] updated file contents /etc/php5/apache2/conf.d/vdd_php.ini
==> default:
==> default:     - update content in file /etc/php5/apache2/conf.d/vdd_php.ini from none to 15233b
==> default:
==> default:         --- /etc/php5/apache2/conf.d/vdd_php.ini   2016-04-04 12:33:17.554243817 +0000
==> default:
==> default:         +++ /tmp/chef-rendered-template20160404-9159-42gjlh        2016-04-04 12:33:17.566249817 +0000
==> default:
==> default:         @@ -1 +1,8 @@
==> default:
==> default:         +upload_max_filesize = 500M
==> default:
==> default:         +post_max_size = 500M
==> default:
==> default:         +error_reporting = E_ALL
==> default:
==> default:         +memory_limit = 256M
==> default:
==> default:         +html_errors = On
==> default:
==> default:         +display_errors = On
==> default:         +sendmail_path = /usr/local/bin/catchmail
==> default: [2016-04-04T12:33:17+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] mode changed to 644
==> default:
==> default:     - change mode from '' to '0644'
==> default: [2016-04-04T12:33:17+00:00] INFO: template[/etc/php5/apache2/conf.d/vdd_php.ini] not queuing delayed action restart on service[apache2] (delaye
d), as it's already been queued
==> default: Recipe: vdd::uploadprogress
==> default:   * php_pear[uploadprogress] action install
==> default: [2016-04-04T12:33:19+00:00] INFO: Installing php_pear[uploadprogress]
==> default:
==> default:     - install package php_pear[uploadprogress]
==> default: Recipe: <Dynamically Defined Resource>
==> default:   * template[/etc/php5/mods-available/uploadprogress.ini] action create
==> default: [2016-04-04T12:33:28+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] created file /etc/php5/mods-available/uploadprogress.in
i
==> default:
==> default:     - create new file /etc/php5/mods-available/uploadprogress.ini
==> default: [2016-04-04T12:33:28+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] updated file contents /etc/php5/mods-available/uploadpr
ogress.ini
==> default:
==> default:     - update content in file /etc/php5/mods-available/uploadprogress.ini from none to aef8d6
==> default:
==> default:         --- /etc/php5/mods-available/uploadprogress.ini    2016-04-04 12:33:28.871899667 +0000
==> default:
==> default:         +++ /tmp/chef-rendered-template20160404-9159-or2xd8        2016-04-04 12:33:28.887907667 +0000
==> default:
==> default:         @@ -1 +1,3 @@
==> default:
==> default:         +; configuration for php uploadprogress module
==> default:
==> default:         +extension=/usr/lib/php5/20121212/uploadprogress.so
==> default: [2016-04-04T12:33:28+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] owner changed to 0
==> default: [2016-04-04T12:33:28+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] group changed to 0
==> default: [2016-04-04T12:33:28+00:00] INFO: template[/etc/php5/mods-available/uploadprogress.ini] mode changed to 644
==> default:
==> default:     - change mode from '' to '0644'
==> default:
==> default:     - change owner from '' to 'root'
==> default:     - change group from '' to 'root'
==> default: Recipe: vdd::uploadprogress
==> default:   * execute[/usr/sbin/php5enmod uploadprogress] action run
==> default: [2016-04-04T12:33:29+00:00] INFO: execute[/usr/sbin/php5enmod uploadprogress] ran successfully
==> default:
==> default:     - execute /usr/sbin/php5enmod uploadprogress
==> default: [2016-04-04T12:33:29+00:00] INFO: execute[/usr/sbin/php5enmod uploadprogress] not queuing delayed action restart on service[apache2] (delayed),
 as it's already been queued
==> default: Recipe: vdd::mailcatcher
==> default:
==> default:   * package[libsqlite3-dev] action install
==> default:
==> default:     - install version 3.8.2-1ubuntu2.1 of package libsqlite3-dev
==> default:   * gem_package[mailcatcher] action install
==> default: ================================================================================
==> default: Error executing action `install` on resource 'gem_package[mailcatcher]'
==> default: ================================================================================
==> default: Gem::InstallError
==> default: -----------------
==> default: mime-types-data requires Ruby version >= 2.0.
==> default:
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /vagrant/chef/cookbooks/core/vdd/recipes/mailcatcher.rb
==> default:
==> default:   5: gem_package "mailcatcher" do
==> default:   6:   action :install
==> default:   7: end
==> default:   8:
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /vagrant/chef/cookbooks/core/vdd/recipes/mailcatcher.rb:5:in `from_file'
==> default:
==> default: gem_package("mailcatcher") do
==> default:   provider Chef::Provider::Package::Rubygems
==> default:   action [:install]
==> default:   retries 0
==> default:   retry_delay 2
==> default:   guard_interpreter :default
==> default:   package_name "mailcatcher"
==> default:   version "0.6.4"
==> default:   cookbook_name :vdd
==> default:   recipe_name "mailcatcher"
==> default: end
==> default:
==> default: [2016-04-04T12:35:56+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default: [2016-04-04T12:35:56+00:00] INFO: template[apache2.conf] sending reload action to service[apache2] (delayed)
==> default: Recipe: apache2::default
==> default:
==> default:   * service[apache2] action reload
==> default: [2016-04-04T12:35:58+00:00] INFO: service[apache2] reloaded
==> default:
==> default:     - reload service service[apache2]
==> default: [2016-04-04T12:35:58+00:00] INFO: template[/etc/apache2/conf-enabled/vdd_apache.conf] sending restart action to service[apache2] (delayed)
==> default:   * service[apache2] action restart
==> default: [2016-04-04T12:36:01+00:00] INFO: service[apache2] restarted
==> default:
==> default:     - restart service service[apache2]
==> default:
==> default: Running handlers:
==> default: [2016-04-04T12:36:01+00:00] ERROR: Running exception handlers
==> default: Running handlers complete
==> default: [2016-04-04T12:36:01+00:00] ERROR: Exception handlers complete
==> default: [2016-04-04T12:36:01+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: Chef Client failed. 85 resources updated in 359.060736674 seconds
==> default: [2016-04-04T12:36:01+00:00] ERROR: gem_package[mailcatcher] (vdd::mailcatcher line 5) had an error: Gem::InstallError: mime-types-data requires
 Ruby version >= 2.0.
==> default: [2016-04-04T12:36:01+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

F:\drupal\vdd>

Приложения: readme.txt, onfig.json

In [ ]:
# %load "F:\\drupal\\vdd\\readme.txt"
Vagrant Drupal Development
--------------------------

Vagrant Drupal Development (VDD) is fully configured and ready to use
development environment built with VirtualBox, Vagrant, Linux and Chef Solo
provisioner.

The main goal of the project is to provide easy to use, fully functional, highly
customizable and extendable Linux based environment for Drupal development.

Full VDD documentation can be found on drupal.org:
https://drupal.org/node/2008758

For support, join us on IRC in the #drupal-vdd channel.


Getting Started
---------------

VDD uses Chef Solo provisioner. It means that your environment is built from
the source code.

  1. Install VirtualBox
     https://www.virtualbox.org/wiki/Downloads

  2. Install Vagrant
     http://docs.vagrantup.com/v2/installation/index.html

  3. Prepare VDD source code
     Download and unpack VDD source code and place it inside your home
     directory.

  4. Adjust configuration (optional)
     You can edit config.json file to adjust your settings. If you use VDD first
     time it's recommended to leave config.json as is. Sample config.json is
     just fine. By default Drupal 8 and Drupal 7 sites are configured.

  6. Build your environment
     Please double check your config.json file after editing. VDD can't start
     with invalid configuration. We recommend to use JSON validator.
     This one is great: http://jsonlint.com/

     To build your environment execute next command inside your VDD copy:
     $ vagrant up

     Vagrant will start to build your environment. You'll see green status
     messages while Chef is configuring the system.

  7. Visit 192.168.44.44 address
     If you didn't change default IP address in config.json file you'll see
     VDD's main page. Main page has links to configured sites, development tools
     and list of frequently asked questions.

Now you have ready to use virtual development server. By default 2 sites
are configured: Drupal 7 and Drupal 8. You can add new ones in config.json file
anytime.


Basic Usage
-----------

Inside your VDD copy's directory you can find 'data' directory. This directory
is visible (synchronized) to your virtual machine, so you can edit your project
locally with your favorite editor. VDD will never delete data from data directory,
but you should backup it.

Vagrant's basic commands (should be executed inside VDD directory):

  * $ vagrant ssh
    SSH into virtual machine.

  * $ vagrant up
    Start virtual machine.

  * $ vagrant halt
    Halt virtual machine.

  * $ vagrant destroy
    Destroy your virtual machine. Source code and content of data directory will
    remain unchangeable. VirtualBox machine instance will be destroyed only. You
    can build your machine again with 'vagrant up' command. The command is
    useful if you want to save disk space.

  * $ vagrant provision
    Configure virtual machine after source code change.

  * $ vagrant reload
    Reload virtual machine. Useful when you need to change network or
    synced folders settings.

Official Vagrant site has beautiful documentation.
http://docs.vagrantup.com/v2/


Extending VDD
-------------

VDD can be easily customized and extended. You may implement your custom
cookbook and place it inside chef/cookbooks/custom directory or you may use
berkshelf to download cookbook from remote repository.

Cookbook inside chef/cookbooks/custom directory
-----------------------------------------------

  1. Take a look at vdd_example cookbook inside chef/cookbooks/custom directory.
  2. Create your own cookbook and place it inside chef/cookbooks/custom directory.
  3. Include your recipies in run_list in vdd.json role file inside chef/roles directory.

Remote cookbook using berkshelf
-------------------------------

  Berkshelf is great cookbook manager for Chef. It can automatically download
  cookbooks and their dependencies. Please, learn more at http://berkshelf.com/.

  1. Install berkshelf on your host machine.
  2. Include link to remote cookbooks' repository in Berksfile.
  3. Delete Berksfile.lock file and chef/cookbooks/berks directory.
  4. Run next command inside VDD directory. It will download all dependencies.
    $ berks vendor chef/cookbooks/berks


If you find a problem, incorrect comment, obsolete or improper code or such,
please let us know by creating a new issue at
http://drupal.org/project/issues/vdd
In [ ]:
# %load "F:\\drupal\\vdd\\config.json"
{
  "vm": {
    "ip": "192.168.44.44",
    "memory": "1024",
    "synced_folders": [
      {
        "host_path": "data/",
        "guest_path": "/var/www",
        "type": "default"
      }
    ],
    "forwarded_ports": []
  },
  "vdd": {
    "sites": {
      "drupal8": {
        "account_name": "root",
        "account_pass": "root",
        "account_mail": "box@example.com",
        "site_name": "Drupal 8",
        "site_mail": "box@example.com",
        "vhost": {
          "document_root": "drupal8",
          "url": "drupal8.dev",
          "alias": ["www.drupal8.dev"]
        }
      },
      "drupal7": {
        "account_name": "root",
        "account_pass": "root",
        "account_mail": "box@example.com",
        "site_name": "Drupal 7",
        "site_mail": "box@example.com",
        "vhost": {
          "document_root": "drupal7",
          "url": "drupal7.dev",
          "alias": ["www.drupal7.dev"]
        }
      }
    }
  }
}


Посты чуть ниже также могут вас заинтересовать

Комментариев нет: