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
Copy file name to clipboardExpand all lines: guides/v2.2/install-gde/basics/basics_docroot.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ To find the docroot on your server:
53
53
/etc/nginx/nginx.conf (nginx)
54
54
```
55
55
56
-
2. Search the file for `DocumentRoot` or `root`.
56
+
1. Search the file for `DocumentRoot` or `root`.
57
57
58
58
Typically, the default Apache docroot on Ubuntu _and_ CentOS is `/var/www/html` whereas the default nginx docroot on CentOS is `/usr/share/nginx/html`. For example:
Copy file name to clipboardExpand all lines: guides/v2.2/install-gde/install/hosted/hosted_start_db.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,24 +17,24 @@ To configure a MySQL database and database user:
17
17
18
18
{:width="550px"}
19
19
20
-
2. In the **New Database** field, enter a unique name for your database and click **Create Database**.
20
+
1. In the **New Database** field, enter a unique name for your database and click **Create Database**.
21
21
22
22
{:width="550px"
23
23
24
-
3. In the MySQL Users section, enter information in the provided fields and click **Create User**.
24
+
1. In the MySQL Users section, enter information in the provided fields and click **Create User**.
25
25
26
26
{:.bs-callout .bs-callout-info}
27
27
Give the database user a strong password and <em>write down</em> the username and password you choose. You can optionally click **Password Generator** to create a strong password for you.
28
28
29
29
{:width="550px"}
30
30
31
-
4. In the Add User to Database section, click the name of your Magento database and database user from the respective fields and click **Add**.
31
+
1. In the Add User to Database section, click the name of your Magento database and database user from the respective fields and click **Add**.
32
32
33
33
{:width="350px"}
34
34
35
35
The Manage User Privileges page displays.
36
36
37
-
5. Select the **ALL PRIVILEGES** checkbox at the top of the page and click **Make Changes**.
37
+
1. Select the **ALL PRIVILEGES** checkbox at the top of the page and click **Make Changes**.
38
38
39
39
{:width="750px"}
Copy file name to clipboardExpand all lines: guides/v2.2/install-gde/install/prepare-install.md
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ We now use [Composer](http://getcomposer.org) to resolve dependencies before you
14
14
[Composer](https://glossary.magento.com/composer) is a separate application that manages [PHP](https://glossary.magento.com/php) dependencies. Before you can install the Magento software, you must perform the following tasks in the order shown:
15
15
16
16
1.[Install the Composer software]({{ page.baseurl }}/install-gde/prereq/dev_install.html).
17
-
2.[Create the Magento file system owner]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html) so Composer writes files to the web server docroot as the correct user.
18
-
3. Run the [<code>composer install</code> command](#install-composer-install) from your Magento root directory (for example, `/var/www/magento2/`).
17
+
1.[Create the Magento file system owner]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html) so Composer writes files to the web server docroot as the correct user.
18
+
1. Run the [<code>composer install</code> command](#install-composer-install) from your Magento root directory (for example, `/var/www/magento2/`).
19
19
20
20
The Magento root directory is a subdirectory of your web server's docroot. Need help locating the docroot? Click [here]({{ page.baseurl }}/install-gde/basics/basics_docroot.html).
21
21
@@ -32,17 +32,21 @@ For you to be able to run the Magento application, make sure you perform all tas
32
32
Update installation dependencies as follows:
33
33
34
34
1. Log in to your Magento server as the [Magento file system owner](https://glossary.magento.com/magento-file-system-owner) or [switch to that user]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html).
35
-
2. Change to the Magento installation directory and run `composer install`. Examples:
35
+
1. Change to the Magento installation directory and run `composer install`. Examples:
36
36
37
-
CentOS:
37
+
CentOS:
38
38
39
-
cd /var/www/html/magento2 && composer install
39
+
```bash
40
+
cd /var/www/html/magento2 && composer install
41
+
```
40
42
41
-
Ubuntu:
43
+
Ubuntu:
42
44
43
-
cd /var/www/magento2 && composer install
45
+
```bash
46
+
cd /var/www/magento2 && composer install
47
+
```
44
48
45
-
This command updates package dependencies and can take a few minutes to complete.
49
+
This command updates package dependencies and can take a few minutes to complete.
Copy file name to clipboardExpand all lines: guides/v2.2/install-gde/prereq/install-rabbitmq.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,15 @@ Message queues provide an asynchronous communications mechanism in which the sen
22
22
The message queue system must be established before you install Magento. The basic sequence is
23
23
24
24
1. Install RabbitMQ and any prerequisites.
25
-
2. Connect RabbitMQ and Magento.
25
+
1. Connect RabbitMQ and Magento.
26
26
27
27
{:.bs-callout .bs-callout-info}
28
28
A basic message queue system can be implemented on {{site.data.var.ee}} using cron instead of RabbitMQ. See [Configure message queues]({{ page.baseurl }}/config-guide/mq/manage-mysql.html) for more information.
29
29
30
30
## Install RabbitMQ on Ubuntu {#ubuntu-install}
31
31
32
32
To install RabbitMQ on Ubuntu 16 enter the following command:
33
+
33
34
```bash
34
35
sudo apt install -y rabbitmq-server
35
36
```
@@ -39,7 +40,7 @@ This command also installs the required Erlang packages.
39
40
If you have an older version of Ubuntu, RabbitMQ recommends installing the package from their [website](https://glossary.magento.com/website).
Copy file name to clipboardExpand all lines: guides/v2.2/install-gde/prereq/optional.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,33 +68,33 @@ Selecting pool servers is up to you. If you use NTP pool servers, ntp.org recomm
68
68
69
69
1. Open `/etc/ntp.conf` in a text editor.
70
70
71
-
2. Look for lines similar to the following:
71
+
1. Look for lines similar to the following:
72
72
73
73
```conf
74
74
server 0.centos.pool.ntp.org
75
75
server 1.centos.pool.ntp.org
76
76
server 2.centos.pool.ntp.org
77
77
```
78
78
79
-
3. Replace those lines or add additional lines that specify your NTP pool server or other NTP servers. It's a good idea to specify more than one.
79
+
1. Replace those lines or add additional lines that specify your NTP pool server or other NTP servers. It's a good idea to specify more than one.
80
80
81
-
4. An example of using three United States-based NTP servers follows:
81
+
1. An example of using three United States-based NTP servers follows:
82
82
83
83
```conf
84
84
server 0.us.pool.ntp.org
85
85
server 1.us.pool.ntp.org
86
86
server 2.us.pool.ntp.org
87
87
```
88
88
89
-
5. Save your changes to `/etc/ntp.conf` and exit the text editor.
89
+
1. Save your changes to `/etc/ntp.conf` and exit the text editor.
90
90
91
-
4. Restart the service.
91
+
1. Restart the service.
92
92
93
-
* Ubuntu: `service ntp restart`
93
+
*Ubuntu: `service ntp restart`
94
94
95
-
* CentOS: `service ntpd restart`
95
+
*CentOS: `service ntpd restart`
96
96
97
-
4. Enter `date` to check the server's date.
97
+
1. Enter `date` to check the server's date.
98
98
99
99
If the date is incorrect, make sure the NTP client port (typically, UDP 123) is open in your firewall.
100
100
@@ -103,6 +103,7 @@ Selecting pool servers is up to you. If you use NTP pool servers, ntp.org recomm
103
103
If all else fails, try rebooting the server.
104
104
105
105
## Create phpinfo.php {#install-optional-phpinfo}
106
+
106
107
[`phpinfo.php`](http://php.net/manual/en/function.phpinfo.php){:target="_blank"} displays a large amount of information about [PHP](https://glossary.magento.com/php) and its extensions.
107
108
108
109
{:.bs-callout .bs-callout-info}
@@ -154,15 +155,15 @@ To install phpmyadmin on Ubuntu:
154
155
apt-get install phpmyadmin
155
156
```
156
157
157
-
2. Follow the prompts on your screen to complete the installation.
158
+
1. Follow the prompts on your screen to complete the installation.
158
159
159
-
3. To use phpmyadmin, enter the following URL in your browser's address or location field:
160
+
1. To use phpmyadmin, enter the following URL in your browser's address or location field:
160
161
161
162
```http
162
163
http://<web server host or IP>/phpmyadmin
163
164
```
164
165
165
-
4. When prompted, log in using your MySQL database `root` or administrative user's username and password.
166
+
1. When prompted, log in using your MySQL database `root` or administrative user's username and password.
166
167
167
168
## Install phpmyadmin on CentOS {#install-optional-phpmyadmin-centos}
0 commit comments