You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠ DO NOT USE SSH KEY WITH PASSPHRASE, this vagrant installation is non-interactive.<br>
49
-
If your ssh key has been created with a passphrase, please create an other one.
50
-
1. On Windows only: open UEFI BIOS and make sure virtualization is turned 'on'
51
-
1. On Windows only: open powershell as administrator and run: ``Add-MpPreference -ExclusionProcess winnfsd.exe``
52
-
1. On Windows only: open ``C:\Windows\System32\drivers\etc\hosts`` as administrator then add ``network_ip`` and ``magento_url``<br>Default values would be: ``192.168.200.50 dev.magento.com``
53
-
1. On Linux only: in order to install NFS, run ``sudo apt install nfs-kernel-server``
54
-
1. On MacOS only: to avoid issue with guest additions, run ``sudo apt install linux-headers-$(uname -r)``
55
-
1. On Linux/MacOS only: open ``/etc/hosts`` as sudo then add ``network_ip`` and ``magento_url``<br>Default values would be: ``192.168.200.50 dev.magento.com``
58
+
⚠ This vagrant installation is non-interactive: DO NOT USE SSH KEY WITH PASSPHRASE.<br>
59
+
If your ssh key has been created with a passphrase, please create another one.
| Windows | 1. Open UEFI BIOS and make sure virtualization is turned 'on'<br>2. Open powershell as administrator and run: ``Add-MpPreference -ExclusionProcess winnfsd.exe``<br>3. Open ``C:\Windows\System32\drivers\etc\hosts`` as administrator then add ``network_ip`` and ``magento_url``<br>Default values would be: ``192.168.200.50 dev.magento.com``|
64
+
| MacOs | 1. To avoid issue with guest additions, run:<br> ``sudo apt install linux-headers-$(uname -r)``|
65
+
| Linux | 1. To install NFS properly, run:<br> ``sudo apt install nfs-kernel-server``
66
+
| Linux/MacOS | 2. Open ``/etc/hosts`` as sudo then add ``network_ip`` and ``magento_url``<br>Default values would be: ``192.168.200.50 dev.magento.com``
56
67
57
68
### Installation
58
69
@@ -61,7 +72,7 @@ If your ssh key has been created with a passphrase, please create an other one.
61
72
1. Copy/past: ``config.yaml.example`` rename it ``config.yaml``<br>Then customize configurations according to [Yaml config overview](#yaml-config-overview)
62
73
1. If you want to import an existing database: create a compressed sql dump and name it ``db-dump.sql.gz``.<br>You must also fill ``crypt_key`` in config.yaml
63
74
1. To start install run: ``vagrant up`` (duration: ~20 minutes)
64
-
1. Finally run: ``vagrant ssh`` to access to your guest machine
75
+
1. Finally, run: ``vagrant ssh`` to access guest machine
65
76
66
77
### Yaml config overview
67
78
Parent Node | Name | Default Value | Allowed Value | Is optional | Description
@@ -83,7 +94,7 @@ Parent Node | Name | Default Value | Allowed Value | Is optional | Des
83
94
| magento | url | dev.magento.com | url | no | Magento site host name
84
95
| | source | composer | composer / (master/develop..) | no | Define source installation. On git install set the branch name to clone.
85
96
| | edition | community | community / enterprise | no | Magento project edition
86
-
| | version | 2.4.2 | >=2.2 | no | Magento version release
97
+
| | version | 2.4.4 | >=2.2 | no | Magento version release
87
98
| | php_version | default | default / 7.x | no | PHP version
88
99
| | sample | true | true / false | no | Install sample data
89
100
| | mode | developer | developer / production | no | Magento execution mode
@@ -129,7 +140,7 @@ Those provisions will be executed on pre-defined sequences:
129
140
- To be executed you must remove the string `-example` from the filename script.
130
141
- As an example of use, you can adapt data from your database import by using the script ``100-pre-build.sh``
131
142
132
-
## Usage
143
+
## System usage
133
144
134
145
### Permission
135
146
Magento file system owner is configured for ``vagrant`` user, it means all commands in magento project must be executed by this user.<br>
@@ -154,17 +165,6 @@ Disable cron:
154
165
./bin/magento cron:remove
155
166
```
156
167
157
-
### Mysql
158
-
Percona server 8.0 is installed for version >= 2.4.0
159
-
160
-
### Elasticsearch
161
-
Version 7.6.x of Elasticsearch is available for Magento.<br>
162
-
If your Magento version is lower than 2.4 then version 6.x will be installed.<br>
163
-
For version lower than 2.4, you can disable it and fall back to mysql:
164
-
```
165
-
./bin/magento config:set catalog/search/engine mysql
166
-
```
167
-
168
168
## Configuration
169
169
170
170
### Package & Software
@@ -188,7 +188,7 @@ For version lower than 2.4, you can disable it and fall back to mysql:
188
188
- magento-cloud cli
189
189
- bin/magento bash completion
190
190
191
-
### Credentials
191
+
### Access
192
192
* User bash terminal
193
193
* user: vagrant
194
194
* Back-office
@@ -206,15 +206,29 @@ For version lower than 2.4, you can disable it and fall back to mysql:
206
206
* Phpinfo
207
207
* url: [network_ip]/php
208
208
209
+
### Mysql
210
+
Percona server 8.0 is now installed for Magento >=2.4.0
211
+
212
+
### PHP
213
+
PHP 8.1 is now installed by default for Magento >=2.4.4
214
+
215
+
### Composer
216
+
Composer v2 is now installed by default for Magento >=2.4.2
217
+
218
+
### Elasticsearch
219
+
Version 7.6.x of Elasticsearch is now available for Magento 2.4.0.<br>
220
+
For lower Magento version, ES 6.x will be installed.<br>
221
+
Otherwise, you can also completely disable elasticsearch by installing this module: https://github.com/zepgram/module-disable-search-engine
222
+
209
223
## Issues
210
224
211
225
### Windows 10
212
226
There is a known [issue with composer installation](https://github.com/zepgram/magento2-fast-vm/issues/70) on windows 10.<br>
213
227
This issue could not be solved yet, and has already been reported 2 times.<br>
214
-
-It's related to the computer and BIOS configuration.
215
-
-It's only with "nfs" setting for mount option.
228
+
-This is related to the computer and BIOS configuration.
229
+
-This is only reported on "NFS" mount option.
216
230
217
-
To solve this, just try to set mount option to "rsync", then after full installation you should be able to fallback to NFS.
231
+
To solve this, I recommend to set mount option to "rsync", then after full installation you should be able to fall back to NFS.
218
232
219
233
### Others
220
-
-If you have trouble during installation please open a new issue on this repository.
234
+
If you have trouble during installation please open a new issue on this GitHub repository.
0 commit comments