Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Fixed ordered list prefix (MD029) - Group 5 #5670

Merged
merged 1 commit into from
Oct 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guides/v2.2/install-gde/basics/basics_docroot.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ To find the docroot on your server:
/etc/nginx/nginx.conf (nginx)
```

2. Search the file for `DocumentRoot` or `root`.
1. Search the file for `DocumentRoot` or `root`.

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:

Expand Down
6 changes: 3 additions & 3 deletions guides/v2.2/install-gde/install-quick-ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ If not, see the [Installation overview]({{ page.baseurl }}/install-gde/bk-instal
## Installation part 1: Getting started

1. See the [system requirements]({{ page.baseurl }}/install-gde/system-requirements.html).
2. If your system lacks any requirements, see the prerequisites documentation:
1. If your system lacks any requirements, see the prerequisites documentation:

* [Apache]({{ page.baseurl }}/install-gde/prereq/apache.html)
* [PHP]({{ page.baseurl }}/install-gde/prereq/php-settings.html)
* [MySQL]({{ page.baseurl }}/install-gde/prereq/mysql.html)

3. ust as importantly, set up the [Magento file system owner]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html) on the server.
4. Switch to the [Magento file system owner](https://glossary.magento.com/magento-file-system-owner).
1. ust as importantly, set up the [Magento file system owner]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html) on the server.
1. Switch to the [Magento file system owner](https://glossary.magento.com/magento-file-system-owner).

### Get the Magento software

Expand Down
2 changes: 1 addition & 1 deletion guides/v2.2/install-gde/install/cli/dev_add-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To update components if you're *not* a contributing developer, see [Updating the
You can either add a `require` section to `composer.json` or you can use the `composer require` command as follows:

1. Log in to the Magento server, or switch to, the [Magento file system owner](https://glossary.magento.com/magento-file-system-owner).
2. Change to the directory to which you cloned the Magento application. For example,
1. Change to the directory to which you cloned the Magento application. For example,

```bash
cd /var/www/magento2
Expand Down
8 changes: 4 additions & 4 deletions guides/v2.2/install-gde/install/hosted/hosted_start_db.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ To configure a MySQL database and database user:

![Start out creating a database]({{ site.baseurl }}/common/images/install-merch_conf-db.png){:width="550px"}

2. In the **New Database** field, enter a unique name for your database and click **Create Database**.
1. In the **New Database** field, enter a unique name for your database and click **Create Database**.

