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``
48
+
⚠ This vagrant installation is non-interactive: DO NOT USE SSH KEY WITH PASSPHRASE.<br>
49
+
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``|
54
+
| MacOs | 1. To avoid issue with guest additions, run:<br> ``sudo apt install linux-headers-$(uname -r)``|
55
+
| Linux | 1. To install NFS properly, run:<br> ``sudo apt install nfs-kernel-server``
56
+
| 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
57
57
58
### Installation
58
59
@@ -61,7 +62,7 @@ If your ssh key has been created with a passphrase, please create an other one.
61
62
1. Copy/past: ``config.yaml.example`` rename it ``config.yaml``<br>Then customize configurations according to [Yaml config overview](#yaml-config-overview)
62
63
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
64
1. To start install run: ``vagrant up`` (duration: ~20 minutes)
64
-
1. Finally run: ``vagrant ssh`` to access to your guest machine
65
+
1. Finally, run: ``vagrant ssh`` to access guest machine
65
66
66
67
### Yaml config overview
67
68
Parent Node | Name | Default Value | Allowed Value | Is optional | Description
@@ -83,7 +84,7 @@ Parent Node | Name | Default Value | Allowed Value | Is optional | Des
83
84
| magento | url | dev.magento.com | url | no | Magento site host name
84
85
| | source | composer | composer / (master/develop..) | no | Define source installation. On git install set the branch name to clone.
85
86
| | edition | community | community / enterprise | no | Magento project edition
86
-
| | version | 2.4.2 | >=2.2 | no | Magento version release
87
+
| | version | 2.4.4 | >=2.2 | no | Magento version release
87
88
| | php_version | default | default / 7.x | no | PHP version
88
89
| | sample | true | true / false | no | Install sample data
89
90
| | mode | developer | developer / production | no | Magento execution mode
@@ -129,7 +130,7 @@ Those provisions will be executed on pre-defined sequences:
129
130
- To be executed you must remove the string `-example` from the filename script.
130
131
- As an example of use, you can adapt data from your database import by using the script ``100-pre-build.sh``
131
132
132
-
## Usage
133
+
## System usage
133
134
134
135
### Permission
135
136
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 +155,6 @@ Disable cron:
154
155
./bin/magento cron:remove
155
156
```
156
157
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
158
## Configuration
169
159
170
160
### Package & Software
@@ -188,7 +178,7 @@ For version lower than 2.4, you can disable it and fall back to mysql:
188
178
- magento-cloud cli
189
179
- bin/magento bash completion
190
180
191
-
### Credentials
181
+
### Access
192
182
* User bash terminal
193
183
* user: vagrant
194
184
* Back-office
@@ -206,15 +196,33 @@ For version lower than 2.4, you can disable it and fall back to mysql:
206
196
* Phpinfo
207
197
* url: [network_ip]/php
208
198
199
+
### Mysql
200
+
Percona server 8.0 is now installed for Magento >=2.4.0
201
+
202
+
### PHP
203
+
PHP 8.1 is now installed by default for Magento >=2.4.4
204
+
205
+
### Composer
206
+
Composer v2 is now installed by default for Magento >= 2.4.2
207
+
208
+
### Elasticsearch
209
+
Version 7.6.x of Elasticsearch is now available for Magento 2.4.0.<br>
210
+
If your Magento version is lower than 2.4.0 then version 6.x will be installed.<br>
211
+
For version lower than 2.4.0, you can disable it and fall back to mysql search engine:
212
+
```
213
+
./bin/magento config:set catalog/search/engine mysql
214
+
```
215
+
Otherwise, you can also completely disable elasticsearch by installing this module: https://github.com/zepgram/module-disable-search-engine
216
+
209
217
## Issues
210
218
211
219
### Windows 10
212
220
There is a known [issue with composer installation](https://github.com/zepgram/magento2-fast-vm/issues/70) on windows 10.<br>
213
221
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.
222
+
-This is related to the computer and BIOS configuration.
223
+
-This is only reported on "NFS" mount option.
216
224
217
-
To solve this, just try to set mount option to "rsync", then after full installation you should be able to fallback to NFS.
225
+
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
226
219
227
### Others
220
-
-If you have trouble during installation please open a new issue on this repository.
228
+
If you have trouble during installation please open a new issue on this GitHub repository.
0 commit comments