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
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Refer to [Installing on RPM-based Linux](https://www.rabbitmq.com/install-rpm.html){:target="_blank"} for more information.
80
77
@@ -88,9 +85,9 @@ Review the official RabbitMQ documentation to configure and manage RabbitMQ. Pay
88
85
* Starting and stopping the broker
89
86
* System limits
90
87
91
-
## Connect RabbitMQ to {{site.data.var.ce}} or {{site.data.var.ee}}
88
+
## Install Magento with RabbitMQ and connect to {{site.data.var.ce}} or {{site.data.var.ee}}
92
89
93
-
Add the following command line parameters when you install {{site.data.var.ce}} or {{site.data.var.ee}}:
90
+
If you installed Magento after you installed RabbitMQ, add the following command line parameters when you install {{site.data.var.ce}} or {{site.data.var.ee}}:
|`--amqp-virtualhost`|The virtual host for connecting to RabbitMQ. The default is `/`.
106
103
|`--amqp-ssl`|Indicates whether to connect to RabbitMQ. The default is `false`. If you set the value to true, see Configure SSL for more information.|
107
104
105
+
## Connect RabbitMQ to {{site.data.var.ce}} or {{site.data.var.ee}}
106
+
107
+
If you already had Magento installed and you want to connect it to RabbitMQ, add a `queue` section in the `<install_directory>/app/etc/env.php` file so that it is similar to the following:
108
+
109
+
```php
110
+
'queue' =>
111
+
array (
112
+
'amqp' =>
113
+
array (
114
+
'host' =>'rabbitmq.example.com',
115
+
'port' =>'11213',
116
+
'user' =>'magento',
117
+
'password' =>'magento',
118
+
'virtualhost' =>'/'
119
+
),
120
+
),
121
+
```
122
+
123
+
Then, run `bin/magento setup:upgrade` to apply the changes and create the required queues in RabbitMQ.
124
+
108
125
## Configure SSL
109
126
110
127
To configure support forSSL, edit the `ssl` and `ssl_options` parametersin the `<install_directory>/app/etc/env.php` file so that they are similar to the following:
0 commit comments