![Create a database]({{ site.baseurl }}/common/images/install-merch_create-db.png){:width="550px"

3. In the MySQL Users section, enter information in the provided fields and click **Create User**.
1. In the MySQL Users section, enter information in the provided fields and click **Create User**.

{:.bs-callout .bs-callout-info}
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.

![Create a database user]({{ site.baseurl }}/common/images/install-merch_create-db-user.png){:width="550px"}

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**.
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**.

![Add the user to the database]({{ site.baseurl }}/common/images/install-merch_add-user-to-db.png){:width="350px"}

The Manage User Privileges page displays.

5. Select the **ALL PRIVILEGES** checkbox at the top of the page and click **Make Changes**.
1. Select the **ALL PRIVILEGES** checkbox at the top of the page and click **Make Changes**.

![Give the database user all privileges to the database]({{ site.baseurl }}/common/images/install-merch_db-user-privs.png){:width="750px"}

Expand Down
10 changes: 5 additions & 5 deletions guides/v2.2/install-gde/install/hosted/hosted_start_php.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ functional_areas:
To configure PHP:

1. If necessary, start the cPanel and click **Home** to return to the [home page](https://glossary.magento.com/home-page).
2. In the Software section, click **Select PHP Version**.
1. In the Software section, click **Select PHP Version**.

![Start out configuring PHP]({{ site.baseurl }}/common/images/install-merch_php.png){:width="550px"}

3. From the **PHP Version** list at the top of the page, click either **5.5** or **5.6**.
1. From the **PHP Version** list at the top of the page, click either **5.5** or **5.6**.

4. Click **Set as current**.
1. Click **Set as current**.

The checkboxes following the PHP version are referred to as *PHP extensions*.

4. Select all of the following checkboxes: **gd**, **intl**, **mbstring**, **mcrypt**, **opcache**, **pdo**, **pdo_mysql**, and **xsl**.
1. Select all of the following checkboxes: **gd**, **intl**, **mbstring**, **mcrypt**, **opcache**, **pdo**, **pdo_mysql**, and **xsl**.

You can optionally select other PHP extensions if you want.

![Select PHP extensions]({{ site.baseurl }}/common/images/install-merch_php-ext.png){:width="750px"}

5. Click **Save**.
1. Click **Save**.

{:.ref-header}
Related topics
Expand Down
24 changes: 14 additions & 10 deletions guides/v2.2/install-gde/install/prepare-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ We now use [Composer](http://getcomposer.org) to resolve dependencies before you
[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:

1. [Install the Composer software]({{ page.baseurl }}/install-gde/prereq/dev_install.html).
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.
3. Run the [<code>composer install</code> command](#install-composer-install) from your Magento root directory (for example, `/var/www/magento2/`).
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.
1. Run the [<code>composer install</code> command](#install-composer-install) from your Magento root directory (for example, `/var/www/magento2/`).

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).

Expand All @@ -32,17 +32,21 @@ For you to be able to run the Magento application, make sure you perform all tas
Update installation dependencies as follows:

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).
2. Change to the Magento installation directory and run `composer install`. Examples:
1. Change to the Magento installation directory and run `composer install`. Examples:

CentOS:
CentOS:

cd /var/www/html/magento2 && composer install
```bash
cd /var/www/html/magento2 && composer install
```

Ubuntu:
Ubuntu:

cd /var/www/magento2 && composer install
```bash
cd /var/www/magento2 && composer install
```

This command updates package dependencies and can take a few minutes to complete.
This command updates package dependencies and can take a few minutes to complete.

The following error might display:

Expand All @@ -60,5 +64,5 @@ Related topics

Install the Magento software:

* [Command line]({{ page.baseurl }}/install-gde/install/cli/install-cli.html)
* [Setup Wizard]({{ page.baseurl }}/install-gde/install/web/install-web.html)
* [Command line]({{ page.baseurl }}/install-gde/install/cli/install-cli.html)
* [Setup Wizard]({{ page.baseurl }}/install-gde/install/web/install-web.html)
20 changes: 12 additions & 8 deletions guides/v2.2/install-gde/prereq/install-rabbitmq.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ Message queues provide an asynchronous communications mechanism in which the sen
The message queue system must be established before you install Magento. The basic sequence is

1. Install RabbitMQ and any prerequisites.
2. Connect RabbitMQ and Magento.
1. Connect RabbitMQ and Magento.

{:.bs-callout .bs-callout-info}
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.

## Install RabbitMQ on Ubuntu {#ubuntu-install}

To install RabbitMQ on Ubuntu 16 enter the following command:

```bash
sudo apt install -y rabbitmq-server
```
Expand All @@ -39,7 +40,7 @@ This command also installs the required Erlang packages.
If you have an older version of Ubuntu, RabbitMQ recommends installing the package from their [website](https://glossary.magento.com/website).

1. Download [rabbitmq-server_3.6.6-1_all.deb](https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server_3.6.6-1_all.deb).
2. Install the package with `dpkg`.
1. Install the package with `dpkg`.

Refer to [Installing on Debian/Ubuntu](https://www.rabbitmq.com/install-debian.html) for more information.

Expand All @@ -52,9 +53,11 @@ RabbitMQ was written using the Erlang programming language, which must be instal
See [Manual installation](https://www.erlang-solutions.com/resources/download.html) for more information.

Run the following commands to install this feature.

```bash
wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
```

```bash
rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
```
Expand All @@ -64,11 +67,12 @@ rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
The RabbitMQ server is included on CentOS, but the version is often old. RabbitMQ recommends installing the package from their website.

1. Download [rabbitmq-server-3.5.6-1.noarch.rpm](https://www.rabbitmq.com/releases/rabbitmq-server/v3.5.6/rabbitmq-server-3.5.6-1.noarch.rpm).
2. Run the following commands as a user with root permissions:
1. Run the following commands as a user with root permissions:

```bash
rpm --import https://www.rabbitmq.com/rabbitmq-signing-key-public.asc
```

```bash
yum install rabbitmq-server-3.5.6-1.noarch.rpm
```
Expand All @@ -79,11 +83,11 @@ Refer to [Installing on RPM-based Linux](https://www.rabbitmq.com/install-rpm.ht

Review the official RabbitMQ documentation to configure and manage RabbitMQ. Pay attention to the following items:

* Environment variables
* Port access
* Default user accounts
* Starting and stopping the broker
* System limits
* Environment variables
* Port access
* Default user accounts
* Starting and stopping the broker
* System limits

## Connect RabbitMQ to {{site.data.var.ee}}

Expand Down
23 changes: 12 additions & 11 deletions guides/v2.2/install-gde/prereq/optional.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,33 +68,33 @@ Selecting pool servers is up to you. If you use NTP pool servers, ntp.org recomm

1. Open `/etc/ntp.conf` in a text editor.

2. Look for lines similar to the following:
1. Look for lines similar to the following:

```conf
server 0.centos.pool.ntp.org
server 1.centos.pool.ntp.org
server 2.centos.pool.ntp.org
```

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.
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.

4. An example of using three United States-based NTP servers follows:
1. An example of using three United States-based NTP servers follows:

```conf
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
```

5. Save your changes to `/etc/ntp.conf` and exit the text editor.
1. Save your changes to `/etc/ntp.conf` and exit the text editor.

4. Restart the service.
1. Restart the service.

* Ubuntu: `service ntp restart`
* Ubuntu: `service ntp restart`

* CentOS: `service ntpd restart`
* CentOS: `service ntpd restart`

4. Enter `date` to check the server's date.
1. Enter `date` to check the server's date.

If the date is incorrect, make sure the NTP client port (typically, UDP 123) is open in your firewall.

Expand All @@ -103,6 +103,7 @@ Selecting pool servers is up to you. If you use NTP pool servers, ntp.org recomm
If all else fails, try rebooting the server.

## Create phpinfo.php {#install-optional-phpinfo}

[`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.

{:.bs-callout .bs-callout-info}
Expand Down Expand Up @@ -154,15 +155,15 @@ To install phpmyadmin on Ubuntu:
apt-get install phpmyadmin
```

2. Follow the prompts on your screen to complete the installation.
1. Follow the prompts on your screen to complete the installation.

3. To use phpmyadmin, enter the following URL in your browser's address or location field:
1. To use phpmyadmin, enter the following URL in your browser's address or location field:

```http
http://<web server host or IP>/phpmyadmin
```

4. When prompted, log in using your MySQL database `root` or administrative user's username and password.
1. When prompted, log in using your MySQL database `root` or administrative user's username and password.

## Install phpmyadmin on CentOS {#install-optional-phpmyadmin-centos}

Expand Down
10 changes: 5 additions & 5 deletions guides/v2.2/install-gde/trouble/php/tshoot_70pct.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ Set all of the following as appropriate.
#### All web servers and Varnish

1. Locate your `php.ini` using a [`phpinfo.php`]({{ page.baseurl }}/install-gde/prereq/optional.html#install-optional-phpinfo) file.
2. As a user with `root` privileges, open `php.ini` in a text editor.
3. Locate the `max_execution_time` setting.
4. Change its value to `18000`.
5. Save your changes to `php.ini` and exit the text editor.
6. Restart Apache:
1. As a user with `root` privileges, open `php.ini` in a text editor.
1. Locate the `max_execution_time` setting.
1. Change its value to `18000`.
1. Save your changes to `php.ini` and exit the text editor.
1. Restart Apache:

* CentOS: `service httpd restart`
* Ubuntu: `service apache2 restart`
Expand Down
16 changes: 8 additions & 8 deletions guides/v2.2/install-gde/trouble/php/tshoot_opcache.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@ If you have more than one `opcache.ini`, modify all of them.
#### Step 2: Enable `opcache.save_comments`

1. Open your OPcache configuration file in a text editor.
2. Locate `opcache.save_comments` and uncomment it if necessary.
3. Make sure its value is set to `1`.
4. Save your changes and exit the text editor.
5. Restart your web server:
1. Locate `opcache.save_comments` and uncomment it if necessary.
1. Make sure its value is set to `1`.
1. Save your changes and exit the text editor.
1. Restart your web server:

* Apache, Ubuntu: `service apache2 restart`
* Apache, CentOS: `service httpd restart`
* nginx, Ubuntu and CentOS: `service nginx restart`

6. Regenerate DI configuration and all missing classes that can be auto-generated:
1. Regenerate DI configuration and all missing classes that can be auto-generated:

```bash
bin/magento setup:di:compile`
```
```bash
bin/magento setup:di:compile`
```
4 changes: 2 additions & 2 deletions guides/v2.2/install-gde/trouble/php/tshoot_session.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Typical locations follow:
### Workaround

1. As a user with `root` privileges, open `php.ini` in a text editor.
2. Locate `session.save_handler`
3. Set it in any of the following ways:
1. Locate `session.save_handler`
1. Set it in any of the following ways:

* To comment it out:

Expand Down
Loading