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

Commit

Permalink
MAGEDOC-3262: Remove pre-release topics and links to quick start guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-matthews committed Nov 27, 2018
1 parent 22d7667 commit 8bcef23
Show file tree
Hide file tree
Showing 8 changed files with 117 additions and 230 deletions.
4 changes: 0 additions & 4 deletions guides/v2.3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
<section class="home-features">
<div class="container">

<br/>
<div class="message-banner index">
Looking for access to Magento 2.3 Beta code? See <a href="{{ site.baseurl }}/guides/v2.3/release-notes/2.3.0-quick-start.html">Magento 2.3.0 Beta Quick Start Guide</a> for more information!
</div>
<div class="feature">
<img src="{{ site.baseurl }}/i/icons/install.svg" alt="" />
<h2 class="title">Setup</h2>
Expand Down
1 change: 0 additions & 1 deletion guides/v2.3/install-gde/composer.md

This file was deleted.

117 changes: 117 additions & 0 deletions guides/v2.3/install-gde/composer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
---
group: installation-guide
title: Install Magento using Composer
redirect_from:
- guides/v2.1/install-gde/prereq/integrator_install.html
- guides/v2.1/install-gde/prereq/integrator_install_composer.html
- guides/v2.1/install-gde/prereq/integrator_install_ce.html
- guides/v2.1/install-gde/prereq/integrator_install_ee.html
- guides/v2.2/install-gde/prereq/integrator_install.html
- guides/v2.2/install-gde/prereq/integrator_install_composer.html
- guides/v2.2/install-gde/prereq/integrator_install_ce.html
- guides/v2.2/install-gde/prereq/integrator_install_ee.html
- guides/v2.3/install-gde/prereq/integrator_install.html
- guides/v2.3/install-gde/prereq/integrator_install_composer.html
- guides/v2.3/install-gde/prereq/integrator_install_ce.html
- guides/v2.3/install-gde/prereq/integrator_install_ee.html
- guides/v2.3/release-notes/2.3.0-install.html
- guides/v2.3/release-notes/2.3.0-alpha-install.html
functional_areas:
- Install
- System
- Setup
---

{% include install/composer-overview.md %}

## Prerequisites

Before you continue, you must do the following:

- Set up a server that meets our [system requirements]({{ page.baseurl }}/install-gde/system-requirements2.html)
- Create the [Magento file system owner]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html)
- [Install Composer](https://getcomposer.org/download/){:target="_blank"}
- Obtain [authentication keys]({{page.baseurl}}/install-gde/prereq/connect-auth.html) for the Magento code repository

## Get the metapackage

To get the Magento metapackage:

1. Log in to your Magento server as, or switch to, the [Magento file system owner]({{page.baseurl}}/install-gde/prereq/file-sys-perms-over.html).
1. Change to the web server docroot directory or a directory that you have configured as a virtual host docroot.
1. Create a new Composer project using the {{site.data.var.ce}} or {{site.data.var.ee}} metapackage.

**{{site.data.var.ce}}**
```bash
composer create-project --repository=https://repo.magento.com/ magento/project-community-edition <install-directory-name>
```

**{{site.data.var.ee}}**
```bash
composer create-project --repository=https://repo.magento.com/ magento/project-enterprise-edition <install-directory-name>
```

When prompted, enter your Magento authentication keys. Your _public key_ is your username; your _private key_ is your password.

If you encounter errors, such as `Could not find package...` or `...no matching package found`, make sure there are no typos in your command. If you still encounter errors, you may not be authorized to download {{site.data.var.ee}}. Contact [Magento support](https://magento.com/support) for help.

See [troubleshooting]({{page.baseurl}}/install-gde/trouble/tshoot_composer-fail.html) for help with more errors.

## Set file permissions

You must set read-write permissions for the web server group before you install the Magento software. This is necessary so that the Setup Wizard and command line can write files to the Magento file system.

```terminal
cd /var/www/html/<magento install directory>
find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} +
find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} +
chown -R :www-data . // Ubuntu
chmod u+x bin/magento
```

## Install Magento

There are two options for installing Magento:

- Command line
- Web Setup Wizard

### Command line
{:.no_toc}

This example assumes that the Magento install directory is named `magento2ee`, the `db-host` is on the same machine (`localhost`), and that the `db-name`, `db-user`, and `db-password` are all `magento`:

```bash
bin/magento setup:install \
--base-url=http://localhost/magento2ee \
--db-host=localhost \
--db-name=magento \
--db-user=magento \
--db-password=magento \
--backend-frontname=admin \
--admin-firstname=admin \
--admin-lastname=admin \
--admin-email=admin@admin.com \
--admin-user=admin \
--admin-password=admin123 \
--language=en_US \
--currency=USD \
--timezone=America/Chicago \
--use-rewrites=1
```

{:.bs-callout .bs-callout-tip}
For a full description of the CLI install options, refer to [Install the Magento software from the command line]({{page.baseurl}}/install-gde/install/cli/install-cli-install.html#instgde-install-cli-magento).

### Web Setup Wizard
{:.no_toc}

As an alternative to the CLI, use your browser to navigate to Magento's setup wizard:
```url
http://<Magento-host-or-IP>/<path-to-magento-root>/setup
```
For example: `http://localhost/magento2ee/setup`
{:.bs-callout .bs-callout-warning}
You cannot use the Web Setup Wizard if your docroot is set to the `pub/` directory. See [Modify docroot for security]({{page.baseurl}}/install-gde/tutorials/change-docroot-to-pub.html).
90 changes: 0 additions & 90 deletions guides/v2.3/release-notes/2.3.0-install.md

This file was deleted.

111 changes: 0 additions & 111 deletions guides/v2.3/release-notes/2.3.0-quick-start.md

This file was deleted.

Loading

0 comments on commit 8bcef23

Please sign in to comment.